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

As the title says: I'd love to be able to allow custom world types to be able to generate worlds with a height of 256. The changes necessary are actually very simple and I tried them already by modifying vanilla code. The following (hand written) patch would modify the code so that both vanilla generation and 256 generation would be possible.

 

Chunk.java:131

- int var9 = par2ArrayOfByte[var6 << 11 | var7 << 7 | var8] & 0xFF;

+ int var9 = var5 == 256? par2ArrayOfByte[var6 << 12 | var7 << 8 | var8] & 0xFF : par2ArrayOfByte[var6 << 11 | var7 << 7 | var8] & 0xFF;

 

MapGenCaves.java:20

+ final int chunkDataHeight = par5ArrayOfByte.length / 256;

 

:137

- var45 = (var42 * 16 + var43) * 128 + var44;

+ var45 = (var42 * 16 + var43) * chunkDataHeight + var44;

 

:139

- if (var44 >= 0 && var44 < 128)

+ if (var44 >= 0 && var44 < chunkDataHeight)

 

:165

- int var48 = (var42 * 16 + var45) * 128 + var38;

+ int var48 = (var42 * 16 + var45) * chunkDataHeight + var38;

 

MapGenRavine.java:11

+ final int chunkDataHeight = par5ArrayOfByte.length / 256;

 

:124

- var44 = (var41 * 16 + var42) * 128 + var43;

+ var44 = (var41 * 16 + var42) * chunkDataHeight + var43;

 

:126

- if (var43 >= 0 && var43 < 128)

+ if (var43 >= 0 && var43 < chunkDataHeight)

 

:152

- int var47 = (var41 * 16 + var44) * 128 + var37;

+ int var47 = (var41 * 16 + var44) * chunkDataHeight + var37;

 

 

My Mods

 

New Dawn - A completely new terrain engine for Minecraft

TwoTility - Blocks and Items for a better Minecraft

TwoGraves - Keeps your items safe on death

whats the current height at? 192? i think thats as far as i can fly with a jetpack currently =s

  • Author

Max build-height of the world is currently 256, but you can only generate the world with a max height of 128.

My Mods

 

New Dawn - A completely new terrain engine for Minecraft

TwoTility - Blocks and Items for a better Minecraft

TwoGraves - Keeps your items safe on death

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.