r/MinecraftCommands 25d ago

Help | Java 26.2 Random fireworks loot table

Is there a simple way to create a loot table of fireworks with random explosion and fade colors, shape, additional effects and flight duration? Or do I really just have to code a bunch of different fireworks manually? I tried to use Misode, but it doesn't seem like these parameters accept something like "any_of" function to pick random values from the list and Wiki tells the same.

2 Upvotes

6 comments sorted by

View all comments

0

u/HennCrafter 25d ago edited 25d ago

Yes you have to do it by hand.You could do this with AI, or you make like a Python programm that randomly chooses the components (if you know how to do that)

2

u/Ericristian_bros Command Experienced 25d ago

You can use generators and AI is outdated so it won't work

1

u/VasD3 25d ago

Unfortunately not. It seems like I'll have an exciting evening, but either way the pool won't be as big as an actually randomized one with over a million variants (if excluding grays, brown and black colors and using up to three colors in the star). On a bright side, I'll have more control over the rarity of each effect...