Package org.geysermc.geyser.level.block
Class GeyserNonVanillaCustomBlockData.Builder
java.lang.Object
org.geysermc.geyser.level.block.GeyserCustomBlockData.Builder
org.geysermc.geyser.level.block.GeyserNonVanillaCustomBlockData.Builder
- All Implemented Interfaces:
org.geysermc.geyser.api.block.custom.CustomBlockData.Builder,org.geysermc.geyser.api.block.custom.NonVanillaCustomBlockData.Builder
- Enclosing class:
- GeyserNonVanillaCustomBlockData
public static class GeyserNonVanillaCustomBlockData.Builder
extends GeyserCustomBlockData.Builder
implements org.geysermc.geyser.api.block.custom.NonVanillaCustomBlockData.Builder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanProperty(@NonNull String propertyName) org.geysermc.geyser.api.block.custom.NonVanillaCustomBlockDatabuild()components(@NonNull org.geysermc.geyser.api.block.custom.component.CustomBlockComponents components) creativeCategory(@Nullable org.geysermc.geyser.api.util.CreativeCategory creativeCategories) creativeGroup(@Nullable String creativeGroup) includedInCreativeInventory(boolean includedInCreativeInventory) intProperty(@NonNull String propertyName, List<Integer> values) permutations(@NonNull List<org.geysermc.geyser.api.block.custom.CustomBlockPermutation> permutations) stringProperty(@NonNull String propertyName, List<String> values)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
namespace
- Specified by:
namespacein interfaceorg.geysermc.geyser.api.block.custom.NonVanillaCustomBlockData.Builder
-
name
- Specified by:
namein interfaceorg.geysermc.geyser.api.block.custom.CustomBlockData.Builder- Specified by:
namein interfaceorg.geysermc.geyser.api.block.custom.NonVanillaCustomBlockData.Builder- Overrides:
namein classGeyserCustomBlockData.Builder
-
includedInCreativeInventory
public GeyserNonVanillaCustomBlockData.Builder includedInCreativeInventory(boolean includedInCreativeInventory) - Specified by:
includedInCreativeInventoryin interfaceorg.geysermc.geyser.api.block.custom.CustomBlockData.Builder- Specified by:
includedInCreativeInventoryin interfaceorg.geysermc.geyser.api.block.custom.NonVanillaCustomBlockData.Builder- Overrides:
includedInCreativeInventoryin classGeyserCustomBlockData.Builder
-
creativeCategory
public GeyserNonVanillaCustomBlockData.Builder creativeCategory(@Nullable org.geysermc.geyser.api.util.CreativeCategory creativeCategories) - Specified by:
creativeCategoryin interfaceorg.geysermc.geyser.api.block.custom.CustomBlockData.Builder- Specified by:
creativeCategoryin interfaceorg.geysermc.geyser.api.block.custom.NonVanillaCustomBlockData.Builder- Overrides:
creativeCategoryin classGeyserCustomBlockData.Builder
-
creativeGroup
- Specified by:
creativeGroupin interfaceorg.geysermc.geyser.api.block.custom.CustomBlockData.Builder- Specified by:
creativeGroupin interfaceorg.geysermc.geyser.api.block.custom.NonVanillaCustomBlockData.Builder- Overrides:
creativeGroupin classGeyserCustomBlockData.Builder
-
components
public GeyserNonVanillaCustomBlockData.Builder components(@NonNull org.geysermc.geyser.api.block.custom.component.CustomBlockComponents components) - Specified by:
componentsin interfaceorg.geysermc.geyser.api.block.custom.CustomBlockData.Builder- Specified by:
componentsin interfaceorg.geysermc.geyser.api.block.custom.NonVanillaCustomBlockData.Builder- Overrides:
componentsin classGeyserCustomBlockData.Builder
-
booleanProperty
- Specified by:
booleanPropertyin interfaceorg.geysermc.geyser.api.block.custom.CustomBlockData.Builder- Specified by:
booleanPropertyin interfaceorg.geysermc.geyser.api.block.custom.NonVanillaCustomBlockData.Builder- Overrides:
booleanPropertyin classGeyserCustomBlockData.Builder
-
intProperty
public GeyserNonVanillaCustomBlockData.Builder intProperty(@NonNull String propertyName, List<Integer> values) - Specified by:
intPropertyin interfaceorg.geysermc.geyser.api.block.custom.CustomBlockData.Builder- Specified by:
intPropertyin interfaceorg.geysermc.geyser.api.block.custom.NonVanillaCustomBlockData.Builder- Overrides:
intPropertyin classGeyserCustomBlockData.Builder
-
stringProperty
public GeyserNonVanillaCustomBlockData.Builder stringProperty(@NonNull String propertyName, List<String> values) - Specified by:
stringPropertyin interfaceorg.geysermc.geyser.api.block.custom.CustomBlockData.Builder- Specified by:
stringPropertyin interfaceorg.geysermc.geyser.api.block.custom.NonVanillaCustomBlockData.Builder- Overrides:
stringPropertyin classGeyserCustomBlockData.Builder
-
permutations
public GeyserNonVanillaCustomBlockData.Builder permutations(@NonNull List<org.geysermc.geyser.api.block.custom.CustomBlockPermutation> permutations) - Specified by:
permutationsin interfaceorg.geysermc.geyser.api.block.custom.CustomBlockData.Builder- Specified by:
permutationsin interfaceorg.geysermc.geyser.api.block.custom.NonVanillaCustomBlockData.Builder- Overrides:
permutationsin classGeyserCustomBlockData.Builder
-
build
public org.geysermc.geyser.api.block.custom.NonVanillaCustomBlockData build()- Specified by:
buildin interfaceorg.geysermc.geyser.api.block.custom.CustomBlockData.Builder- Specified by:
buildin interfaceorg.geysermc.geyser.api.block.custom.NonVanillaCustomBlockData.Builder- Overrides:
buildin classGeyserCustomBlockData.Builder
-