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.

lemurgoddess

Members
  • Joined

  • Last visited

  1. New to Forge and Modding. I am trying to create some specific mob behavior and not finding any solutions via search and wondering if someone could set me on the right path. Mob Destroys Blocks I've found some information on this topic. Suggesting that you just convert the target block to an Air block. But I'm not clear the best practice for accomplishing this. Is this done via an EventHandler, a custom AI Task or inside some "onUpdate" (or similar method) in the Entity Class. (For reference, I am using a custom Mob that extends EntityZombie) Mobs Climb Over Each Other. This behavior would ideally be that when mobs hit a wall trying to get to the player, they change their vertical position and "climb" up one another until the pile gets to the top of the wall (If you've seen the movie World War Z). Thus far I tried Override on the "collideWithNearbyEntities" method, but that doesn't seem to be getting called. My hope was that I would, on collide, just move the mob up and over the mob it collides with. Any help would be appreciated. Even just suggestion of directions I should go. As I said, I am new, so I'm not clear on what the best practice is for where to put my custom code. Cheers.

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.