Uses of Enum Class
net.minecraft.data.family.BlockFamily.Variant
Package
Description
-
Uses of BlockFamily.Variant in net.minecraft.data.client
Modifier and TypeFieldDescription(package private) static final Map
<BlockFamily.Variant, BiConsumer<BlockStateModelGenerator.BlockTexturePool, Block>> BlockStateModelGenerator.VARIANT_POOL_FUNCTIONS
-
Uses of BlockFamily.Variant in net.minecraft.data.family
Modifier and TypeFieldDescription(package private) final Map
<BlockFamily.Variant, Block> BlockFamily.variants
Modifier and TypeMethodDescriptionstatic BlockFamily.Variant
Returns the enum constant of this class with the specified name.static BlockFamily.Variant[]
BlockFamily.Variant.values()
Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of BlockFamily.Variant in net.minecraft.data.server.recipe
Modifier and TypeFieldDescriptionprivate static final Map
<BlockFamily.Variant, BiFunction<ItemConvertible, ItemConvertible, CraftingRecipeJsonBuilder>> RecipeProvider.VARIANT_FACTORIES
Modifier and TypeMethodDescriptionprivate static Block
RecipeProvider.getVariantRecipeInput
(BlockFamily family, BlockFamily.Variant variant) Gets the block used to craft a certain variant of a base block.