Jump to content

Choonster

Moderators
  • Posts

    5142
  • Joined

  • Last visited

  • Days Won

    76

Everything posted by Choonster

  1. LivingUpdateEvent doesn't have a DamageSource source field (because it's not at all related to an Entity taking damage). You shouldn't need to manually remove the PotionEffect when it runs out, EntityLivingBase will do that automatically. If you want to react to and cancel damage received by an EntityLivingBase, subscribe to LivingHurtEvent instead.
  2. Your preInit method has FMLInitializationEvent as its parameter instead of FMLPreInitializationEvent. This means it's still being called during init instead of preInit.
  3. You can replace vanilla's block models with a resource pack.
×
×
  • Create New...

Important Information

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