Skip to content

Conversation

@Darukshock
Copy link

@Darukshock Darukshock commented Apr 5, 2025

What does it do ?

With the new creative loot tables mod, datapack creators and users can now easily access custom items via a menu.

Example

  • Create a set of loot tables at namespace:item/..., and another at namespace:weapon/...
  • In your beet.json, in the meta field, write :
"creative_loot_tables": {
  "pattern": ".*(item|weapon)/.*"
}
  • append "beet.contrib.creative_loot_tables" to your pipeline list
  • Build the project, and load the datapack with the creative loot tables mod in creative mode
  • Open the creative inventory; the custom items will be in the tab with a bundle icon.

Why ?

Having this plugin is a much more convenient way to use the mod, as without it, you have to manually append each loot table to the creative loot table. Now a single regex does all the work for you.

@rx-dev
Copy link
Member

rx-dev commented Apr 20, 2025

I think this plugin isn't that suitable for the main beet repo since it's highly coupled with a niche mod. Is there a reason why this shouldn't be a third-party crate?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants