Package net.minecraft
Record Class class_9226
java.lang.Object
java.lang.Record
net.minecraft.class_9226
- Record Components:
namespace-id-version-
- Mappings:
Namespace Name official arvintermediary net/minecraft/class_9226named net/minecraft/class_9226official cintermediary comp_2336named namespaceofficial dintermediary comp_2337named idofficial eintermediary comp_2338named version
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PacketCodec<ByteBuf,class_9226> static final Stringprivate final StringThe field for theidrecord component.private final StringThe field for thenamespacerecord component.private final StringThe field for theversionrecord component. -
Constructor Summary
Constructors -
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.booleanstatic class_9226method_56932(String string) Returns the value of thenamespacerecord component.toString()Returns a string representation of this record class.version()Returns the value of theversionrecord component.
-
Field Details
-
namespace
The field for thenamespacerecord component. -
id
The field for theidrecord component. -
version
The field for theversionrecord component. -
field_49035
- Mappings:
Namespace Name Mixin selector official aLarv;a:Lxs;intermediary field_49035Lnet/minecraft/class_9226;field_49035:Lnet/minecraft/class_9139;named field_49035Lnet/minecraft/class_9226;field_49035:Lnet/minecraft/network/codec/PacketCodec;
-
field_49036
- See Also:
- Mappings:
Namespace Name Mixin selector official bLarv;b:Ljava/lang/String;intermediary field_49036Lnet/minecraft/class_9226;field_49036:Ljava/lang/String;named field_49036Lnet/minecraft/class_9226;field_49036:Ljava/lang/String;
-
-
Constructor Details
-
class_9226
-
-
Method Details
-
method_56932
- Mappings:
Namespace Name Mixin selector official aLarv;a(Ljava/lang/String;)Larv;intermediary method_56932Lnet/minecraft/class_9226;method_56932(Ljava/lang/String;)Lnet/minecraft/class_9226;named method_56932Lnet/minecraft/class_9226;method_56932(Ljava/lang/String;)Lnet/minecraft/class_9226;
-
method_56931
public boolean method_56931()- Mappings:
Namespace Name Mixin selector official aLarv;a()Zintermediary method_56931Lnet/minecraft/class_9226;method_56931()Znamed method_56931Lnet/minecraft/class_9226;method_56931()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. All components in this record class are compared withObjects::equals(Object,Object). -
namespace
Returns the value of thenamespacerecord component.- Returns:
- the value of the
namespacerecord component
-
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
version
Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-