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.

TNTworks

Members
  • Joined

  • Last visited

Everything posted by TNTworks

  1. Whataver, i guess it does load the chunk if u are using this function, the function is from vanilla minecraft TileEntity tileentity = par0World.getBlockTileEntity(i, j, k); which i traced back and it goes like this TileEntity tileentity = par0World.getBlockTileEntity(i, j, k); --> Chunk chunk = this.getChunkFromChunkCoords(par1 >> 4, par3 >> 4); ----> return this.chunkProvider.provideChunk(par1, par2); ------> return chunk == null ? /*other stuff*/ this.loadChunk(par1, par2)) : chunk; --------> chunk = this.safeLoadChunk(par1, par2); ----------> Chunk chunk = this.currentChunkLoader.loadChunk(this.worldObj, par1, par2); ------------> return this.checkedReadChunkFromNBT(par1World, par2, par3, nbttagcompound); which of course will load even the uploaded chunks , i hope i helped someone who will ask this question again
  2. Hello, I would like to ask a question about how chunk loading is affected by multiblock structures, lets imagine I'm coding a multiblock long 32 blocks x 3 x 3, this structure can intersect 2 or 3 chunks, what if i have 2 TileEntities on both sides, which are 32 blocks away from each other, they are communicating with each other Imagine 1st part want to insert/take item from the other part which is in 2nd/3rd chunk away, which is not loaded by player, what will happen?, will the game load that chunk?, or will it throw some error/null? That's a theoretical question, I'm actually coding an multistructural machine, which is supposed to have 2 TileEntities, they are going to take/insert items from each other, and so one... Thanks EDIT: Version im going to code in is 1.6.4, but i think that should not matter that much.

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.