Package net.minecraft.loot.functions
Class CopyNbt.Builder
- java.lang.Object
-
- net.minecraft.loot.LootFunction.Builder<CopyNbt.Builder>
-
- net.minecraft.loot.functions.CopyNbt.Builder
-
- All Implemented Interfaces:
ILootFunction.IBuilder
,ILootConditionConsumer<CopyNbt.Builder>
- Enclosing class:
- CopyNbt
public static class CopyNbt.Builder extends LootFunction.Builder<CopyNbt.Builder>
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<CopyNbt.Operation>
ops
private CopyNbt.Source
source
-
Constructor Summary
Constructors Modifier Constructor Description private
Builder(CopyNbt.Source p_i50675_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ILootFunction
build()
CopyNbt.Builder
copy(java.lang.String p_216056_1_, java.lang.String p_216056_2_)
CopyNbt.Builder
copy(java.lang.String p_216055_1_, java.lang.String p_216055_2_, CopyNbt.Action p_216055_3_)
protected CopyNbt.Builder
getThis()
-
Methods inherited from class net.minecraft.loot.LootFunction.Builder
getConditions, unwrap, when
-
-
-
-
Field Detail
-
source
private final CopyNbt.Source source
-
ops
private final java.util.List<CopyNbt.Operation> ops
-
-
Constructor Detail
-
Builder
private Builder(CopyNbt.Source p_i50675_1_)
-
-
Method Detail
-
copy
public CopyNbt.Builder copy(java.lang.String p_216055_1_, java.lang.String p_216055_2_, CopyNbt.Action p_216055_3_)
-
copy
public CopyNbt.Builder copy(java.lang.String p_216056_1_, java.lang.String p_216056_2_)
-
getThis
protected CopyNbt.Builder getThis()
- Specified by:
getThis
in classLootFunction.Builder<CopyNbt.Builder>
-
build
public ILootFunction build()
-
-