Hello, need some help with my scrips, I'm trying to make a custom crafting recipe for tnt. There's not problem with that it's working but i also want to block the original recipe.
(this part of the script is fine)
if name of event-item is "tnt":
cancel event
I was thinking of making something like
on craft tnt:
if name of event-item is "Dynamit":
do nothing
else cancel event
(sorry for bad tabbing)
(this part of the script is fine)
options:
Dynamit: tnt
on load:
register new shapeless recipe for {@Dynamit} named "&2&lDynamit" using gunpowder, sand, gunpowder, sand, diamond, sand, gunpowder, sand, gunpowder
(can't make this working, it blocks both craftings, the regular one and the custom one)
on craft tnt:Dynamit: tnt
on load:
register new shapeless recipe for {@Dynamit} named "&2&lDynamit" using gunpowder, sand, gunpowder, sand, diamond, sand, gunpowder, sand, gunpowder
(can't make this working, it blocks both craftings, the regular one and the custom one)
if name of event-item is "tnt":
cancel event
I was thinking of making something like
on craft tnt:
if name of event-item is "Dynamit":
do nothing
else cancel event
(sorry for bad tabbing)