Package net.minecraft

Record Class class_11677<T>

java.lang.Object
java.lang.Record
net.minecraft.class_11677<T>
Record Components:
head -
chest -
legs -
feet -

@Environment(CLIENT) public record class_11677<T>(T head, T chest, T legs, T feet) extends Record
Mappings:
Namespace Name
named net/minecraft/class_11677
intermediary net/minecraft/class_11677
official hfw
named head
intermediary comp_4542
official a
named chest
intermediary comp_4543
official b
named legs
intermediary comp_4544
official c
named feet
intermediary comp_4545
official d
  • Field Details

    • chest

      private final T chest
      The field for the chest record component.
    • legs

      private final T legs
      The field for the legs record component.
    • feet

      private final T feet
      The field for the feet record component.
  • Constructor Details

    • class_11677

      public class_11677(T t, T t2, T t3, T t4)
  • Method Details

    • method_72959

      public T method_72959(EquipmentSlot equipmentSlot)
      Mappings:
      Namespace Name Mixin selector
      named method_72959 Lnet/minecraft/class_11677;method_72959(Lnet/minecraft/entity/EquipmentSlot;)Ljava/lang/Object;
      intermediary method_72959 Lnet/minecraft/class_11677;method_72959(Lnet/minecraft/class_1304;)Ljava/lang/Object;
      official a Lhfw;a(Lcah;)Ljava/lang/Object;
    • method_72962

      public <U> class_11677<U> method_72962(Function<? super T,? extends U> function)
      Mappings:
      Namespace Name Mixin selector
      named method_72962 Lnet/minecraft/class_11677;method_72962(Ljava/util/function/Function;)Lnet/minecraft/class_11677;
      intermediary method_72962 Lnet/minecraft/class_11677;method_72962(Ljava/util/function/Function;)Lnet/minecraft/class_11677;
      official a Lhfw;a(Ljava/util/function/Function;)Lhfw;
    • method_72960

      public void method_72960(class_11677<TexturedModelData> class_11677, ImmutableMap.Builder<T,TexturedModelData> builder)
      Mappings:
      Namespace Name Mixin selector
      named method_72960 Lnet/minecraft/class_11677;method_72960(Lnet/minecraft/class_11677;Lcom/google/common/collect/ImmutableMap$Builder;)V
      intermediary method_72960 Lnet/minecraft/class_11677;method_72960(Lnet/minecraft/class_11677;Lcom/google/common/collect/ImmutableMap$Builder;)V
      official a Lhfw;a(Lhfw;Lcom/google/common/collect/ImmutableMap$Builder;)V
    • method_72961

      public static <M extends BipedEntityModel<?>> class_11677<M> method_72961(class_11677<EntityModelLayer> class_11677, LoadedEntityModels loadedEntityModels, Function<ModelPart,M> function)
      Mappings:
      Namespace Name Mixin selector
      named method_72961 Lnet/minecraft/class_11677;method_72961(Lnet/minecraft/class_11677;Lnet/minecraft/client/render/entity/model/LoadedEntityModels;Ljava/util/function/Function;)Lnet/minecraft/class_11677;
      intermediary method_72961 Lnet/minecraft/class_11677;method_72961(Lnet/minecraft/class_11677;Lnet/minecraft/class_5599;Ljava/util/function/Function;)Lnet/minecraft/class_11677;
      official a Lhfw;a(Lhfw;Lgsz;Ljava/util/function/Function;)Lhfw;
    • 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.
    • head

      public T head()
      Returns the value of the head record component.
      Returns:
      the value of the head record component
    • chest

      public T chest()
      Returns the value of the chest record component.
      Returns:
      the value of the chest record component
    • legs

      public T legs()
      Returns the value of the legs record component.
      Returns:
      the value of the legs record component
    • feet

      public T feet()
      Returns the value of the feet record component.
      Returns:
      the value of the feet record component