Package net.minecraft
Record Class class_10726
java.lang.Object
java.lang.Record
net.minecraft.class_10726
- Record Components:
id-texturePath-
- Mappings:
Namespace Name named net/minecraft/class_10726intermediary net/minecraft/class_10726official ivnamed idintermediary comp_3626official dnamed texturePathintermediary comp_3627official e
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<class_10726> static final com.mojang.serialization.MapCodec<class_10726> static final PacketCodec<ByteBuf, class_10726> private final IdentifierThe field for theidrecord component.private final IdentifierThe field for thetexturePathrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_10726(Identifier identifier) class_10726(Identifier identifier, Identifier identifier2) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.Returns the value of thetexturePathrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
id
The field for theidrecord component. -
texturePath
The field for thetexturePathrecord component. -
field_56393
- Mappings:
Namespace Name Mixin selector named field_56393Lnet/minecraft/class_10726;field_56393:Lcom/mojang/serialization/Codec;intermediary field_56393Lnet/minecraft/class_10726;field_56393:Lcom/mojang/serialization/Codec;official aLiv;a:Lcom/mojang/serialization/Codec;
-
field_56394
- Mappings:
Namespace Name Mixin selector named field_56394Lnet/minecraft/class_10726;field_56394:Lcom/mojang/serialization/MapCodec;intermediary field_56394Lnet/minecraft/class_10726;field_56394:Lcom/mojang/serialization/MapCodec;official bLiv;b:Lcom/mojang/serialization/MapCodec;
-
field_56395
- Mappings:
Namespace Name Mixin selector named field_56395Lnet/minecraft/class_10726;field_56395:Lnet/minecraft/network/codec/PacketCodec;intermediary field_56395Lnet/minecraft/class_10726;field_56395:Lnet/minecraft/class_9139;official cLiv;c:Lyu;
-
-
Constructor Details
-
class_10726
-
class_10726
-
-
Method Details
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
texturePath
Returns the value of thetexturePathrecord component.- Returns:
- the value of the
texturePathrecord component
-