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.

turangur

Members
  • Joined

  • Last visited

  1. I have an ore I wish to generate less than once per chunk. This is what I came up with to do that. I'm wondering if this will have the intended effect and whether this might break anything else by changing the chunkX and chunkZ 16's to larger numbers. Thanks in advance! for(int i=0; i < 1; i++) { int chunkX = x + random.nextInt(32); int chunkY = random.nextInt(40); int chunkZ = z + random.nextInt(32); (new WorldGenMinable(SudokuuMain.rarite, 5)).generate(world, random, chunkX, chunkY, chunkZ); }
  2. Thank you for the reply! It's not recreating the blocks and items that I wanted to avoid, it was blocking out the old hay and wheat. But if that is the best way of going about it then I'm willing to.
  3. I'm looking to make the items hay and wheat edible, but I'm not sure how to go about doing it. The only way I can think of would be to stop those items from being generated or crafted, and creating entirely new items and blocks to replace them, but if possible I do not want to do that as it sounds extremely complicated and messy. Is there another way to make hay and wheat edible? Any help is appreciated. A link to another forum post I missed or pointing me to a certain area in the code would be helpful. Thanks in advance!

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.