Package net.minecraft.loot.function
Record Class CopyNbtLootFunction.class_8753
java.lang.Object
java.lang.Record
net.minecraft.loot.function.CopyNbtLootFunction.class_8753
- Record Components:
string-path-
- Enclosing class:
CopyNbtLootFunction
private static record CopyNbtLootFunction.class_8753(String string, NbtPathArgumentType.NbtPath path)
extends Record
- Mappings:
Namespace Name official edl$dintermediary net/minecraft/class_3837$class_8753named net/minecraft/loot/function/CopyNbtLootFunction$class_8753official bintermediary comp_1856named stringofficial cintermediary comp_1857named path
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<CopyNbtLootFunction.class_8753>private final NbtPathArgumentType.NbtPathThe field for thepathrecord component.private final StringThe field for thestringrecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateclass_8753(String string, NbtPathArgumentType.NbtPath nbtPath) -
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.method_53319(String string) path()Returns the value of thepathrecord component.string()Returns the value of thestringrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
string
The field for thestringrecord component. -
path
The field for thepathrecord component. -
field_45822
- Mappings:
Namespace Name Mixin selector official aLedl$d;a:Lcom/mojang/serialization/Codec;intermediary field_45822Lnet/minecraft/class_3837$class_8753;field_45822:Lcom/mojang/serialization/Codec;named field_45822Lnet/minecraft/loot/function/CopyNbtLootFunction$class_8753;field_45822:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_8753
-
-
Method Details
-
method_53319
public static CopyNbtLootFunction.class_8753 method_53319(String string) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLedl$d;a(Ljava/lang/String;)Ledl$d;intermediary method_53319Lnet/minecraft/class_3837$class_8753;method_53319(Ljava/lang/String;)Lnet/minecraft/class_3837$class_8753;named method_53319Lnet/minecraft/loot/function/CopyNbtLootFunction$class_8753;method_53319(Ljava/lang/String;)Lnet/minecraft/loot/function/CopyNbtLootFunction$class_8753;
-
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). -
string
Returns the value of thestringrecord component.- Returns:
- the value of the
stringrecord component
-
path
Returns the value of thepathrecord component.- Returns:
- the value of the
pathrecord component
-