EventListener on specific worlds

Hi there,

I was wondering if it is possible to register an event listener on specific maps/worlds.

The point would be to avoid checking from where the event is raised in every listening-event method of my listener and maybe to have a small optimization.

Thx for your answers :).

Quite simply - no. Whether it’s you or the server, there’s going to have to be filtering so for specific cases such as this you’ll have to manually check that the object such as a block, entity, weather etc is in the world you want.

Ok, thanks for this fast answer :).