public class SetNBT extends LootFunction
| Modifier and Type | Class and Description |
|---|---|
static class |
SetNBT.Serializer |
LootFunction.Builder<T extends LootFunction.Builder<T>>ILootFunction.IBuilder| Modifier and Type | Field and Description |
|---|---|
private CompoundNBT |
tag |
conditions| Modifier | Constructor and Description |
|---|---|
private |
SetNBT(ILootCondition[] conditionsIn,
CompoundNBT tagIn) |
| Modifier and Type | Method and Description |
|---|---|
static LootFunction.Builder<?> |
builder(CompoundNBT p_215952_0_) |
ItemStack |
doApply(ItemStack stack,
LootContext context) |
apply, builder, func_225580_a_clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfunc_215858_agetRequiredParametersprivate final CompoundNBT tag
private SetNBT(ILootCondition[] conditionsIn, CompoundNBT tagIn)
public ItemStack doApply(ItemStack stack, LootContext context)
doApply in class LootFunctionpublic static LootFunction.Builder<?> builder(CompoundNBT p_215952_0_)