Package net.minecraft.data
Class FinishedVariantBlockState
java.lang.Object
net.minecraft.data.FinishedVariantBlockState
- All Implemented Interfaces:
Supplier<com.google.gson.JsonElement>
,IFinishedBlockState
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List<BlockModelDefinition>
private final Block
private final List<BlockStateVariantBuilder>
-
Constructor Summary
ModifierConstructorDescriptionprivate
FinishedVariantBlockState
(Block p_i232529_1_, List<BlockModelDefinition> p_i232529_2_) -
Method Summary
Modifier and TypeMethodDescriptioncom.google.gson.JsonElement
get()
getBlock()
private static List<BlockModelDefinition>
mergeVariants
(List<BlockModelDefinition> p_240127_0_, List<BlockModelDefinition> p_240127_1_) static FinishedVariantBlockState
multiVariant
(Block p_240119_0_) static FinishedVariantBlockState
multiVariant
(Block p_240120_0_, BlockModelDefinition p_240120_1_) static FinishedVariantBlockState
multiVariant
(Block p_240121_0_, BlockModelDefinition... p_240121_1_) with
(BlockStateVariantBuilder p_240125_1_)
-
Field Details
-
block
-
baseVariants
-
seenProperties
-
declaredPropertySets
-
-
Constructor Details
-
FinishedVariantBlockState
-
-
Method Details
-
with
-
get
public com.google.gson.JsonElement get() -
mergeVariants
private static List<BlockModelDefinition> mergeVariants(List<BlockModelDefinition> p_240127_0_, List<BlockModelDefinition> p_240127_1_) -
getBlock
- Specified by:
getBlock
in interfaceIFinishedBlockState
-
multiVariant
-
multiVariant
public static FinishedVariantBlockState multiVariant(Block p_240120_0_, BlockModelDefinition p_240120_1_) -
multiVariant
public static FinishedVariantBlockState multiVariant(Block p_240121_0_, BlockModelDefinition... p_240121_1_)
-