Package net.minecraft

Record Class class_7644.class_7645<S>

java.lang.Object
java.lang.Record
net.minecraft.class_7644.class_7645<S>
Record Components:
node -
parsedValue -
previewType -
Enclosing class:
class_7644<S>

public static record class_7644.class_7645<S>(com.mojang.brigadier.tree.ArgumentCommandNode<S,?> node, com.mojang.brigadier.context.ParsedArgument<S,?> parsedValue, DecoratableArgumentType<?> previewType) extends Record
Mappings:
Namespace Name
official sc$a
intermediary net/minecraft/class_7644$class_7645
named net/minecraft/class_7644$class_7645
official a
intermediary comp_975
named node
official b
intermediary comp_976
named parsedValue
official c
intermediary comp_977
named previewType
  • Field Details

    • node

      private final com.mojang.brigadier.tree.ArgumentCommandNode<S,?> node
      The field for the node record component.
    • parsedValue

      private final com.mojang.brigadier.context.ParsedArgument<S,?> parsedValue
      The field for the parsedValue record component.
    • previewType

      private final DecoratableArgumentType<?> previewType
      The field for the previewType record component.
  • Constructor Details

    • class_7645

      public class_7645(com.mojang.brigadier.tree.ArgumentCommandNode<S,?> argumentCommandNode, com.mojang.brigadier.context.ParsedArgument<S,?> parsedArgument, DecoratableArgumentType<?> decoratableArgumentType)
  • Method Details

    • method_45046

      public String method_45046()
      Mappings:
      Namespace Name Mixin selector
      official a Lsc$a;a()Ljava/lang/String;
      intermediary method_45046 Lnet/minecraft/class_7644$class_7645;method_45046()Ljava/lang/String;
      named method_45046 Lnet/minecraft/class_7644$class_7645;method_45046()Ljava/lang/String;
    • toString

      public final 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.
    • node

      public com.mojang.brigadier.tree.ArgumentCommandNode<S,?> node()
      Returns the value of the node record component.
      Returns:
      the value of the node record component
    • parsedValue

      public com.mojang.brigadier.context.ParsedArgument<S,?> parsedValue()
      Returns the value of the parsedValue record component.
      Returns:
      the value of the parsedValue record component
    • previewType

      public DecoratableArgumentType<?> previewType()
      Returns the value of the previewType record component.
      Returns:
      the value of the previewType record component