public class CopyNbt extends LootFunction
Modifier and Type | Class and Description |
---|---|
static class |
CopyNbt.Action |
static class |
CopyNbt.Builder |
static class |
CopyNbt.Serializer |
static class |
CopyNbt.Source |
ILootFunction.IBuilder
conditions
Modifier and Type | Method and Description |
---|---|
ItemStack |
doApply(ItemStack stack,
LootContext context) |
static CopyNbt.Builder |
func_215881_a(CopyNbt.Source p_215881_0_) |
java.util.Set<LootParameter<?>> |
getRequiredParameters() |
apply, builder, func_215856_a
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
func_215858_a
public java.util.Set<LootParameter<?>> getRequiredParameters()
public ItemStack doApply(ItemStack stack, LootContext context)
doApply
in class LootFunction
public static CopyNbt.Builder func_215881_a(CopyNbt.Source p_215881_0_)