Class ConvertLootTableUtil
java.lang.Object
pl.szczurowsky.loottableparser.util.paper.ConvertLootTableUtil
Utility class for converting loot table to list of items
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<org.bukkit.inventory.ItemStack>
convertLootTable
(LootTableObject lootTableObject, boolean bonus) Converts loot table to list of items
-
Method Details
-
convertLootTable
public static List<org.bukkit.inventory.ItemStack> convertLootTable(LootTableObject lootTableObject, boolean bonus) Converts loot table to list of items- Parameters:
lootTableObject
- loot table objectbonus
- bonus- Returns:
- list of items
-