Item that lets the player move a block

Started by TheDuckKnight_Mc on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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...

Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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.