Package net.minecraft

Record Class class_9428

java.lang.Object
java.lang.Record
net.minecraft.class_9428
Record Components:
assetId -
showOnItemFrame -
mapColor -
explorationMapElement -
trackCount -

public record class_9428(Identifier assetId, boolean showOnItemFrame, int mapColor, boolean explorationMapElement, boolean trackCount) extends Record
Mappings:
Namespace Name
official enk
intermediary net/minecraft/class_9428
named net/minecraft/class_9428
official d
intermediary comp_2514
named assetId
official e
intermediary comp_2515
named showOnItemFrame
official f
intermediary comp_2516
named mapColor
official g
intermediary comp_2517
named explorationMapElement
official h
intermediary comp_2518
named trackCount
  • Field Details

    • assetId

      private final Identifier assetId
      The field for the assetId record component.
    • showOnItemFrame

      private final boolean showOnItemFrame
      The field for the showOnItemFrame record component.
    • mapColor

      private final int mapColor
      The field for the mapColor record component.
    • explorationMapElement

      private final boolean explorationMapElement
      The field for the explorationMapElement record component.
    • trackCount

      private final boolean trackCount
      The field for the trackCount record component.
    • field_50016

      public static final int field_50016
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lenk;a:I
      intermediary field_50016 Lnet/minecraft/class_9428;field_50016:I
      named field_50016 Lnet/minecraft/class_9428;field_50016:I
    • field_50017

      public static final com.mojang.serialization.Codec<RegistryEntry<class_9428>> field_50017
      Mappings:
      Namespace Name Mixin selector
      official b Lenk;b:Lcom/mojang/serialization/Codec;
      intermediary field_50017 Lnet/minecraft/class_9428;field_50017:Lcom/mojang/serialization/Codec;
      named field_50017 Lnet/minecraft/class_9428;field_50017:Lcom/mojang/serialization/Codec;
    • field_50018

      public static final PacketCodec<RegistryByteBuf,RegistryEntry<class_9428>> field_50018
      Mappings:
      Namespace Name Mixin selector
      official c Lenk;c:Lys;
      intermediary field_50018 Lnet/minecraft/class_9428;field_50018:Lnet/minecraft/class_9139;
      named field_50018 Lnet/minecraft/class_9428;field_50018:Lnet/minecraft/network/codec/PacketCodec;
  • Constructor Details

    • class_9428

      public class_9428(Identifier identifier, boolean bool, int int2, boolean bool2, boolean bool3)
  • Method Details

    • method_58452

      public boolean method_58452()
      Mappings:
      Namespace Name Mixin selector
      official a Lenk;a()Z
      intermediary method_58452 Lnet/minecraft/class_9428;method_58452()Z
      named method_58452 Lnet/minecraft/class_9428;method_58452()Z
    • 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.
    • assetId

      public Identifier assetId()
      Returns the value of the assetId record component.
      Returns:
      the value of the assetId record component
    • showOnItemFrame

      public boolean showOnItemFrame()
      Returns the value of the showOnItemFrame record component.
      Returns:
      the value of the showOnItemFrame record component
    • mapColor

      public int mapColor()
      Returns the value of the mapColor record component.
      Returns:
      the value of the mapColor record component
    • explorationMapElement

      public boolean explorationMapElement()
      Returns the value of the explorationMapElement record component.
      Returns:
      the value of the explorationMapElement record component
    • trackCount

      public boolean trackCount()
      Returns the value of the trackCount record component.
      Returns:
      the value of the trackCount record component