Class EntityDragonPart

java.lang.Object
net.minecraft.src.Entity
net.minecraft.src.EntityDragonPart

public class EntityDragonPart extends Entity
  • Field Details

    • entityDragonObj

      public final IEntityMultiPart entityDragonObj
      The dragon entity this dragon part belongs to
    • name

      public final String name
      The name of the Dragon Part
  • Constructor Details

    • EntityDragonPart

      public EntityDragonPart(IEntityMultiPart par1IEntityMultiPart, String par2Str, float par3, float par4)
  • Method Details

    • entityInit

      protected void entityInit()
      Specified by:
      entityInit in class Entity
    • readEntityFromNBT

      protected void readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
      (abstract) Protected helper method to read subclass entity data from NBT.
      Specified by:
      readEntityFromNBT in class Entity
    • writeEntityToNBT

      protected void writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
      (abstract) Protected helper method to write subclass entity data to NBT.
      Specified by:
      writeEntityToNBT in class Entity
    • canBeCollidedWith

      public boolean canBeCollidedWith()
      Returns true if other Entities should be prevented from moving through this Entity.
      Overrides:
      canBeCollidedWith in class Entity
    • attackEntityFrom

      public boolean attackEntityFrom(DamageSource par1DamageSource, float par2)
      Called when the entity is attacked.
      Overrides:
      attackEntityFrom in class Entity
    • isEntityEqual

      public boolean isEntityEqual(Entity par1Entity)
      Returns true if Entity argument is equal to this Entity
      Overrides:
      isEntityEqual in class Entity