Package org.geysermc.geyser.level.block
Class GeyserNonVanillaCustomBlockData.NonVanillaCustomBlockDataBuilder
java.lang.Object
org.geysermc.geyser.level.block.GeyserCustomBlockData.CustomBlockDataBuilder
org.geysermc.geyser.level.block.GeyserNonVanillaCustomBlockData.NonVanillaCustomBlockDataBuilder
- 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.NonVanillaCustomBlockDataBuilder
extends GeyserCustomBlockData.CustomBlockDataBuilder
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
-
NonVanillaCustomBlockDataBuilder
public NonVanillaCustomBlockDataBuilder()
-
-
Method Details
-
namespace
public GeyserNonVanillaCustomBlockData.NonVanillaCustomBlockDataBuilder namespace(@NonNull String 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.CustomBlockDataBuilder
-
includedInCreativeInventory
public GeyserNonVanillaCustomBlockData.NonVanillaCustomBlockDataBuilder 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.CustomBlockDataBuilder
-
creativeCategory
public GeyserNonVanillaCustomBlockData.NonVanillaCustomBlockDataBuilder 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.CustomBlockDataBuilder
-
creativeGroup
public GeyserNonVanillaCustomBlockData.NonVanillaCustomBlockDataBuilder creativeGroup(@Nullable String 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.CustomBlockDataBuilder
-
components
public GeyserNonVanillaCustomBlockData.NonVanillaCustomBlockDataBuilder 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.CustomBlockDataBuilder
-
booleanProperty
public GeyserNonVanillaCustomBlockData.NonVanillaCustomBlockDataBuilder booleanProperty(@NonNull String propertyName)- 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.CustomBlockDataBuilder
-
intProperty
public GeyserNonVanillaCustomBlockData.NonVanillaCustomBlockDataBuilder 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.CustomBlockDataBuilder
-
stringProperty
public GeyserNonVanillaCustomBlockData.NonVanillaCustomBlockDataBuilder 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.CustomBlockDataBuilder
-
permutations
public GeyserNonVanillaCustomBlockData.NonVanillaCustomBlockDataBuilder 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.CustomBlockDataBuilder
-
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.CustomBlockDataBuilder
-