#(pVen) world script happening only in a specified region
19 messages · Page 1 of 1 (latest)
(pVen) world script happening only in a specified region
Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>
Mine:
type: world
events:
after player breaks diamond_ore:
- define blockLocation <context.location>
- modifyblock <[blockLocation]> bedrock
- wait 3s
- modifyblock <[blockLocation]> diamond_ore
```this is the code and i want this happening to blocks only in a specified region
You can make and note areas (cuboids, ellipsoids, spheres, polygons) easily using this Drop-In Ready area selector tool script: https://forum.denizenscript.com/resources/area-selector-tool.1/.
then, after having the area noted
simply use the in:<area> switch
so, after player breaks diamond_ore in:my_noted_area:
oh ok, tysm