Package org.geysermc.geyser.level.block
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
ConstructorsConstructorDescriptionCustomBlockStateBuilder(org.geysermc.geyser.api.block.custom.CustomBlockData blockData) -
Method Summary
Modifier and TypeMethodDescriptionorg.geysermc.geyser.api.block.custom.CustomBlockState.BuilderbooleanProperty(@NonNull String propertyName, boolean value)org.geysermc.geyser.api.block.custom.CustomBlockStatebuild()org.geysermc.geyser.api.block.custom.CustomBlockState.BuilderintProperty(@NonNull String propertyName, int value)org.geysermc.geyser.api.block.custom.CustomBlockState.BuilderstringProperty(@NonNull String propertyName, @NonNull String value)
-
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:
booleanPropertyin interfaceorg.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:
intPropertyin interfaceorg.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:
stringPropertyin interfaceorg.geysermc.geyser.api.block.custom.CustomBlockState.Builder
-
build
public org.geysermc.geyser.api.block.custom.CustomBlockState build()- Specified by:
buildin interfaceorg.geysermc.geyser.api.block.custom.CustomBlockState.Builder
-