net.minecraft.data.models.blockstates

public class Variant

implements Supplier<com.google.gson.JsonElement>

ol
net.minecraft.data.models.blockstates.Variant
net.minecraft.class_4935
net.minecraft.data.client.BlockStateVariant

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

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