public static class Loot.WrittenBook
extends net.minecraft.world.storage.loot.functions.LootFunction
| Constructor and Description |
|---|
WrittenBook(net.minecraft.world.storage.loot.conditions.LootCondition[] conditions,
java.lang.String title,
java.lang.String author,
java.lang.String[] pages) |
| 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) |