Jump to content

ChunkEvent.load not always working


Schleim_time

Recommended Posts

I want to make an event that triggers everytime a chunk is loaded but the problem ist that the chunk load event will only trigger for the chunks nearby to the  joinpoint of the world, so when i fly away of that, the chunks are not affected anymore of my event

 

@SubscribeEvent
    public void onEvent(ChunkEvent event) {
          Chunk theChunk = event.getChunk();

 

thats the start of my method, is there an other event that will fore when i fly around after joining? i tried the chunkwatchevent but it seems like i cant get a chunk from that event

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.