Class GeyserCustomBlockState.CustomBlockStateBuilder

java.lang.Object
org.geysermc.geyser.level.block.GeyserCustomBlockState.CustomBlockStateBuilder
All Implemented Interfaces:
org.geysermc.geyser.api.block.custom.CustomBlockState.Builder
Enclosing class:
GeyserCustomBlockState

public static class GeyserCustomBlockState.CustomBlockStateBuilder extends Object implements org.geysermc.geyser.api.block.custom.CustomBlockState.Builder
  • Constructor Details

    • CustomBlockStateBuilder

      public CustomBlockStateBuilder(org.geysermc.geyser.api.block.custom.CustomBlockData blockData)
  • Method Details

    • booleanProperty

      public org.geysermc.geyser.api.block.custom.CustomBlockState.Builder booleanProperty(@NonNull String propertyName, boolean value)
      Specified by:
      booleanProperty in interface org.geysermc.geyser.api.block.custom.CustomBlockState.Builder
    • intProperty

      public org.geysermc.geyser.api.block.custom.CustomBlockState.Builder intProperty(@NonNull String propertyName, int value)
      Specified by:
      intProperty in interface org.geysermc.geyser.api.block.custom.CustomBlockState.Builder
    • stringProperty

      public org.geysermc.geyser.api.block.custom.CustomBlockState.Builder stringProperty(@NonNull String propertyName, @NonNull String value)
      Specified by:
      stringProperty in interface org.geysermc.geyser.api.block.custom.CustomBlockState.Builder
    • build

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