public class SetNBT extends LootFunction
| Modifier and Type | Class and Description |
|---|---|
static class |
SetNBT.Serializer |
| Constructor and Description |
|---|
SetNBT(LootCondition[] conditionsIn,
NBTTagCompound tagIn) |
| Modifier and Type | Method and Description |
|---|---|
ItemStack |
apply(ItemStack stack,
java.util.Random rand,
LootContext context) |
getConditionspublic SetNBT(LootCondition[] conditionsIn, NBTTagCompound tagIn)
public ItemStack apply(ItemStack stack, java.util.Random rand, LootContext context)
apply in class LootFunction