Home
DATAPACKS
TUTORIALS
Resource Packs
THE BEST TUTORIAL TO DISABLE CRAFTING IN MINECRAFT
This tutorial disables Certain Blocks to be crafted in Vanilla Minecraft.
CHANGE THE WORD "tnt" IN THE COMMANDS AND REPLACE IT WITH THE ITEM YOU WANT.
WHAT'S WITH 4 SANDS AND 5 GUNPOWDERS?
Because the Recipe for Crafting a Tnt contains 5 Gunpowders and 4 Sand.
When you will get a Tnt from your inventory, It won't disappear because It will only remove Items that were Crafted only.
Chain / Conditional / Always Active
/give @p[score_CraftTnt_min=1] sand 4
Chain / Conditional / Always Active
/give @p[score_CraftTnt_min=1] gunpowder 5
Chain / Unconditional / Always Active
/clear @p[score_CraftTnt_min=1] tnt 0 1
Repeat / Unconditional / Always Active
/scoreboard objectives add CraftTnt stat.craftitem.minecraft.tnt