Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

In 1.14.4, ForgeChunkManager no longer seems to be a thing.  There's plenty of mentions of it, but they are all commented out, and net.minecraftforge.common.ForgeChunkManager just isn't there.

 

Is there a viable replacement for it that I simply have not found?  I believe I can do it myself via ServerWorld, but that strikes me as less than ideal.

 

Tks!

  • 3 months later...

Hi! I was searching for the same thing and I came across this topic. Did you find the answer? And do I have to make my own topic or I can ask here?

  • Author

Well, we're here now, so we might as well stick with it.

 

Chunk loading is largely covered by vanilla now; you'll find a forceChunk(int chunkX, int chunkZ, boolean add) inside ServerWorld.  This, if I'm reading it correctly, appears to be saved with the Dimension data.

 

There is also a public void forceChunk(ChunkPos pos, boolean add) in ServerChunkProvider -- this uses a ticketing type system similar (but not identical) to what ForgeChunkManager provided.

 

You can also read some further discussion on mcenderdragon's (withdrawn) pull request.

 

 

 

Sorry for the late response.

I knew about the forceload command, but I didn't find that method. I'll try it when I'll be back to my pc (~10 hours). 

Ok so, I have seen how the forceChunk method works, as you said it uses a similar ticket system and it uses TicketTypes, so you can know what forced the chunk to load. The problem may be that I used the ForgeChunkManager to make a special projectile entity load chunks, but I don't know where to start, since I should do something in the

EntityEvent.EnteringChunk

, but I don't know what to do.

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.