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

I was wondering if there were any guides on what each method of the chunk generator was meant to return. I'm making a fixed chunk generator with nothing random, so it should be pretty easy to create, but I don't understand what methods like getBaseColumn() are meant to return. I'm unsure what the order of the array in the NoiseColumn means. 

Edited by DavidQF555

The method is for Structures, no idea for what exactly, you can return a array with zero size, you can look here for an example

  • Author
1 hour ago, Luis_ST said:

The method is for Structures, no idea for what exactly, you can return a array with zero size, you can look here for an example

If I am not creating structures, then they are not needed? Also what are min, max, and base height and gen depth? Many of these just all seem really similar and generic to me. 

Yes if you not generating Structures you can return an empty array. min is the min y height (default is in 1.17 0), max is the max y height, base height controls the base Structure height, genDepth no idea

  • Author

https://pastebin.com/J8EC8Za7

This is my custom chunk generator. It is just a constant generator that takes in Settings which includes a shape I want to generate. I'm working with dynamic dimensions which is why some parts might seem strange. The issue is that when I go to the dimension with that chunk generator, I am just stuck in a loading screen forever with no errors in console or anything. I tried replacing the chunk generator of the dimension to a flat, vanilla one, and that caused the loading to work, so it should be an issue with my chunk generator. I'm just not sure as to what issue it is. 

 

Edit: Nevermind, it's just an infinite loop because I used offset() wrong for blockpos. 

Edited by DavidQF555

  • DavidQF555 changed the title to [Solved][1.17.1] Chunk Generator methods

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.