net.minecraft.data.models.blockstates

public class MultiVariantGenerator

implements BlockStateGenerator

ky
net.minecraft.data.models.blockstates.MultiVariantGenerator
net.minecraft.class_4925
net.minecraft.data.client.VariantsBlockStateSupplier
net.minecraft.src.C_4804_

Field summary

Modifier and TypeField
private final Block
a
block
field_22859
block
f_125246_
private final List<Variant>
b
baseVariants
field_22860
variants
f_125247_
private final Set<Property<?>>
c
seenProperties
field_22861
definedProperties
f_125248_
private final List<PropertyDispatch>
d
declaredPropertySets
field_22862
variantMaps
f_125249_

Constructor summary

ModifierConstructor
private (Block block, List<Variant> variants)

Method summary

Modifier and TypeMethod
public MultiVariantGenerator
a(kz arg0)
with(PropertyDispatch arg0)
method_25775(class_4926 arg0)
coordinate(BlockStateVariantMap map)
m_125271_(C_4805_ arg0)
public com.google.gson.JsonElement
b()
get()
method_25780()
get()
get()
private static List<Variant>
a(List<lb> arg0, List<lb> arg1)
mergeVariants(List<Variant> arg0, List<Variant> arg1)
method_25777(List<class_4935> arg0, List<class_4935> arg1)
intersect(List<BlockStateVariant> left, List<BlockStateVariant> right)
m_125277_(List<C_4814_> p_125278_, List<C_4814_> p_125279_)
public Block
a()
getBlock()
method_25743()
getBlock()
m_6968_()
public static MultiVariantGenerator
a(csv arg0)
multiVariant(Block arg0)
method_25769(class_2248 arg0)
create(Block block)
m_125254_(C_1706_ p_125255_)
public static MultiVariantGenerator
a(csv arg0, lb arg1)
multiVariant(Block arg0, Variant arg1)
method_25770(class_2248 arg0, class_4935 arg1)
create(Block block, BlockStateVariant variant)
m_125256_(C_1706_ p_125257_, C_4814_ p_125258_)
public static MultiVariantGenerator
a(csv arg0, lb... arg1)
multiVariant(Block arg0, Variant... arg1)
method_25771(class_2248 arg0, class_4935... arg1)
create(Block block, BlockStateVariant... variants)
m_125259_(C_1706_ p_125260_, C_4814_... p_125261_)