help needed please (i need this done before monday)

Started by dylanthecool101 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
help needed please (i need this done before monday)

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)

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If it is a problem in…
Sat, 11/16/2024 - 15:16

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.

Joined Nov 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
sorry i got to this late i…
Sat, 11/16/2024 - 16:08

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

Joined Nov 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ok i just did some testing…
Sat, 11/16/2024 - 16:38

ok i just did some testing and it's not the placing that's the issue it's the like scanning thing i tested with a simple command