Package net.minecraft.data.client.model
Class PropertiesMap
java.lang.Object
net.minecraft.data.client.model.PropertiesMap
public final class PropertiesMap extends Object
Represents a set of property to value pairs, used as conditions for model
application.
This object is immutable.
-
Field Summary
Fields Modifier and Type Field Description private static Comparator<Property.Value<?>>COMPARATORprivate static PropertiesMapEMPTYprivate List<Property.Value<?>>values -
Constructor Summary
Constructors Modifier Constructor Description privatePropertiesMap(List<Property.Value<?>> values) -
Method Summary
Modifier and Type Method Description StringasString()PropertiesMapcopyOf(PropertiesMap propertiesMap)static PropertiesMapempty()booleanequals(Object object)inthashCode()StringtoString()PropertiesMapwithValue(Property.Value<?> value)static PropertiesMapwithValues(Property.Value<?>[] values)