Record Class SimpleMultipartModelSelector

java.lang.Object
java.lang.Record
net.minecraft.client.render.model.json.SimpleMultipartModelSelector
Record Components:
tests -
All Implemented Interfaces:
MultipartModelSelector

@Environment(CLIENT) public record SimpleMultipartModelSelector(Map<String,SimpleMultipartModelSelector.class_10808> tests) extends Record implements MultipartModelSelector
Mappings:
Namespace Name
named net/minecraft/client/render/model/json/SimpleMultipartModelSelector
intermediary net/minecraft/class_818
official gsm
named tests
intermediary comp_3760
official c
  • Field Details

    • tests

      The field for the tests record component.
    • field_56944

      static final Logger field_56944
      Mappings:
      Namespace Name Mixin selector
      named field_56944 Lnet/minecraft/client/render/model/json/SimpleMultipartModelSelector;field_56944:Lorg/slf4j/Logger;
      intermediary field_56944 Lnet/minecraft/class_818;field_56944:Lorg/slf4j/Logger;
      official d Lgsm;d:Lorg/slf4j/Logger;
    • field_56943

      public static final com.mojang.serialization.Codec<SimpleMultipartModelSelector> field_56943
      Mappings:
      Namespace Name Mixin selector
      named field_56943 Lnet/minecraft/client/render/model/json/SimpleMultipartModelSelector;field_56943:Lcom/mojang/serialization/Codec;
      intermediary field_56943 Lnet/minecraft/class_818;field_56943:Lcom/mojang/serialization/Codec;
      official b Lgsm;b:Lcom/mojang/serialization/Codec;
  • Constructor Details

  • Method Details

    • instantiate

      public <O, S extends State<O, S>> Predicate<S> instantiate(StateManager<O,S> stateManager)
      Specified by:
      instantiate in interface MultipartModelSelector
    • method_67961

      private static <O, S extends State<O, S>> Predicate<S> method_67961(StateManager<O,S> stateManager, String string, SimpleMultipartModelSelector.class_10808 class_10808)
      Mappings:
      Namespace Name Mixin selector
      named method_67961 Lnet/minecraft/client/render/model/json/SimpleMultipartModelSelector;method_67961(Lnet/minecraft/state/StateManager;Ljava/lang/String;Lnet/minecraft/client/render/model/json/SimpleMultipartModelSelector$class_10808;)Ljava/util/function/Predicate;
      intermediary method_67961 Lnet/minecraft/class_818;method_67961(Lnet/minecraft/class_2689;Ljava/lang/String;Lnet/minecraft/class_818$class_10808;)Ljava/util/function/Predicate;
      official a Lgsm;a(Leap;Ljava/lang/String;Lgsm$b;)Ljava/util/function/Predicate;
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • tests

      Returns the value of the tests record component.
      Returns:
      the value of the tests record component