I'm currently working on a datapack that adds a variety of different totems to the game, and currently they are all pooled together in one big pool. This works great, as the player is guaranteed to drop at least one totem, and the totem is selected at random from the pool. However, I was wondering if there is a good way to add different rarities to these drops while still keeping them in the same pool. In the past, I've just added more of the common ones to the loot pool, which technically worked, but I was wondering if there's a more efficient way to do this. I want to still guarantee that the player drops a totem from an evoker, but I want the totems in the pool to have differing rarities. Is there a way to do this? Let me know.
#differing rarities in entity lootpool?
1 messages · Page 1 of 1 (latest)
<@&1201956957406109788>
Someone will come and help soon!
💬 While you wait, take this time to provide more context and details.
🙇 If nobody has answered you by <t:1743038104:t>, feel free to use the Summon Helpers button to ping our helper team.
✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve
This is what the "weight" field is for
It goes in each entry along with the type and name, and just accepts an integer. Higher weights are more common, lower weights are less common
It's basically the same as adding extras of the more common entries, but as you said, more efficient and certainly less tedious
cool, thanks a lot!