[SOLVED] Creature replaced? Damage

Discussion in 'Plugin Development' started by AussieBacom, Apr 9, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    AussieBacom

    I'm trying to use Creature creature = (Creature)entitylist.get(i);

    A problem I'm having is that I cannot cast Slimes, Magma Cubes or Ghasts to a creature. I was reading about an EntityType being the replacement for Creature but I'm unsure how to damage an entity.

    How does one damage an entity?
     
  2. Offline

    Ranzdo

    AussieBacom likes this.
  3. Offline

    AussieBacom

    Worked a charm, thanks
     
Thread Status:
Not open for further replies.

Share This Page