Class CopyNbtLootFunction.Operation

java.lang.Object
net.minecraft.loot.function.CopyNbtLootFunction.Operation
Enclosing class:
CopyNbtLootFunction

private static class CopyNbtLootFunction.Operation extends Object
Mappings:
Namespace Name
official dsj$b
intermediary net/minecraft/class_3837$class_3839
named net/minecraft/loot/function/CopyNbtLootFunction$Operation
  • Field Details

    • sourcePath

      private final String sourcePath
      Mappings:
      Namespace Name Mixin selector
      official a Ldsj$b;a:Ljava/lang/String;
      intermediary field_17019 Lnet/minecraft/class_3837$class_3839;field_17019:Ljava/lang/String;
      named sourcePath Lnet/minecraft/loot/function/CopyNbtLootFunction$Operation;sourcePath:Ljava/lang/String;
    • parsedSourcePath

      private final NbtPathArgumentType.NbtPath parsedSourcePath
      Mappings:
      Namespace Name Mixin selector
      official b Ldsj$b;b:Leh$g;
      intermediary field_17020 Lnet/minecraft/class_3837$class_3839;field_17020:Lnet/minecraft/class_2203$class_2209;
      named parsedSourcePath Lnet/minecraft/loot/function/CopyNbtLootFunction$Operation;parsedSourcePath:Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;
    • targetPath

      private final String targetPath
      Mappings:
      Namespace Name Mixin selector
      official c Ldsj$b;c:Ljava/lang/String;
      intermediary field_17021 Lnet/minecraft/class_3837$class_3839;field_17021:Ljava/lang/String;
      named targetPath Lnet/minecraft/loot/function/CopyNbtLootFunction$Operation;targetPath:Ljava/lang/String;
    • parsedTargetPath

      private final NbtPathArgumentType.NbtPath parsedTargetPath
      Mappings:
      Namespace Name Mixin selector
      official d Ldsj$b;d:Leh$g;
      intermediary field_17022 Lnet/minecraft/class_3837$class_3839;field_17022:Lnet/minecraft/class_2203$class_2209;
      named parsedTargetPath Lnet/minecraft/loot/function/CopyNbtLootFunction$Operation;parsedTargetPath:Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;
    • operator

      private final CopyNbtLootFunction.Operator operator
      Mappings:
      Namespace Name Mixin selector
      official e Ldsj$b;e:Ldsj$c;
      intermediary field_17023 Lnet/minecraft/class_3837$class_3839;field_17023:Lnet/minecraft/class_3837$class_3841;
      named operator Lnet/minecraft/loot/function/CopyNbtLootFunction$Operation;operator:Lnet/minecraft/loot/function/CopyNbtLootFunction$Operator;
  • Constructor Details

    • Operation

      Operation(String sourcePath, String targetPath, CopyNbtLootFunction.Operator operator)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldsj$b;<init>(Ljava/lang/String;Ljava/lang/String;Ldsj$c;)V
      intermediary <init> Lnet/minecraft/class_3837$class_3839;<init>(Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/class_3837$class_3841;)V
      named <init> Lnet/minecraft/loot/function/CopyNbtLootFunction$Operation;<init>(Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/loot/function/CopyNbtLootFunction$Operator;)V
  • Method Details

    • execute

      public void execute(Supplier<NbtElement> itemNbtGetter, NbtElement sourceEntityNbt)
      Mappings:
      Namespace Name Mixin selector
      official a Ldsj$b;a(Ljava/util/function/Supplier;Lqc;)V
      intermediary method_16860 Lnet/minecraft/class_3837$class_3839;method_16860(Ljava/util/function/Supplier;Lnet/minecraft/class_2520;)V
      named execute Lnet/minecraft/loot/function/CopyNbtLootFunction$Operation;execute(Ljava/util/function/Supplier;Lnet/minecraft/nbt/NbtElement;)V
    • toJson

      public JsonObject toJson()
      Mappings:
      Namespace Name Mixin selector
      official a Ldsj$b;a()Lcom/google/gson/JsonObject;
      intermediary method_16858 Lnet/minecraft/class_3837$class_3839;method_16858()Lcom/google/gson/JsonObject;
      named toJson Lnet/minecraft/loot/function/CopyNbtLootFunction$Operation;toJson()Lcom/google/gson/JsonObject;
    • fromJson

      public static CopyNbtLootFunction.Operation fromJson(JsonObject json)
      Mappings:
      Namespace Name Mixin selector
      official a Ldsj$b;a(Lcom/google/gson/JsonObject;)Ldsj$b;
      intermediary method_16859 Lnet/minecraft/class_3837$class_3839;method_16859(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_3837$class_3839;
      named fromJson Lnet/minecraft/loot/function/CopyNbtLootFunction$Operation;fromJson(Lcom/google/gson/JsonObject;)Lnet/minecraft/loot/function/CopyNbtLootFunction$Operation;