Class PropertiesMap

java.lang.Object
net.minecraft.data.client.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
named net/minecraft/data/client/PropertiesMap
intermediary net/minecraft/class_4934
official ns
  • Field Details

    • EMPTY

      private static final PropertiesMap EMPTY
      Mappings:
      Namespace Name Mixin selector
      named EMPTY Lnet/minecraft/data/client/PropertiesMap;EMPTY:Lnet/minecraft/data/client/PropertiesMap;
      intermediary field_22881 Lnet/minecraft/class_4934;field_22881:Lnet/minecraft/class_4934;
      official a Lns;a:Lns;
    • COMPARATOR

      private static final Comparator<Property.Value<?>> COMPARATOR
      Mappings:
      Namespace Name Mixin selector
      named COMPARATOR Lnet/minecraft/data/client/PropertiesMap;COMPARATOR:Ljava/util/Comparator;
      intermediary field_22882 Lnet/minecraft/class_4934;field_22882:Ljava/util/Comparator;
      official b Lns;b:Ljava/util/Comparator;
    • values

      private final List<Property.Value<?>> values
      Mappings:
      Namespace Name Mixin selector
      named values Lnet/minecraft/data/client/PropertiesMap;values:Ljava/util/List;
      intermediary field_22883 Lnet/minecraft/class_4934;field_22883:Ljava/util/List;
      official c Lns;c:Ljava/util/List;
  • Constructor Details

    • PropertiesMap

      private PropertiesMap(List<Property.Value<?>> values)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/data/client/PropertiesMap;<init>(Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_4934;<init>(Ljava/util/List;)V
      official <init> Lns;<init>(Ljava/util/List;)V
  • Method Details

    • withValue

      public PropertiesMap withValue(Property.Value<?> value)
      Mappings:
      Namespace Name Mixin selector
      named withValue Lnet/minecraft/data/client/PropertiesMap;withValue(Lnet/minecraft/state/property/Property$Value;)Lnet/minecraft/data/client/PropertiesMap;
      intermediary method_25819 Lnet/minecraft/class_4934;method_25819(Lnet/minecraft/class_2769$class_4933;)Lnet/minecraft/class_4934;
      official a Lns;a(Ldto$a;)Lns;
    • copyOf

      public PropertiesMap copyOf(PropertiesMap propertiesMap)
      Mappings:
      Namespace Name Mixin selector
      named copyOf Lnet/minecraft/data/client/PropertiesMap;copyOf(Lnet/minecraft/data/client/PropertiesMap;)Lnet/minecraft/data/client/PropertiesMap;
      intermediary method_25820 Lnet/minecraft/class_4934;method_25820(Lnet/minecraft/class_4934;)Lnet/minecraft/class_4934;
      official a Lns;a(Lns;)Lns;
    • empty

      public static PropertiesMap empty()
      Mappings:
      Namespace Name Mixin selector
      named empty Lnet/minecraft/data/client/PropertiesMap;empty()Lnet/minecraft/data/client/PropertiesMap;
      intermediary method_25818 Lnet/minecraft/class_4934;method_25818()Lnet/minecraft/class_4934;
      official a Lns;a()Lns;
    • withValues

      public static PropertiesMap withValues(Property.Value<?>[] values)
      Mappings:
      Namespace Name Mixin selector
      named withValues Lnet/minecraft/data/client/PropertiesMap;withValues([Lnet/minecraft/state/property/Property$Value;)Lnet/minecraft/data/client/PropertiesMap;
      intermediary method_25821 Lnet/minecraft/class_4934;method_25821([Lnet/minecraft/class_2769$class_4933;)Lnet/minecraft/class_4934;
      official a Lns;a([Ldto$a;)Lns;
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
      Mappings:
      Namespace Name Mixin selector
      named equals Lnet/minecraft/data/client/PropertiesMap;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_4934;equals(Ljava/lang/Object;)Z
      official equals Lns;equals(Ljava/lang/Object;)Z
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • asString

      public String asString()
      Mappings:
      Namespace Name Mixin selector
      named asString Lnet/minecraft/data/client/PropertiesMap;asString()Ljava/lang/String;
      intermediary method_25822 Lnet/minecraft/class_4934;method_25822()Ljava/lang/String;
      official b Lns;b()Ljava/lang/String;
    • toString

      public String toString()
      Overrides:
      toString in class Object