public class SetSpeciesNBT
extends net.minecraft.world.storage.loot.functions.LootFunction
| Modifier and Type | Class and Description |
|---|---|
static class |
SetSpeciesNBT.Serializer |
| Constructor and Description |
|---|
SetSpeciesNBT(net.minecraft.world.storage.loot.conditions.LootCondition[] conditionsIn,
java.lang.String speciesUid) |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.item.ItemStack |
apply(net.minecraft.item.ItemStack stack,
java.util.Random rand,
net.minecraft.world.storage.loot.LootContext context) |