Package net.minecraft

Record Class class_9226

java.lang.Object
java.lang.Record
net.minecraft.class_9226
Record Components:
namespace -
id -
version -

public record class_9226(String namespace, String id, String version) extends Record
Mappings:
Namespace Name
official arv
intermediary net/minecraft/class_9226
named net/minecraft/class_9226
official c
intermediary comp_2336
named namespace
official d
intermediary comp_2337
named id
official e
intermediary comp_2338
named version
  • Field Details

    • namespace

      private final String namespace
      The field for the namespace record component.
    • id

      private final String id
      The field for the id record component.
    • version

      private final String version
      The field for the version record component.
    • field_49035

      public static final PacketCodec<ByteBuf,class_9226> field_49035
      Mappings:
      Namespace Name Mixin selector
      official a Larv;a:Lxs;
      intermediary field_49035 Lnet/minecraft/class_9226;field_49035:Lnet/minecraft/class_9139;
      named field_49035 Lnet/minecraft/class_9226;field_49035:Lnet/minecraft/network/codec/PacketCodec;
    • field_49036

      public static final String field_49036
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Larv;b:Ljava/lang/String;
      intermediary field_49036 Lnet/minecraft/class_9226;field_49036:Ljava/lang/String;
      named field_49036 Lnet/minecraft/class_9226;field_49036:Ljava/lang/String;
  • Constructor Details

  • Method Details

    • method_56932

      public static class_9226 method_56932(String string)
      Mappings:
      Namespace Name Mixin selector
      official a Larv;a(Ljava/lang/String;)Larv;
      intermediary method_56932 Lnet/minecraft/class_9226;method_56932(Ljava/lang/String;)Lnet/minecraft/class_9226;
      named method_56932 Lnet/minecraft/class_9226;method_56932(Ljava/lang/String;)Lnet/minecraft/class_9226;
    • method_56931

      public boolean method_56931()
      Mappings:
      Namespace Name Mixin selector
      official a Larv;a()Z
      intermediary method_56931 Lnet/minecraft/class_9226;method_56931()Z
      named method_56931 Lnet/minecraft/class_9226;method_56931()Z
    • toString

      public 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. All components in this record class are compared with Objects::equals(Object,Object).
      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.
    • namespace

      public String namespace()
      Returns the value of the namespace record component.
      Returns:
      the value of the namespace record component
    • id

      public String id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component
    • version

      public String version()
      Returns the value of the version record component.
      Returns:
      the value of the version record component