Package net.minecraft.data
Class VariantPropertyBuilder
- java.lang.Object
-
- net.minecraft.data.VariantPropertyBuilder
-
public final class VariantPropertyBuilder extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.Comparator<Property.ValuePair<?>>
COMPARE_BY_NAME
private static VariantPropertyBuilder
EMPTY
private java.util.List<Property.ValuePair<?>>
values
-
Constructor Summary
Constructors Modifier Constructor Description private
VariantPropertyBuilder(java.util.List<Property.ValuePair<?>> p_i232541_1_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VariantPropertyBuilder
empty()
boolean
equals(java.lang.Object p_equals_1_)
VariantPropertyBuilder
extend(VariantPropertyBuilder p_240189_1_)
VariantPropertyBuilder
extend(Property.ValuePair<?> p_240188_1_)
java.lang.String
getKey()
int
hashCode()
static VariantPropertyBuilder
of(Property.ValuePair<?>... p_240190_0_)
java.lang.String
toString()
-
-
-
Field Detail
-
EMPTY
private static final VariantPropertyBuilder EMPTY
-
COMPARE_BY_NAME
private static final java.util.Comparator<Property.ValuePair<?>> COMPARE_BY_NAME
-
values
private final java.util.List<Property.ValuePair<?>> values
-
-
Constructor Detail
-
VariantPropertyBuilder
private VariantPropertyBuilder(java.util.List<Property.ValuePair<?>> p_i232541_1_)
-
-
Method Detail
-
extend
public VariantPropertyBuilder extend(Property.ValuePair<?> p_240188_1_)
-
extend
public VariantPropertyBuilder extend(VariantPropertyBuilder p_240189_1_)
-
empty
public static VariantPropertyBuilder empty()
-
of
public static VariantPropertyBuilder of(Property.ValuePair<?>... p_240190_0_)
-
equals
public boolean equals(java.lang.Object p_equals_1_)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
getKey
public java.lang.String getKey()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-