Package org.geysermc.geyser.level.block
Class GeyserCustomBlockData
java.lang.Object
org.geysermc.geyser.level.block.GeyserCustomBlockData
- All Implemented Interfaces:
org.geysermc.geyser.api.block.custom.CustomBlockData
- Direct Known Subclasses:
GeyserNonVanillaCustomBlockData
public class GeyserCustomBlockData
extends Object
implements org.geysermc.geyser.api.block.custom.CustomBlockData
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.geysermc.geyser.api.block.custom.CustomBlockData
org.geysermc.geyser.api.block.custom.CustomBlockData.Builder -
Constructor Summary
ConstructorsConstructorDescriptionGeyserCustomBlockData(String name, boolean includedInCreativeInventory, org.geysermc.geyser.api.util.CreativeCategory creativeCategory, String creativeGroup, org.geysermc.geyser.api.block.custom.component.CustomBlockComponents components, Map<String,org.geysermc.geyser.api.block.custom.property.CustomBlockProperty<?>> properties, List<org.geysermc.geyser.api.block.custom.CustomBlockPermutation> permutations, Map<String,Object> defaultProperties) -
Method Summary
Modifier and TypeMethodDescription@NotNull org.geysermc.geyser.api.block.custom.CustomBlockState.Builderorg.geysermc.geyser.api.block.custom.component.CustomBlockComponentsorg.geysermc.geyser.api.util.CreativeCategory@NonNull org.geysermc.geyser.api.block.custom.CustomBlockState@NonNull Stringboolean@NonNull Stringname()@NonNull List<org.geysermc.geyser.api.block.custom.CustomBlockPermutation>
-
Constructor Details
-
GeyserCustomBlockData
public GeyserCustomBlockData(String name, boolean includedInCreativeInventory, org.geysermc.geyser.api.util.CreativeCategory creativeCategory, String creativeGroup, org.geysermc.geyser.api.block.custom.component.CustomBlockComponents components, Map<String,org.geysermc.geyser.api.block.custom.property.CustomBlockProperty<?>> properties, List<org.geysermc.geyser.api.block.custom.CustomBlockPermutation> permutations, Map<String,Object> defaultProperties)
-
-
Method Details
-
name
- Specified by:
namein interfaceorg.geysermc.geyser.api.block.custom.CustomBlockData
-
identifier
- Specified by:
identifierin interfaceorg.geysermc.geyser.api.block.custom.CustomBlockData
-
includedInCreativeInventory
public boolean includedInCreativeInventory()- Specified by:
includedInCreativeInventoryin interfaceorg.geysermc.geyser.api.block.custom.CustomBlockData
-
creativeCategory
@Nullable public org.geysermc.geyser.api.util.CreativeCategory creativeCategory()- Specified by:
creativeCategoryin interfaceorg.geysermc.geyser.api.block.custom.CustomBlockData
-
creativeGroup
- Specified by:
creativeGroupin interfaceorg.geysermc.geyser.api.block.custom.CustomBlockData
-
components
public org.geysermc.geyser.api.block.custom.component.CustomBlockComponents components()- Specified by:
componentsin interfaceorg.geysermc.geyser.api.block.custom.CustomBlockData
-
properties
public @NonNull Map<String,org.geysermc.geyser.api.block.custom.property.CustomBlockProperty<?>> properties()- Specified by:
propertiesin interfaceorg.geysermc.geyser.api.block.custom.CustomBlockData
-
permutations
- Specified by:
permutationsin interfaceorg.geysermc.geyser.api.block.custom.CustomBlockData
-
defaultBlockState
public @NonNull org.geysermc.geyser.api.block.custom.CustomBlockState defaultBlockState()- Specified by:
defaultBlockStatein interfaceorg.geysermc.geyser.api.block.custom.CustomBlockData
-
blockStateBuilder
public @NotNull org.geysermc.geyser.api.block.custom.CustomBlockState.Builder blockStateBuilder()- Specified by:
blockStateBuilderin interfaceorg.geysermc.geyser.api.block.custom.CustomBlockData
-