Package net.minecraft.nbt.scanner
Record Class SelectiveNbtCollector.Query
java.lang.Object
java.lang.Record
net.minecraft.nbt.scanner.SelectiveNbtCollector.Query
- Record Components:
path
-type
-key
-
- Enclosing class:
- SelectiveNbtCollector
public static record SelectiveNbtCollector.Query(List<String> path, NbtType<?> type, String key)
extends Record
- Mappings:
Namespace Name official pc$b
intermediary net/minecraft/class_6841$class_6843
named net/minecraft/nbt/scanner/SelectiveNbtCollector$Query
official a
intermediary comp_318
named path
official b
intermediary comp_319
named type
official c
intermediary comp_320
named key
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.key()
Returns the value of thekey
record component.path()
Returns the value of thepath
record component.final String
toString()
Returns a string representation of this record class.NbtType<?>
type()
Returns the value of thetype
record component.
-
Field Details
-
Constructor Details
-
Query
- Mappings:
Namespace Name Mixin selector official <init>
Lpc$b;<init>(Lox;Ljava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_6841$class_6843;<init>(Lnet/minecraft/class_4614;Ljava/lang/String;)V
named <init>
Lnet/minecraft/nbt/scanner/SelectiveNbtCollector$Query;<init>(Lnet/minecraft/nbt/NbtType;Ljava/lang/String;)V
-
Query
- Mappings:
Namespace Name Mixin selector official <init>
Lpc$b;<init>(Ljava/lang/String;Lox;Ljava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_6841$class_6843;<init>(Ljava/lang/String;Lnet/minecraft/class_4614;Ljava/lang/String;)V
named <init>
Lnet/minecraft/nbt/scanner/SelectiveNbtCollector$Query;<init>(Ljava/lang/String;Lnet/minecraft/nbt/NbtType;Ljava/lang/String;)V
-
Query
- Mappings:
Namespace Name Mixin selector official <init>
Lpc$b;<init>(Ljava/lang/String;Ljava/lang/String;Lox;Ljava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_6841$class_6843;<init>(Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/class_4614;Ljava/lang/String;)V
named <init>
Lnet/minecraft/nbt/scanner/SelectiveNbtCollector$Query;<init>(Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/nbt/NbtType;Ljava/lang/String;)V
-
Query
-
-
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)
. -
path
Returns the value of thepath
record component.- Returns:
- the value of the
path
record component
-
type
Returns the value of thetype
record component.- Returns:
- the value of the
type
record component
-
key
Returns the value of thekey
record component.- Returns:
- the value of the
key
record component
-