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.

sockpuppetcow

Members
  • Joined

  • Last visited

  1. Okay let's see if I can answer everyone at once here... I need the function to return a boolean if there is any amount of the block at all, so just finding one will work. I think doing a cube setup would end up causing false-positives in some cases because that would cover a bigger area than the actual 16 or so block radius that I need to search in (so I'm looking in a sphere here). Given that, I guess I'll go with jabelar and TGG's advice and see where that gets me. I'll come back and let you know what happens.
  2. Hi, I'm rather new to Forge modding and my current project requires me to detect a specific class of block within a certain radius of a player and return boolean. There has got to be a better way than making an individual line for each block in that radius. Anyone know it?
  3. Hi, I am COMPLETELY new to Forge modding, I've used bukkit before but Forge is still different. I have no idea what I'm doing. All of the tutorials I've found give code that does not work, for example: "import cpw.mods.fml.common.Mod;". I use that, and it gives me an error, this is of course because that class is not in the "common" package. If anyone knows of a tutorial that WILL work, could you direct me to this?

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.