Item that lets the player move a block

Started by TheDuckKnight_Mc on Mon, 04/19/2021 - 11:58

Topic category: Help with modding (Java Edition)

Last seen on 14:17, 6. May 2021
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Item that lets the player move a block
Mon, 04/19/2021 - 12:39 (edited)

So, the title might not me exactly clear. What I'm trying to make is an item, that when right clicked on a block, it removes the block it was right clicked on, and when right clicked again it places the block it "picked up" at about 4 blocks where the player is looking. I've tried to use local variables, nbt tags, global variables, multiple procedures but nothing seemed to work!!!

I hope it's possible, because I want to make it so bad.

Please help me!

Edited by TheDuckKnight_Mc on Mon, 04/19/2021 - 12:39
Last seen on 13:35, 3. May 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Maybe if you would activate…
Mon, 04/19/2021 - 19:42

Maybe if you would activate the power, you would clone the block with the /clone command.

Other than that, I don't know. just give up...

Last seen on 13:35, 3. May 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
If the player is looking…
Mon, 04/19/2021 - 19:46

If the player is looking north, he would clone blocks ~2 ~4 ~-4 ~-2 ~4 ~0 ect.