Package org.geysermc.geyser.level.block
Class GeyserCustomBlockState.Builder
java.lang.Object
org.geysermc.geyser.level.block.GeyserCustomBlockState.Builder
- All Implemented Interfaces:
org.geysermc.geyser.api.block.custom.CustomBlockState.Builder
- Enclosing class:
GeyserCustomBlockState
public static class GeyserCustomBlockState.Builder
extends Object
implements org.geysermc.geyser.api.block.custom.CustomBlockState.Builder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanProperty(@NonNull String propertyName, boolean value) org.geysermc.geyser.api.block.custom.CustomBlockStatebuild()intProperty(@NonNull String propertyName, int value) stringProperty(@NonNull String propertyName, @NonNull String value)
-
Constructor Details
-
Builder
public Builder(org.geysermc.geyser.api.block.custom.CustomBlockData blockData)
-
-
Method Details
-
booleanProperty
- Specified by:
booleanPropertyin interfaceorg.geysermc.geyser.api.block.custom.CustomBlockState.Builder
-
intProperty
- Specified by:
intPropertyin interfaceorg.geysermc.geyser.api.block.custom.CustomBlockState.Builder
-
stringProperty
public GeyserCustomBlockState.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
-