Class GeyserJavaBlockState.JavaBlockStateBuilder

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

public static class GeyserJavaBlockState.JavaBlockStateBuilder extends Object implements org.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState.Builder
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState.Builder
    blockHardness(@org.checkerframework.checker.index.qual.NonNegative float blockHardness)
     
    org.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState
     
    org.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState.Builder
    canBreakWithHand(boolean canBreakWithHand)
     
    org.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState.Builder
    collision(@NonNull org.geysermc.geyser.api.block.custom.nonvanilla.JavaBoundingBox[] collision)
     
    org.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState.Builder
    hasBlockEntity(boolean hasBlockEntity)
     
    org.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState.Builder
    identifier(@NonNull String identifier)
     
    org.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState.Builder
    javaId(@org.checkerframework.checker.index.qual.NonNegative int javaId)
     
    org.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState.Builder
    pickItem(@Nullable String pickItem)
     
    org.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState.Builder
    pistonBehavior(@Nullable String pistonBehavior)
     
    org.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState.Builder
    stateGroupId(@org.checkerframework.checker.index.qual.NonNegative int stateGroupId)
     
    org.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState.Builder
    waterlogged(boolean waterlogged)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JavaBlockStateBuilder

      public JavaBlockStateBuilder()
  • Method Details

    • identifier

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

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

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

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

      public org.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState.Builder waterlogged(boolean waterlogged)
      Specified by:
      waterlogged in interface org.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState.Builder
    • collision

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

      public org.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState.Builder canBreakWithHand(boolean canBreakWithHand)
      Specified by:
      canBreakWithHand in interface org.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState.Builder
    • pickItem

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

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

      public org.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState.Builder hasBlockEntity(boolean hasBlockEntity)
      Specified by:
      hasBlockEntity in interface org.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState.Builder
    • build

      public org.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState build()
      Specified by:
      build in interface org.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState.Builder