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$aintermediary net/minecraft/class_7644$class_7645named net/minecraft/class_7644$class_7645official aintermediary comp_975named nodeofficial bintermediary comp_976named parsedValueofficial cintermediary comp_977named previewType
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final com.mojang.brigadier.tree.ArgumentCommandNode<S,?> The field for thenoderecord component.private final com.mojang.brigadier.context.ParsedArgument<S,?> The field for theparsedValuerecord component.private final DecoratableArgumentType<?>The field for thepreviewTyperecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_7645(com.mojang.brigadier.tree.ArgumentCommandNode<S, ?> argumentCommandNode, com.mojang.brigadier.context.ParsedArgument<S, ?> parsedArgument, DecoratableArgumentType<?> decoratableArgumentType) -
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.com.mojang.brigadier.tree.ArgumentCommandNode<S,?> node()Returns the value of thenoderecord component.com.mojang.brigadier.context.ParsedArgument<S,?> Returns the value of theparsedValuerecord component.Returns the value of thepreviewTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
node
The field for thenoderecord component. -
parsedValue
The field for theparsedValuerecord component. -
previewType
The field for thepreviewTyperecord 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
- Mappings:
Namespace Name Mixin selector official aLsc$a;a()Ljava/lang/String;intermediary method_45046Lnet/minecraft/class_7644$class_7645;method_45046()Ljava/lang/String;named method_45046Lnet/minecraft/class_7644$class_7645;method_45046()Ljava/lang/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. -
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). -
node
Returns the value of thenoderecord component.- Returns:
- the value of the
noderecord component
-
parsedValue
Returns the value of theparsedValuerecord component.- Returns:
- the value of the
parsedValuerecord component
-
previewType
Returns the value of thepreviewTyperecord component.- Returns:
- the value of the
previewTyperecord component
-