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.
- Mappings:
Namespace Name official ix
intermediary net/minecraft/class_4934
named net/minecraft/data/client/model/PropertiesMap
-
Field Summary
Fields Modifier and Type Field Description private static Comparator<Property.Value<?>>
COMPARATOR
private static PropertiesMap
EMPTY
private List<Property.Value<?>>
values
-
Constructor Summary
Constructors Modifier Constructor Description private
PropertiesMap(List<Property.Value<?>> values)
-
Method Summary
Modifier and Type Method Description String
asString()
PropertiesMap
copyOf(PropertiesMap propertiesMap)
static PropertiesMap
empty()
boolean
equals(Object object)
int
hashCode()
String
toString()
PropertiesMap
withValue(Property.Value<?> value)
static PropertiesMap
withValues(Property.Value<?>[] values)
-
Field Details
-
EMPTY
- Mappings:
Namespace Name Mixin selector official a
Lix;a:Lix;
intermediary field_22881
Lnet/minecraft/class_4934;field_22881:Lnet/minecraft/class_4934;
named EMPTY
Lnet/minecraft/data/client/model/PropertiesMap;EMPTY:Lnet/minecraft/data/client/model/PropertiesMap;
-
COMPARATOR
- Mappings:
Namespace Name Mixin selector official b
Lix;b:Ljava/util/Comparator;
intermediary field_22882
Lnet/minecraft/class_4934;field_22882:Ljava/util/Comparator;
named COMPARATOR
Lnet/minecraft/data/client/model/PropertiesMap;COMPARATOR:Ljava/util/Comparator;
-
values
- Mappings:
Namespace Name Mixin selector official c
Lix;c:Ljava/util/List;
intermediary field_22883
Lnet/minecraft/class_4934;field_22883:Ljava/util/List;
named values
Lnet/minecraft/data/client/model/PropertiesMap;values:Ljava/util/List;
-
-
Constructor Details
-
PropertiesMap
- Mappings:
Namespace Name Mixin selector official <init>
Lix;<init>(Ljava/util/List;)V
intermediary <init>
Lnet/minecraft/class_4934;<init>(Ljava/util/List;)V
named <init>
Lnet/minecraft/data/client/model/PropertiesMap;<init>(Ljava/util/List;)V
-
-
Method Details
-
withValue
- Mappings:
Namespace Name Mixin selector official a
Lix;a(Lciw$a;)Lix;
intermediary method_25819
Lnet/minecraft/class_4934;method_25819(Lnet/minecraft/class_2769$class_4933;)Lnet/minecraft/class_4934;
named withValue
Lnet/minecraft/data/client/model/PropertiesMap;withValue(Lnet/minecraft/state/property/Property$Value;)Lnet/minecraft/data/client/model/PropertiesMap;
-
copyOf
- Mappings:
Namespace Name Mixin selector official a
Lix;a(Lix;)Lix;
intermediary method_25820
Lnet/minecraft/class_4934;method_25820(Lnet/minecraft/class_4934;)Lnet/minecraft/class_4934;
named copyOf
Lnet/minecraft/data/client/model/PropertiesMap;copyOf(Lnet/minecraft/data/client/model/PropertiesMap;)Lnet/minecraft/data/client/model/PropertiesMap;
-
empty
- Mappings:
Namespace Name Mixin selector official a
Lix;a()Lix;
intermediary method_25818
Lnet/minecraft/class_4934;method_25818()Lnet/minecraft/class_4934;
named empty
Lnet/minecraft/data/client/model/PropertiesMap;empty()Lnet/minecraft/data/client/model/PropertiesMap;
-
withValues
- Mappings:
Namespace Name Mixin selector official a
Lix;a([Lciw$a;)Lix;
intermediary method_25821
Lnet/minecraft/class_4934;method_25821([Lnet/minecraft/class_2769$class_4933;)Lnet/minecraft/class_4934;
named withValues
Lnet/minecraft/data/client/model/PropertiesMap;withValues([Lnet/minecraft/state/property/Property$Value;)Lnet/minecraft/data/client/model/PropertiesMap;
-
equals
-
hashCode
public int hashCode() -
asString
- Mappings:
Namespace Name Mixin selector official b
Lix;b()Ljava/lang/String;
intermediary method_25822
Lnet/minecraft/class_4934;method_25822()Ljava/lang/String;
named asString
Lnet/minecraft/data/client/model/PropertiesMap;asString()Ljava/lang/String;
-
toString
-