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.

m27315

Members
  • Joined

  • Last visited

  1. I had missed flowing_water and flowing_lava. This helped most of my problems. Thanks! However, in my mod, I still have this issue, where I'm setting blocks so fast, that although there is no water flowing in a block, several seconds after I finish setting all of my blocks there may be flowing water. It's a time issue, where I need to wait several seconds for water to flow down to all of the places it will eventually be. Is there a way to check if water will eventually flow in a block? I'm guessing, no, and I don't mind living with it, but I though I would check. Thanks!
  2. Hi, I know how to test if a block is a water or lava block: Block block = world.getBlock(x, y, z); return block.equals(Blocks.water) || block.equals(Blocks.lava); However, an adjacent block - or a block far below - may be air and have water or lava running through it. I want to find these blocks too. How do I determine if a block at x,y,z has any liquid (lava or water) in it? Thanks!
  3. I'm a little out of my water, being new to Forge Mod development. I'd like for each user to have their own config file, which if it doesn't exist, I want to copy it out of the mod and into the user's config file space. It's a non-standard config file, so I can't use the easier read/write config file methods. ... Dumb question, where can I find more info on MyMod.class.getResourceAsStream in the forge javadocs? What class does that belong to? ... Thanks!
  4. Hi, I'd like to include a plain text file in my forge mod. I'm guessing it goes somewhere in the assets folder, but I do not know where to place it or how to find it once the mod is running. Any pointers? Thanks!

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.