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.

Sjele

Members
  • Joined

  • Last visited

Everything posted by Sjele

  1. Thank you so much! Now I just need to read up on how to use tile entites, I'll spend some time reading, if i can't get it working i'll ask again , thanks
  2. Assuming you have the block's coordinates i, j, k: AxisAlignedBB aabb = AxisAlignedBB.getBoundingBoxFromPool(i - 5, j - 5, k - 5, i + 5, j + 5, k + 5); Then just use the same thing I showed you before. I need to tick the block to check if there are any near by mobs, i read somewhere i should use a tile entity for this? Should i do that or should i use the built in methods in Block class?
  3. Thanks but I think i did not make this clear, it's a block and not around the player. Sorry.
  4. I am trying to make a sort of shield type thing, that will kill all the closest hostile mobs within a 5 block circle. To do this I think i need to get the closet entity and then kill it, but how would i go about and find all or just the closest hostile entity within a 5 radius circle? 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.