Package net.minecraft

Record Class class_10511.class_10512

java.lang.Object
java.lang.Record
net.minecraft.class_10511.class_10512
Record Components:
texture -
openness -
orientation -
All Implemented Interfaces:
class_10515.class_10516
Enclosing class:
class_10511

@Environment(CLIENT) public static record class_10511.class_10512(Identifier texture, float openness, Direction orientation) extends Record implements class_10515.class_10516
Mappings:
Namespace Name
named net/minecraft/class_10511$class_10512
intermediary net/minecraft/class_10511$class_10512
official hdm$a
named texture
intermediary comp_3422
official b
named openness
intermediary comp_3423
official c
named orientation
intermediary comp_3424
official d
  • Field Details

    • texture

      private final Identifier texture
      The field for the texture record component.
    • openness

      private final float openness
      The field for the openness record component.
    • orientation

      private final Direction orientation
      The field for the orientation record component.
    • field_55448

      public static final com.mojang.serialization.MapCodec<class_10511.class_10512> field_55448
      Mappings:
      Namespace Name Mixin selector
      named field_55448 Lnet/minecraft/class_10511$class_10512;field_55448:Lcom/mojang/serialization/MapCodec;
      intermediary field_55448 Lnet/minecraft/class_10511$class_10512;field_55448:Lcom/mojang/serialization/MapCodec;
      official a Lhdm$a;a:Lcom/mojang/serialization/MapCodec;
  • Constructor Details

    • class_10512

      public class_10512()
    • class_10512

      public class_10512(DyeColor dyeColor)
    • class_10512

      public class_10512(Identifier identifier, float float2, Direction direction)
  • Method Details

    • method_65696

      public com.mojang.serialization.MapCodec<class_10511.class_10512> method_65696()
      Specified by:
      method_65696 in interface class_10515.class_10516
      Mappings:
      Namespace Name Mixin selector
      named method_65696 Lnet/minecraft/class_10515$class_10516;method_65696()Lcom/mojang/serialization/MapCodec;
      intermediary method_65696 Lnet/minecraft/class_10515$class_10516;method_65696()Lcom/mojang/serialization/MapCodec;
      official a Lhdo$a;a()Lcom/mojang/serialization/MapCodec;
    • method_65698

      public class_10515<?> method_65698(EntityModelLoader entityModelLoader)
      Specified by:
      method_65698 in interface class_10515.class_10516
      Mappings:
      Namespace Name Mixin selector
      named method_65698 Lnet/minecraft/class_10515$class_10516;method_65698(Lnet/minecraft/client/render/entity/model/EntityModelLoader;)Lnet/minecraft/class_10515;
      intermediary method_65698 Lnet/minecraft/class_10515$class_10516;method_65698(Lnet/minecraft/class_5599;)Lnet/minecraft/class_10515;
      official a Lhdo$a;a(Lgey;)Lhdo;
    • 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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      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.
    • texture

      public Identifier texture()
      Returns the value of the texture record component.
      Returns:
      the value of the texture record component
    • openness

      public float openness()
      Returns the value of the openness record component.
      Returns:
      the value of the openness record component
    • orientation

      public Direction orientation()
      Returns the value of the orientation record component.
      Returns:
      the value of the orientation record component