2

Removal of diamond tools & armour w/ a datapack

autreymg's Avatar autreymg4/12/19 7:13 pm history
2 emeralds 471
Hey I could really use your guys help bc I'm in uncharted waters here (for me). Im making a datapack and I'd like to know how to make a .mcfunction file that:

3)sets gamerule doLimitedCrafting to true
2) gives the recipe for diamond armour & tools to all players that haven't already had it removed
2a) if any players are not "unlearnt" diamond armour & tool recipes then give them diamond armour & tool recipes
3) takes away these recipes effectively removing it from their ability to make it
3a) if any players are not "unlearnt" diamond armour & tool recipes then remove recipes and mark them as "unlearnt"

I hope the "if, then" statements help. Please also let me know if you need clarification as to what I mean, I understand if something is unclear. This datapack will likely only be used on single player wolds, but multiplayer compatibility would be very nice. please include file directory if necessary
Ex:
saves/test_world/datapacks/removing_diamonds/data/(ect...)
Posted by autreymg's Avatar
autreymg
Level 10 : Journeyman Explorer
1

Create an account or sign in to comment.

Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome