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 Summary

    Constructors
    Constructor
    Description
    CustomBlockStateBuilder​(org.geysermc.geyser.api.block.custom.CustomBlockData blockData)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.geysermc.geyser.api.block.custom.CustomBlockState.Builder
    booleanProperty​(@NonNull String propertyName, boolean value)
     
    org.geysermc.geyser.api.block.custom.CustomBlockState
     
    org.geysermc.geyser.api.block.custom.CustomBlockState.Builder
    intProperty​(@NonNull String propertyName, int value)
     
    org.geysermc.geyser.api.block.custom.CustomBlockState.Builder
    stringProperty​(@NonNull String propertyName, @NonNull String value)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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