Here is my idea: add a part of the NBT data to Decorative Pots so map makers can make them drop loot.
As I was messing around with the new Decorative Pots I found that you can switch out the "shard" part of the command for objects that weren't shards and have them drop when you broke the pot. The issue was then I couldn't have all the "faces" on the pot have an image. So I propose a "rewards" array, similar to the "Items" array found when modifying chests to be pre-filled.
A command to create these pots could look something like this:
/data merge block ~X ~Y ~Z {shards:["minecraft:pottery_shard_prize","minecraft:pottery_shard_prize","minecraft:pottery_shard_prize","minecraft:pottery_shard_prize"],rewards:[{id:"minecraft:diamond_sword",Count:1b,tag:{Enchantments:[{id:"minecraft:sharpness",lvl:2s}]}},{id:"minecraft:emerald",Count:16b},{id:"minecraft:iron_boots",Count:1b,tag:{Enchantments:[{id:"minecraft:feather_falling",lvl:3s},{id:"minecraft:soul_speed",lvl:1s}],Trim:{material:"minecraft:redstone",pattern:"minecraft:eye"}}}]}
Now this pot has all sides with the "Diamond"/"Prize" decoration and it will drop an Enchanted Diamond Sword, Emeralds, and Trimmed Enchanted Iron Boots. It may fit some themed maps more to have loot pots you can smash instead of chests.
Or you could also use Loot Tables for these pots. This would only work though if the pots only drop with silk touch and break any other way. That way when they are broken they drop the loot.
Please sign in to leave a comment.
0 Comments