Package org.geysermc.geyser.level.block
Class GeyserCustomBlockData.CustomBlockDataBuilder
java.lang.Object
org.geysermc.geyser.level.block.GeyserCustomBlockData.CustomBlockDataBuilder
- All Implemented Interfaces:
org.geysermc.geyser.api.block.custom.CustomBlockData.Builder
- Direct Known Subclasses:
GeyserNonVanillaCustomBlockData.NonVanillaCustomBlockDataBuilder
- Enclosing class:
- GeyserCustomBlockData
public static class GeyserCustomBlockData.CustomBlockDataBuilder
extends Object
implements org.geysermc.geyser.api.block.custom.CustomBlockData.Builder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.geysermc.geyser.api.block.custom.CustomBlockData.BuilderbooleanProperty(@NonNull String propertyName)org.geysermc.geyser.api.block.custom.CustomBlockDatabuild()org.geysermc.geyser.api.block.custom.CustomBlockData.Buildercomponents(@NonNull org.geysermc.geyser.api.block.custom.component.CustomBlockComponents components)org.geysermc.geyser.api.block.custom.CustomBlockData.BuildercreativeCategory(org.geysermc.geyser.api.util.CreativeCategory creativeCategory)org.geysermc.geyser.api.block.custom.CustomBlockData.BuildercreativeGroup(String creativeGroup)org.geysermc.geyser.api.block.custom.CustomBlockData.BuilderincludedInCreativeInventory(boolean includedInCreativeInventory)org.geysermc.geyser.api.block.custom.CustomBlockData.BuilderintProperty(@NonNull String propertyName, List<Integer> values)org.geysermc.geyser.api.block.custom.CustomBlockData.Builderorg.geysermc.geyser.api.block.custom.CustomBlockData.Builderpermutations(@NonNull List<org.geysermc.geyser.api.block.custom.CustomBlockPermutation> permutations)org.geysermc.geyser.api.block.custom.CustomBlockData.BuilderstringProperty(@NonNull String propertyName, List<String> values)
-
Constructor Details
-
CustomBlockDataBuilder
public CustomBlockDataBuilder()
-
-
Method Details
-
name
- Specified by:
namein interfaceorg.geysermc.geyser.api.block.custom.CustomBlockData.Builder
-
includedInCreativeInventory
public org.geysermc.geyser.api.block.custom.CustomBlockData.Builder includedInCreativeInventory(boolean includedInCreativeInventory)- Specified by:
includedInCreativeInventoryin interfaceorg.geysermc.geyser.api.block.custom.CustomBlockData.Builder
-
creativeCategory
public org.geysermc.geyser.api.block.custom.CustomBlockData.Builder creativeCategory(@Nullable org.geysermc.geyser.api.util.CreativeCategory creativeCategory)- Specified by:
creativeCategoryin interfaceorg.geysermc.geyser.api.block.custom.CustomBlockData.Builder
-
creativeGroup
public org.geysermc.geyser.api.block.custom.CustomBlockData.Builder creativeGroup(@Nullable String creativeGroup)- Specified by:
creativeGroupin interfaceorg.geysermc.geyser.api.block.custom.CustomBlockData.Builder
-
components
public org.geysermc.geyser.api.block.custom.CustomBlockData.Builder components(@NonNull org.geysermc.geyser.api.block.custom.component.CustomBlockComponents components)- Specified by:
componentsin interfaceorg.geysermc.geyser.api.block.custom.CustomBlockData.Builder
-
booleanProperty
public org.geysermc.geyser.api.block.custom.CustomBlockData.Builder booleanProperty(@NonNull String propertyName)- Specified by:
booleanPropertyin interfaceorg.geysermc.geyser.api.block.custom.CustomBlockData.Builder
-
intProperty
public org.geysermc.geyser.api.block.custom.CustomBlockData.Builder intProperty(@NonNull String propertyName, List<Integer> values)- Specified by:
intPropertyin interfaceorg.geysermc.geyser.api.block.custom.CustomBlockData.Builder
-
stringProperty
public org.geysermc.geyser.api.block.custom.CustomBlockData.Builder stringProperty(@NonNull String propertyName, List<String> values)- Specified by:
stringPropertyin interfaceorg.geysermc.geyser.api.block.custom.CustomBlockData.Builder
-
permutations
public org.geysermc.geyser.api.block.custom.CustomBlockData.Builder permutations(@NonNull List<org.geysermc.geyser.api.block.custom.CustomBlockPermutation> permutations)- Specified by:
permutationsin interfaceorg.geysermc.geyser.api.block.custom.CustomBlockData.Builder
-
build
public org.geysermc.geyser.api.block.custom.CustomBlockData build()- Specified by:
buildin interfaceorg.geysermc.geyser.api.block.custom.CustomBlockData.Builder
-