Package net.minecraft.loot.function
Class CopyNbtLootFunction.Builder
java.lang.Object
net.minecraft.loot.function.ConditionalLootFunction.Builder<CopyNbtLootFunction.Builder>
net.minecraft.loot.function.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 dkq$a
intermediary net/minecraft/class_3837$class_3838
named net/minecraft/loot/function/CopyNbtLootFunction$Builder
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List<CopyNbtLootFunction.Operation>
private final LootNbtProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
protected CopyNbtLootFunction.Builder
withOperation
(String source, String target) withOperation
(String source, String target, CopyNbtLootFunction.Operator operator) Methods inherited from class net.minecraft.loot.function.ConditionalLootFunction.Builder
conditionally, getConditions, getThis
-
Field Details
-
source
- Mappings:
Namespace Name Mixin selector official a
Ldkq$a;a:Ldmu;
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
- Mappings:
Namespace Name Mixin selector official b
Ldkq$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>
Ldkq$a;<init>(Ldmu;)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
Ldkq$a;a(Ljava/lang/String;Ljava/lang/String;Ldkq$c;)Ldkq$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
- Mappings:
Namespace Name Mixin selector official a
Ldkq$a;a(Ljava/lang/String;Ljava/lang/String;)Ldkq$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
- Specified by:
getThisBuilder
in classConditionalLootFunction.Builder<CopyNbtLootFunction.Builder>
- Mappings:
Namespace Name Mixin selector official a
Ldkq$a;a()Ldkq$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
- Mappings:
Namespace Name Mixin selector official b
Ldky$a;b()Ldky;
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;
-