๐ loot_tables#
Sets up loot tables for the items of the definitions and external items.
- beet_default(ctx: Context)[source]#
Main entry point for the loot tables plugin. This plugin sets up loot tables for items in the definitions and external items.
- Parameters:
ctx โ The beet context.
- write_item_loot_table(
- obj: Item,
Write the loot table giving one of an item, its base item with every component set, a
!one removed.
- write_count_loot_tables(
- item: str,
- obj: Item,
Write a loot table per count other than 1 that the itemโs own recipes give, wrapping its loot table.
- give_all_chests(items: list[str], lore: str) list[str][source]#
The commands giving chests that hold every item, 27 per chest, each chest numbered and carrying the source lore.