Started by
Nocimar
on
Topic category: Help with Minecraft modding (Java Edition)
example:
if player moves outside of an area, player gets teleported back inside
but i want it to only do so if something is active.
best version to really explain it, is, "red light, green light"
if its red light and you move outside the area, you get teleported back, but if its green light you can go outside the area.
Just use an if condition. I think there is something like global variables, maybe you could test them.