Skip to content

Created the creative loot tables plugin #466

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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