net.minecraft.data.models.blockstates

public class Variant

implements Supplier<com.google.gson.JsonElement>

jq
net.minecraft.data.models.blockstates.Variant
net.minecraft.class_4935
net.minecraft.data.client.BlockStateVariant
net.minecraft.src.C_4814_

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public <T> Variant
a(js<T> arg0, T arg1)
with(VariantProperty<T> arg0, T arg1)
method_25828(class_4938<T> arg0, T arg1)
put(VariantSetting<T> key, T value)
m_125511_(C_4817_<T> p_125513_, T arg1)
public static Variant
a()
variant()
method_25824()
create()
m_125501_()
public static Variant
a(jq arg0, jq arg1)
merge(Variant arg0, Variant arg1)
method_25827(class_4935 arg0, class_4935 arg1)
union(BlockStateVariant first, BlockStateVariant second)
m_125508_(C_4814_ p_125509_, C_4814_ p_125510_)
public com.google.gson.JsonElement
b()
get()
method_25830()
get()
get()
public static com.google.gson.JsonElement
a(List<jq> arg0)
convertList(List<Variant> arg0)
method_25829(List<class_4935> arg0)
toJson(List<BlockStateVariant> variants)
m_125514_(List<C_4814_> p_125515_)