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 enkintermediary net/minecraft/class_9428named net/minecraft/class_9428official dintermediary comp_2514named assetIdofficial eintermediary comp_2515named showOnItemFrameofficial fintermediary comp_2516named mapColorofficial gintermediary comp_2517named explorationMapElementofficial hintermediary comp_2518named trackCount
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final IdentifierThe field for theassetIdrecord component.private final booleanThe field for theexplorationMapElementrecord component.static final intstatic final com.mojang.serialization.Codec<RegistryEntry<class_9428>> static final PacketCodec<RegistryByteBuf, RegistryEntry<class_9428>> private final intThe field for themapColorrecord component.private final booleanThe field for theshowOnItemFramerecord component.private final booleanThe field for thetrackCountrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_9428(Identifier identifier, boolean bool, int int2, boolean bool2, boolean bool3) -
Method Summary
Modifier and TypeMethodDescriptionassetId()Returns the value of theassetIdrecord component.final booleanIndicates whether some other object is "equal to" this one.booleanReturns the value of theexplorationMapElementrecord component.final inthashCode()Returns a hash code value for this object.intmapColor()Returns the value of themapColorrecord component.booleanbooleanReturns the value of theshowOnItemFramerecord component.final StringtoString()Returns a string representation of this record class.booleanReturns the value of thetrackCountrecord component.
-
Field Details
-
assetId
The field for theassetIdrecord component. -
showOnItemFrame
private final boolean showOnItemFrameThe field for theshowOnItemFramerecord component. -
mapColor
private final int mapColorThe field for themapColorrecord component. -
explorationMapElement
private final boolean explorationMapElementThe field for theexplorationMapElementrecord component. -
trackCount
private final boolean trackCountThe field for thetrackCountrecord component. -
field_50016
public static final int field_50016- See Also:
- Mappings:
Namespace Name Mixin selector official aLenk;a:Iintermediary field_50016Lnet/minecraft/class_9428;field_50016:Inamed field_50016Lnet/minecraft/class_9428;field_50016:I
-
field_50017
- Mappings:
Namespace Name Mixin selector official bLenk;b:Lcom/mojang/serialization/Codec;intermediary field_50017Lnet/minecraft/class_9428;field_50017:Lcom/mojang/serialization/Codec;named field_50017Lnet/minecraft/class_9428;field_50017:Lcom/mojang/serialization/Codec;
-
field_50018
- Mappings:
Namespace Name Mixin selector official cLenk;c:Lys;intermediary field_50018Lnet/minecraft/class_9428;field_50018:Lnet/minecraft/class_9139;named field_50018Lnet/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 aLenk;a()Zintermediary method_58452Lnet/minecraft/class_9428;method_58452()Znamed method_58452Lnet/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 theassetIdrecord component.- Returns:
- the value of the
assetIdrecord component
-
showOnItemFrame
public boolean showOnItemFrame()Returns the value of theshowOnItemFramerecord component.- Returns:
- the value of the
showOnItemFramerecord component
-
mapColor
public int mapColor()Returns the value of themapColorrecord component.- Returns:
- the value of the
mapColorrecord component
-
explorationMapElement
public boolean explorationMapElement()Returns the value of theexplorationMapElementrecord component.- Returns:
- the value of the
explorationMapElementrecord component
-
trackCount
public boolean trackCount()Returns the value of thetrackCountrecord component.- Returns:
- the value of the
trackCountrecord component
-