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 Summary
FieldsModifier and TypeFieldDescriptionprivate final Identifier
The field for theassetId
record component.private final boolean
The field for theexplorationMapElement
record component.static final int
static final com.mojang.serialization.Codec
<RegistryEntry<class_9428>> static final PacketCodec
<RegistryByteBuf, RegistryEntry<class_9428>> private final int
The field for themapColor
record component.private final boolean
The field for theshowOnItemFrame
record component.private final boolean
The field for thetrackCount
record component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_9428
(Identifier identifier, boolean bool, int int2, boolean bool2, boolean bool3) -
Method Summary
Modifier and TypeMethodDescriptionassetId()
Returns the value of theassetId
record component.final boolean
Indicates whether some other object is "equal to" this one.boolean
Returns the value of theexplorationMapElement
record component.final int
hashCode()
Returns a hash code value for this object.int
mapColor()
Returns the value of themapColor
record component.boolean
boolean
Returns the value of theshowOnItemFrame
record component.final String
toString()
Returns a string representation of this record class.boolean
Returns the value of thetrackCount
record component.
-
Field Details
-
assetId
The field for theassetId
record component. -
showOnItemFrame
private final boolean showOnItemFrameThe field for theshowOnItemFrame
record component. -
mapColor
private final int mapColorThe field for themapColor
record component. -
explorationMapElement
private final boolean explorationMapElementThe field for theexplorationMapElement
record component. -
trackCount
private final boolean trackCountThe field for thetrackCount
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
- 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
- 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
-
-
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
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. -
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. -
equals
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 withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
assetId
Returns the value of theassetId
record component.- Returns:
- the value of the
assetId
record component
-
showOnItemFrame
public boolean showOnItemFrame()Returns the value of theshowOnItemFrame
record component.- Returns:
- the value of the
showOnItemFrame
record component
-
mapColor
public int mapColor()Returns the value of themapColor
record component.- Returns:
- the value of the
mapColor
record component
-
explorationMapElement
public boolean explorationMapElement()Returns the value of theexplorationMapElement
record component.- Returns:
- the value of the
explorationMapElement
record component
-
trackCount
public boolean trackCount()Returns the value of thetrackCount
record component.- Returns:
- the value of the
trackCount
record component
-