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.

DeathChomperz

Members
  • Joined

  • Last visited

  1. Ok, that's quite surprising to me. Thank you very much for pointing me to the ExplosionEvent, that should solve my problem
  2. I'm creating a mod where a given set of mobs are part of a wave, and when the player kills all of the enemies he is teleported onto the next level with a new wave. However, I've found a really strange problem. When creeper's explode, they are not firing ANY LivingDeath event.So far our mod is working ok, with all other kinds of enemies appropriately firing the LivingDeath event, but just not when a creeper explodes. Has anyone else had this kind of problem? If so, is there some other way to watch and react to creeper explosion deaths? Thanks for any insight anyone has! With the code below I'm logging all of the LivingDeath events. @SubscribeEvent void onDeath(LivingDeathEvent e) { if(e.getEntity().getEntityWorld().isRemote){ return; } Utils.getLogger().info("Enemy Dead: " + e.getEntity().getUniqueID()); }

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.