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.

Pitaxed

Members
  • Joined

  • Last visited

Everything posted by Pitaxed

  1. Here's a repo with (hopefully) all the relevant files to build it locally: https://github.com/pitaxed/moses Even if you don't know exactly what I'm doing wrong, it would be nice to know if at least my approach is somewhat sane or if I should do something else entirely. I ultimately want to replace all water blocks with slow water during generation.
  2. So like the title suggests, I would like to change water so it flows slower. The relevant value is sadly hard coded in a getter function, so I thought the easiest way would be to make my own Fluid (SlowWaterFluid) and discovered half way through, that I should also make my own Block (SlowLiquidBlock) , which are mostly the Vanilla classes copied and altered. But I ran into a problem with the getFlowing/getSource functions. I register both the fluids(source/flowing) into their registries in their own init classes and register those in the constructor of my main class. When I try to reference in the fluid class via SLOW_WATER.get()/SLOW_FLOWING_WATER.get() it only returns a null value, if I guard it in an if(SLOW_WATER.isPresent()) block I get an error during the registration. What am I doing wrong/what am I misunderstanding? Edit: Correctied the code formatting

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.