Class EntityBlaze

All Implemented Interfaces:
IAnimals, IMob

public class EntityBlaze extends EntityMob
  • Constructor Details

    • EntityBlaze

      public EntityBlaze(World par1World)
  • Method Details

    • applyEntityAttributes

      protected void applyEntityAttributes()
      Overrides:
      applyEntityAttributes in class EntityMob
    • entityInit

      protected void entityInit()
      Overrides:
      entityInit in class EntityCreature
    • getLivingSound

      protected String getLivingSound()
      Returns the sound this mob makes while it's alive.
      Overrides:
      getLivingSound in class EntityLiving
    • getHurtSound

      protected String getHurtSound()
      Returns the sound this mob makes when it is hurt.
      Overrides:
      getHurtSound in class EntityLivingBase
    • getDeathSound

      protected String getDeathSound()
      Returns the sound this mob makes on death.
      Overrides:
      getDeathSound in class EntityLivingBase
    • getBrightnessForRender

      public int getBrightnessForRender(float par1)
      Overrides:
      getBrightnessForRender in class Entity
    • getBrightness

      public float getBrightness(float par1)
      Gets how bright this entity is.
      Overrides:
      getBrightness in class Entity
    • onLivingUpdate

      public void onLivingUpdate()
      Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn.
      Overrides:
      onLivingUpdate in class EntityMob
    • attackEntity

      protected void attackEntity(Entity par1Entity, float par2)
      Basic mob attack. Default to touch of death in EntityCreature. Overridden by each mob to define their attack.
      Overrides:
      attackEntity in class EntityMob
    • fall

      protected void fall(float par1)
      Called when the mob is falling. Calculates and applies fall damage.
      Overrides:
      fall in class EntityLivingBase
    • getDropItemId

      protected int getDropItemId()
      Returns the item ID for the item the mob drops on death.
      Overrides:
      getDropItemId in class EntityLiving
    • isBurning

      public boolean isBurning()
      Returns true if the entity is on fire. Used by render to add the fire effect on rendering.
      Overrides:
      isBurning in class Entity
    • dropFewItems

      protected void dropFewItems(boolean killedByPlayer, int lootingModifier)
      Description copied from class: EntityLiving
      Drop 0-2 items of this living's type. @param par1 - Whether this entity has recently been hit by a player. @param par2 - Level of Looting used to kill this mob.
      Overrides:
      dropFewItems in class EntityLiving
    • checkForScrollDrop

      public void checkForScrollDrop()
      Overrides:
      checkForScrollDrop in class EntityLivingBase
    • func_70845_n

      public boolean func_70845_n()
    • func_70844_e

      public void func_70844_e(boolean par1)
    • isValidLightLevel

      protected boolean isValidLightLevel()
      Checks to make sure the light is not too bright where the mob is spawning
      Overrides:
      isValidLightLevel in class EntityMob