Help with replacing certain blocks in an area

Started by Nanobott on Wed, 08/17/2022 - 19:04

Topic category: Help with modding (Java Edition)

Last seen on 15:28, 2. Oct 2022
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Help with replacing certain blocks in an area
Wed, 08/17/2022 - 19:10 (edited)

Im trying to make it so if you right click a custom block it will detect for a certain block in a 6x6x6 area and replace them with a different block.

This is what i have, im using the spawn entity as test.

https://imgur.com/a/O1k9umu

Any help?

(this is a template)

Edited by Nanobott on Wed, 08/17/2022 - 19:10