Class GeyserJavaBlockState

java.lang.Object
org.geysermc.geyser.level.block.GeyserJavaBlockState
All Implemented Interfaces:
org.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState

public class GeyserJavaBlockState extends Object implements org.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState
  • Method Details

    • identifier

      public @NonNull String identifier()
      Specified by:
      identifier in interface org.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState
    • javaId

      public @org.checkerframework.checker.index.qual.NonNegative int javaId()
      Specified by:
      javaId in interface org.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState
    • stateGroupId

      public @org.checkerframework.checker.index.qual.NonNegative int stateGroupId()
      Specified by:
      stateGroupId in interface org.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState
    • blockHardness

      public @org.checkerframework.checker.index.qual.NonNegative float blockHardness()
      Specified by:
      blockHardness in interface org.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState
    • waterlogged

      public @org.checkerframework.checker.nullness.qual.NonNull boolean waterlogged()
      Specified by:
      waterlogged in interface org.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState
    • collision

      public @NonNull org.geysermc.geyser.api.block.custom.nonvanilla.JavaBoundingBox[] collision()
      Specified by:
      collision in interface org.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState
    • canBreakWithHand

      public @org.checkerframework.checker.nullness.qual.NonNull boolean canBreakWithHand()
      Specified by:
      canBreakWithHand in interface org.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState
    • pickItem

      public @Nullable String pickItem()
      Specified by:
      pickItem in interface org.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState
    • pistonBehavior

      public @Nullable String pistonBehavior()
      Specified by:
      pistonBehavior in interface org.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState
    • hasBlockEntity

      public @org.checkerframework.checker.nullness.qual.Nullable boolean hasBlockEntity()
      Specified by:
      hasBlockEntity in interface org.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState