Deleting Previous Instances of Blocks

Started by @USB_Headphones2 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Deleting Previous Instances of Blocks

I have a tool called the Travel Stick. What I want it to do is basically when i right click with it, it will delete all previous instances of, lets say, stone made with thie stick. it will then place a block underneath the player. any ideas on how i would do that? for creating the block I have been using the command /setblock ~ ~-1 ~ minecraft:stone, But i still need a way to delete all previous insances of the blocks maed with the stick.

Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Maybe try saving theā€¦
Sat, 08/10/2024 - 00:02

Maybe try saving the coordinates that you did the first command at and run the same command but with air

Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
would i just use scoreboardā€¦
Sat, 08/10/2024 - 02:09

would i just use scoreboard values for that? I have not had sucess with that in the pasl

Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ok, solved. thank you!
Sat, 08/10/2024 - 15:39

ok, solved. thank you!