Jump to content

lemurgoddess

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by lemurgoddess

  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.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.