Class MultiVariantGenerator
java.lang.Object
net.minecraft.data.models.blockstates.MultiVariantGenerator
- All Implemented Interfaces:
Supplier<com.google.gson.JsonElement>
,BlockStateGenerator
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprivate
MultiVariantGenerator(Block p_125251_, List<Variant> p_125252_)
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.gson.JsonElement
get()
getBlock()
mergeVariants(List<Variant> p_125278_, List<Variant> p_125279_)
static MultiVariantGenerator
multiVariant(Block p_125255_)
static MultiVariantGenerator
multiVariant(Block p_125257_, Variant p_125258_)
static MultiVariantGenerator
multiVariant(Block p_125260_, Variant... p_125261_)
with(PropertyDispatch p_125272_)
-
Field Details
-
block
-
baseVariants
-
seenProperties
-
declaredPropertySets
-
-
Constructor Details
-
MultiVariantGenerator
-
-
Method Details
-
with
-
get
public com.google.gson.JsonElement get() -
mergeVariants
-
getBlock
- Specified by:
getBlock
in interfaceBlockStateGenerator
-
multiVariant
-
multiVariant
-
multiVariant
-