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
named net/minecraft/loot/function/CopyNbtLootFunction$Builder
intermediary net/minecraft/class_3837$class_3838
official erx$a
  • Field Details

    • source

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

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

    • Builder

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

    • withOperation

      public CopyNbtLootFunction.Builder withOperation(String source, String target, CopyNbtLootFunction.Operator operator)
      Mappings:
      Namespace Name Mixin selector
      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;
      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;
      official a Lerx$a;a(Ljava/lang/String;Ljava/lang/String;Lerx$c;)Lerx$a;
    • withOperation

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

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

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