Class CopyNbtLootFunction.Builder

All Implemented Interfaces:
LootConditionConsumingBuilder<CopyNbtLootFunction.Builder>, LootFunction.Builder
Enclosing class:
CopyNbtLootFunction

public static class CopyNbtLootFunction.Builder extends ConditionalLootFunction.Builder<CopyNbtLootFunction.Builder>
Mappings:
Namespace Name
official dmf$a
intermediary net/minecraft/class_3837$class_3838
named net/minecraft/loot/function/CopyNbtLootFunction$Builder
  • Field Details

    • source

      private final LootNbtProvider source
      Mappings:
      Namespace Name Mixin selector
      official a Ldmf$a;a:Ldoj;
      intermediary field_17017 Lnet/minecraft/class_3837$class_3838;field_17017:Lnet/minecraft/class_5651;
      named source Lnet/minecraft/loot/function/CopyNbtLootFunction$Builder;source:Lnet/minecraft/loot/provider/nbt/LootNbtProvider;
    • operations

      private final List<CopyNbtLootFunction.Operation> operations
      Mappings:
      Namespace Name Mixin selector
      official b Ldmf$a;b:Ljava/util/List;
      intermediary field_17018 Lnet/minecraft/class_3837$class_3838;field_17018:Ljava/util/List;
      named operations Lnet/minecraft/loot/function/CopyNbtLootFunction$Builder;operations:Ljava/util/List;
  • Constructor Details

    • Builder

      Builder(LootNbtProvider source)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldmf$a;<init>(Ldoj;)V
      intermediary <init> Lnet/minecraft/class_3837$class_3838;<init>(Lnet/minecraft/class_5651;)V
      named <init> Lnet/minecraft/loot/function/CopyNbtLootFunction$Builder;<init>(Lnet/minecraft/loot/provider/nbt/LootNbtProvider;)V
  • Method Details

    • withOperation

      public CopyNbtLootFunction.Builder withOperation(String source, String target, CopyNbtLootFunction.Operator operator)
      Mappings:
      Namespace Name Mixin selector
      official a Ldmf$a;a(Ljava/lang/String;Ljava/lang/String;Ldmf$c;)Ldmf$a;
      intermediary method_16857 Lnet/minecraft/class_3837$class_3838;method_16857(Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/class_3837$class_3841;)Lnet/minecraft/class_3837$class_3838;
      named withOperation Lnet/minecraft/loot/function/CopyNbtLootFunction$Builder;withOperation(Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/loot/function/CopyNbtLootFunction$Operator;)Lnet/minecraft/loot/function/CopyNbtLootFunction$Builder;
    • withOperation

      public CopyNbtLootFunction.Builder withOperation(String source, String target)
      Mappings:
      Namespace Name Mixin selector
      official a Ldmf$a;a(Ljava/lang/String;Ljava/lang/String;)Ldmf$a;
      intermediary method_16856 Lnet/minecraft/class_3837$class_3838;method_16856(Ljava/lang/String;Ljava/lang/String;)Lnet/minecraft/class_3837$class_3838;
      named withOperation Lnet/minecraft/loot/function/CopyNbtLootFunction$Builder;withOperation(Ljava/lang/String;Ljava/lang/String;)Lnet/minecraft/loot/function/CopyNbtLootFunction$Builder;
    • getThisBuilder

      protected CopyNbtLootFunction.Builder getThisBuilder()
      Specified by:
      getThisBuilder in class ConditionalLootFunction.Builder<CopyNbtLootFunction.Builder>
      Mappings:
      Namespace Name Mixin selector
      official a Ldmf$a;a()Ldmf$a;
      intermediary method_16855 Lnet/minecraft/class_3837$class_3838;method_16855()Lnet/minecraft/class_3837$class_3838;
      named getThisBuilder Lnet/minecraft/loot/function/CopyNbtLootFunction$Builder;getThisBuilder()Lnet/minecraft/loot/function/CopyNbtLootFunction$Builder;
    • build

      public LootFunction build()
      Mappings:
      Namespace Name Mixin selector
      official b Ldmn$a;b()Ldmn;
      intermediary method_515 Lnet/minecraft/class_117$class_118;method_515()Lnet/minecraft/class_117;
      named build Lnet/minecraft/loot/function/LootFunction$Builder;build()Lnet/minecraft/loot/function/LootFunction;