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 djs$a
intermediary net/minecraft/class_3837$class_3838
named net/minecraft/loot/function/CopyNbtLootFunction$Builder
-
Field Summary
Modifier and TypeFieldDescriptionprivate List<CopyNbtLootFunction.Operation>
private 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
Ldjs$a;a:Ldlv;
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
Ldjs$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 lootNbtProvider)
-
-
Method Details
-
withOperation
public CopyNbtLootFunction.Builder withOperation(String source, String target, CopyNbtLootFunction.Operator operator)- Mappings:
Namespace Name Mixin selector official a
Ldjs$a;a(Ljava/lang/String;Ljava/lang/String;Ldjs$c;)Ldjs$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
Ldjs$a;a(Ljava/lang/String;Ljava/lang/String;)Ldjs$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
Ldjs$a;a()Ldjs$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
Ldka$a;b()Ldka;
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;
-