Class CopyCustomDataFunction.Builder
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Builder<CopyCustomDataFunction.Builder>
net.minecraft.world.level.storage.loot.functions.CopyCustomDataFunction.Builder
- All Implemented Interfaces:
LootItemFunction.Builder
,ConditionUserBuilder<CopyCustomDataFunction.Builder>
- Enclosing class:
CopyCustomDataFunction
public static class CopyCustomDataFunction.Builder
extends LootItemConditionalFunction.Builder<CopyCustomDataFunction.Builder>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List
<CopyCustomDataFunction.CopyOperation> private final NbtProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
copy
(String p_331311_, String p_335916_, CopyCustomDataFunction.MergeStrategy p_332655_) protected CopyCustomDataFunction.Builder
getThis()
Methods inherited from class net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Builder
getConditions, unwrap, when
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.level.storage.loot.predicates.ConditionUserBuilder
when
-
Field Details
-
source
-
ops
-
-
Constructor Details
-
Builder
Builder(NbtProvider p_328406_)
-
-
Method Details
-
copy
public CopyCustomDataFunction.Builder copy(String p_331311_, String p_335916_, CopyCustomDataFunction.MergeStrategy p_332655_) -
copy
-
getThis
- Specified by:
getThis
in classLootItemConditionalFunction.Builder<CopyCustomDataFunction.Builder>
-
build
-