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.

Sekai Red

Members
  • Joined

  • Last visited

Everything posted by Sekai Red

  1. Hello, I was trying to override the vanilla grass block spread behavior by registering my own grass block and implementing it's own random tick function, it seemed to work in an all dirt superflat but the moment I created a regular world, all grass blocks are missing and patches of sand, gravel and pumpkins are floating up. (https://i.imgur.com/9fYC5YF.png) I have to assume this field is the culprit because of it being static and DeferredRegister happening later. (along with some in other world gen classes that cache the old BlockState) public abstract class SurfaceBuilder<C extends ISurfaceBuilderConfig> extends net.minecraftforge.registries.ForgeRegistryEntry<SurfaceBuilder<?>> { [...] private static final BlockState GRASS_BLOCK = Blocks.GRASS_BLOCK.defaultBlockState(); [...] } I tried to use reflection to fix this but it doesn't seem to change things and is probably a bad idea, is there any way to fix this or is it better to avoid overriding any vanilla blocks and instead have my own replace them in generated chunks? https://github.com/SekaiRed/GradualGrass

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.