DrHenchman / uhc-pack

A datapack for Minecraft Java Edition for running Ultra Hardcore (UHC) tournaments
GNU Affero General Public License v3.0
23 stars 5 forks source link

Added diamond chestplate refund #22

Closed PhotonBursted closed 4 years ago

PhotonBursted commented 4 years ago

When diamond chestplates are not allowed during the game, whenever a chestplate lands in someone's inventory, this chestplate gets converted back into its ingredients. This solves issue #8.

This is the most basic solution for it, I'm sure there's small improvements to be made. For example, it might be neat to filter on armor slots, in case a mob drops an enchanted piece of armor (rare case, obviously) which might be useful to disenchant and get books that way.

DrHenchman commented 4 years ago

Could you also rebase onto master. I have added CI to verify the datapack loads in Minecraft

DrHenchman commented 4 years ago

Looks great. Thanks for the contribution ⭐