Started by
dylanthecool101
on
Topic category: Help with Minecraft modding (Java Edition)
i would like to be able to click on a block with an item and change that block into another block but i can't do it please any help is very appreciated
if you're wondering why i'm working on a mod for my friend's server so that he can get overpowered stuff easily and my method for that was making one form of the block unbreakable and a second one that is breakable and the unbreakable one can get swapped to the breakable one with an item that only my friend will have but i couldn't do that so please someone help
what i made here: https://imgur.com/a/JA9uo0r
(yes i used a preset thing i started using this today)
If it is a problem in regards to actually placing the block, you can use the execute block, and do fill ~ ~ ~ (modname):block
If you want the exact command, go into a world and fill the block you want right under you, then copy that command into the execute block. If this doesn't work, it is likely a flaw with detecting when to activate. I'm not sure how to fix that if that is the case.
sorry i got to this late i tried what you said but it didn't work it detects when to activate when i use a command this is just for testing so if there's anything else that could work please tell me