Class CopyNbtFunction.Builder
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Builder<CopyNbtFunction.Builder>
net.minecraft.world.level.storage.loot.functions.CopyNbtFunction.Builder
- All Implemented Interfaces:
LootItemFunction.Builder
,ConditionUserBuilder<CopyNbtFunction.Builder>
- Enclosing class:
- CopyNbtFunction
public static class CopyNbtFunction.Builder
extends LootItemConditionalFunction.Builder<CopyNbtFunction.Builder>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List<CopyNbtFunction.CopyOperation>
private final NbtProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
copy
(String p_80283_, String p_80284_, CopyNbtFunction.MergeStrategy p_80285_) protected CopyNbtFunction.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_165183_)
-
-
Method Details
-
copy
public CopyNbtFunction.Builder copy(String p_80283_, String p_80284_, CopyNbtFunction.MergeStrategy p_80285_) -
copy
-
getThis
- Specified by:
getThis
in classLootItemConditionalFunction.Builder<CopyNbtFunction.Builder>
-
build
-