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 named net/minecraft/loot/function/CopyNbtLootFunction$Builder
intermediary net/minecraft/class_3837$class_3838
official exp$a
-
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, getThisConditionConsumingBuilder
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.loot.condition.LootConditionConsumingBuilder
conditionally
-
Field Details
-
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
Lexp$a;a:Lfal;
-
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
Lexp$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>
Lexp$a;<init>(Lfal;)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
Lexp$a;a(Ljava/lang/String;Ljava/lang/String;Lexp$c;)Lexp$a;
-
withOperation
- 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
Lexp$a;a(Ljava/lang/String;Ljava/lang/String;)Lexp$a;
-
getThisBuilder
- Specified by:
getThisBuilder
in classConditionalLootFunction.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
Lexp$a;a()Lexp$a;
-
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
Leyc$a;b()Leyc;
-