net.minecraft.data.models.blockstates

public class Variant

implements Supplier<com.google.gson.JsonElement>

ir
net.minecraft.data.models.blockstates.Variant
net.minecraft.class_4935
net.minecraft.data.client.model.BlockStateVariant
net.minecraft.data.BlockModelDefinition

Field summary

Modifier and TypeField
private final Map<VariantProperty<?>, VariantProperty<?>.Value>
a
values
field_22884
properties
field_240193_a_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public <T> Variant
a(it<T> arg0, T arg1)
with(VariantProperty<T> arg0, T arg1)
method_25828(class_4938<T> arg0, T arg1)
put(VariantSetting<T> key, T value)
func_240198_a_(BlockModeInfo<T> arg0, T arg1)
public static Variant
a()
variant()
method_25824()
create()
func_240194_a_()
public static Variant
a(ir arg0, ir arg1)
merge(Variant arg0, Variant arg1)
method_25827(class_4935 arg0, class_4935 arg1)
union(BlockStateVariant first, BlockStateVariant second)
func_240197_a_(BlockModelDefinition arg0, BlockModelDefinition arg1)
public com.google.gson.JsonElement
b()
get()
method_25830()
get()
get()
public static com.google.gson.JsonElement
a(List<ir> arg0)
convertList(List<Variant> arg0)
method_25829(List<class_4935> arg0)
toJson(List<BlockStateVariant> variants)
func_240199_a_(List<BlockModelDefinition> arg0)