#Question about LevelEvents.tick

8 messages · Page 1 of 1 (latest)

pine moon
#

Why does it run 3 times per tick and how do I stop it from doing that?

wise flintBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

pine moon
#

The documentation on the wiki doesnt really help much (there is no description)

scarlet cloak
#

it runs once for each available level
you most likely have 3 then- overworld, nether, and end (or other levels)

pine moon
#

Oh

#

Is there a way to filter it for the overworld only?

scarlet cloak
#

add something like

if (event.level.dimension != 'minecraft:overworld') return

if i recall correctly

pine moon
#

Thank you