Package net.minecraft

Record Class class_9307

java.lang.Object
java.lang.Record
net.minecraft.class_9307
Record Components:
layers -

public record class_9307(List<class_9307.class_9308> layers) extends Record
Mappings:
Namespace Name
official dlw
intermediary net/minecraft/class_9307
named net/minecraft/class_9307
official d
intermediary comp_2428
named layers
  • Field Details

    • layers

      private final List<class_9307.class_9308> layers
      The field for the layers record component.
    • field_49404

      public static final class_9307 field_49404
      Mappings:
      Namespace Name Mixin selector
      official a Ldlw;a:Ldlw;
      intermediary field_49404 Lnet/minecraft/class_9307;field_49404:Lnet/minecraft/class_9307;
      named field_49404 Lnet/minecraft/class_9307;field_49404:Lnet/minecraft/class_9307;
    • field_49405

      public static final com.mojang.serialization.Codec<class_9307> field_49405
      Mappings:
      Namespace Name Mixin selector
      official b Ldlw;b:Lcom/mojang/serialization/Codec;
      intermediary field_49405 Lnet/minecraft/class_9307;field_49405:Lcom/mojang/serialization/Codec;
      named field_49405 Lnet/minecraft/class_9307;field_49405:Lcom/mojang/serialization/Codec;
    • field_49406

      public static final PacketCodec<RegistryByteBuf,class_9307> field_49406
      Mappings:
      Namespace Name Mixin selector
      official c Ldlw;c:Lye;
      intermediary field_49406 Lnet/minecraft/class_9307;field_49406:Lnet/minecraft/class_9139;
      named field_49406 Lnet/minecraft/class_9307;field_49406:Lnet/minecraft/network/codec/PacketCodec;
  • Constructor Details

  • Method Details

    • method_57572

      public class_9307 method_57572(DyeColor dyeColor)
      Mappings:
      Namespace Name Mixin selector
      official a Ldlw;a(Lcqc;)Ldlw;
      intermediary method_57572 Lnet/minecraft/class_9307;method_57572(Lnet/minecraft/class_1767;)Lnet/minecraft/class_9307;
      named method_57572 Lnet/minecraft/class_9307;method_57572(Lnet/minecraft/util/DyeColor;)Lnet/minecraft/class_9307;
    • method_57571

      public class_9307 method_57571()
      Mappings:
      Namespace Name Mixin selector
      official a Ldlw;a()Ldlw;
      intermediary method_57571 Lnet/minecraft/class_9307;method_57571()Lnet/minecraft/class_9307;
      named method_57571 Lnet/minecraft/class_9307;method_57571()Lnet/minecraft/class_9307;
    • 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.
    • layers

      public List<class_9307.class_9308> layers()
      Returns the value of the layers record component.
      Returns:
      the value of the layers record component