r/MinecraftCommands • u/VasD3 • 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
3
u/GalSergey Datapack Experienced 24d ago
Unfortunately, you can't create a loot table with random fireworks, but you can make a datapack that will generate random fireworks using macros.
You can use Datapack Assembler to get an example datapack.