Topic category: Help with modding (Java Edition)
I wan't to make a couple of custom gui crafter things, I want one to only make tools with CanDestroy and one that give's items the CanPlaceOn function...
Basically my question is how can I make this (if possible) get the block data from a block placed in the input slot of a gui (with another slot having a tool in it) and add it to the CanDestroy command and have that gui's output slot give a tool that can then destroy that block type?
As for the CanPlaceOn function I basically just want to place a block in another gui and have it come out as a CanPlaceOn nearly everything which I think I already made a code somewhere for but yea, How can I do these things if it's possible?
Can we use variable codes with this and no I don't mean numbers..