YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.entity.boss.EntityWither Class Reference
Inheritance diagram for net.minecraft.entity.boss.EntityWither:
net.minecraft.entity.monster.EntityMob net.minecraft.entity.boss.IBossDisplayData net.minecraft.entity.IRangedAttackMob net.minecraft.entity.EntityCreature net.minecraft.entity.monster.IMob net.minecraft.entity.EntityLiving net.minecraft.entity.passive.IAnimals net.minecraft.entity.Entity

Public Member Functions

 EntityWither (World par1World)
 
void writeEntityToNBT (NBTTagCompound par1NBTTagCompound)
 
void readEntityFromNBT (NBTTagCompound par1NBTTagCompound)
 
float getShadowSize ()
 
String getTexture ()
 
void onLivingUpdate ()
 
void func_82206_m ()
 
void setInWeb ()
 
int getTotalArmorValue ()
 
void attackEntityWithRangedAttack (EntityLiving par1EntityLiving, float par2)
 
boolean attackEntityFrom (DamageSource par1DamageSource, int par2)
 
int getBrightnessForRender (float par1)
 
boolean canBeCollidedWith ()
 
int getBossHealth ()
 
void addPotionEffect (PotionEffect par1PotionEffect)
 
int getMaxHealth ()
 
float func_82207_a (int par1)
 
float func_82210_r (int par1)
 
int func_82212_n ()
 
void func_82215_s (int par1)
 
int getWatchedTargetId (int par1)
 
void func_82211_c (int par1, int par2)
 
boolean isArmored ()
 
EnumCreatureAttribute getCreatureAttribute ()
 
void mountEntity (Entity par1Entity)
 
- Public Member Functions inherited from net.minecraft.entity.monster.EntityMob
 EntityMob (World par1World)
 
void onLivingUpdate ()
 
void onUpdate ()
 
boolean attackEntityFrom (DamageSource par1DamageSource, int par2)
 
boolean attackEntityAsMob (Entity par1Entity)
 
float getBlockPathWeight (int par1, int par2, int par3)
 
boolean getCanSpawnHere ()
 
int getAttackStrength (Entity par1Entity)
 
- Public Member Functions inherited from net.minecraft.entity.EntityCreature
 EntityCreature (World par1World)
 
float getBlockPathWeight (int par1, int par2, int par3)
 
boolean getCanSpawnHere ()
 
boolean hasPath ()
 
void setPathToEntity (PathEntity par1PathEntity)
 
Entity getEntityToAttack ()
 
void setTarget (Entity par1Entity)
 
float getSpeedModifier ()
 
- Public Member Functions inherited from net.minecraft.entity.EntityLiving
 EntityLiving (World par1World)
 
EntityLookHelper getLookHelper ()
 
EntityMoveHelper getMoveHelper ()
 
EntityJumpHelper getJumpHelper ()
 
PathNavigate getNavigator ()
 
EntitySenses getEntitySenses ()
 
Random getRNG ()
 
EntityLiving getAITarget ()
 
EntityLiving getLastAttackingEntity ()
 
void setLastAttackingEntity (Entity par1Entity)
 
int getAge ()
 
float getRotationYawHead ()
 
void setRotationYawHead (float par1)
 
float getAIMoveSpeed ()
 
void setAIMoveSpeed (float par1)
 
boolean attackEntityAsMob (Entity par1Entity)
 
EntityLiving getAttackTarget ()
 
void setAttackTarget (EntityLiving par1EntityLiving)
 
boolean canAttackClass (Class par1Class)
 
void eatGrassBonus ()
 
boolean isWithinHomeDistanceCurrentPosition ()
 
boolean isWithinHomeDistance (int par1, int par2, int par3)
 
void setHomeArea (int par1, int par2, int par3, int par4)
 
ChunkCoordinates getHomePosition ()
 
float getMaximumHomeDistance ()
 
void detachHome ()
 
boolean hasHome ()
 
void setRevengeTarget (EntityLiving par1EntityLiving)
 
boolean canEntityBeSeen (Entity par1Entity)
 
String getTexture ()
 
boolean canBeCollidedWith ()
 
boolean canBePushed ()
 
float getEyeHeight ()
 
int getTalkInterval ()
 
void playLivingSound ()
 
void onEntityUpdate ()
 
void spawnExplosionParticle ()
 
void updateRidden ()
 
void setPositionAndRotation2 (double par1, double par3, double par5, float par7, float par8, int par9)
 
void onUpdate ()
 
void heal (int par1)
 
int getHealth ()
 
void setEntityHealth (int par1)
 
boolean attackEntityFrom (DamageSource par1DamageSource, int par2)
 
void performHurtAnimation ()
 
int getTotalArmorValue ()
 
void knockBack (Entity par1Entity, int par2, double par3, double par5)
 
void onDeath (DamageSource par1DamageSource)
 
void moveEntityWithHeading (float par1, float par2)
 
boolean isOnLadder ()
 
void writeEntityToNBT (NBTTagCompound par1NBTTagCompound)
 
void readEntityFromNBT (NBTTagCompound par1NBTTagCompound)
 
boolean isEntityAlive ()
 
boolean canBreatheUnderwater ()
 
void setMoveForward (float par1)
 
void setJumping (boolean par1)
 
void onLivingUpdate ()
 
boolean isBlocking ()
 
int getVerticalFaceSpeed ()
 
void faceEntity (Entity par1Entity, float par2, float par3)
 
boolean getCanSpawnHere ()
 
float getSwingProgress (float par1)
 
Vec3 getPosition (float par1)
 
Vec3 getLookVec ()
 
Vec3 getLook (float par1)
 
float getRenderSizeModifier ()
 
MovingObjectPosition rayTrace (double par1, float par3)
 
int getMaxSpawnedInChunk ()
 
void handleHealthUpdate (byte par1)
 
boolean isPlayerSleeping ()
 
Icon getItemIcon (ItemStack par1ItemStack, int par2)
 
void clearActivePotions ()
 
Collection getActivePotionEffects ()
 
boolean isPotionActive (int par1)
 
boolean isPotionActive (Potion par1Potion)
 
PotionEffect getActivePotionEffect (Potion par1Potion)
 
void addPotionEffect (PotionEffect par1PotionEffect)
 
boolean isPotionApplicable (PotionEffect par1PotionEffect)
 
boolean isEntityUndead ()
 
void removePotionEffectClient (int par1)
 
void removePotionEffect (int par1)
 
float getSpeedModifier ()
 
void setPositionAndUpdate (double par1, double par3, double par5)
 
boolean isChild ()
 
EnumCreatureAttribute getCreatureAttribute ()
 
void renderBrokenItemStack (ItemStack par1ItemStack)
 
int func_82143_as ()
 
ItemStack getHeldItem ()
 
ItemStack getCurrentItemOrArmor (int par1)
 
ItemStack getCurrentArmor (int par1)
 
void setCurrentItemOrArmor (int par1, ItemStack par2ItemStack)
 
ItemStack[] getLastActiveItems ()
 
void onItemPickup (Entity par1Entity, int par2)
 
void initCreature ()
 
void swingItem ()
 
boolean canBeSteered ()
 
final int getArrowCountInEntity ()
 
final void setArrowCountInEntity (int par1)
 
EntityLiving func_94060_bK ()
 
String getEntityName ()
 
void func_94058_c (String par1Str)
 
String func_94057_bL ()
 
boolean func_94056_bM ()
 
void func_94061_f (boolean par1)
 
boolean func_94062_bN ()
 
boolean func_94059_bO ()
 
void func_96120_a (int par1, float par2)
 
boolean canPickUpLoot ()
 
void setCanPickUpLoot (boolean par1)
 
boolean func_104002_bU ()
 
void curePotionEffects (ItemStack curativeItem)
 
boolean shouldRiderFaceForward (EntityPlayer player)
 
- Public Member Functions inherited from net.minecraft.entity.Entity
 Entity (World par1World)
 
DataWatcher getDataWatcher ()
 
boolean equals (Object par1Obj)
 
int hashCode ()
 
void setDead ()
 
void setPosition (double par1, double par3, double par5)
 
void setAngles (float par1, float par2)
 
void onUpdate ()
 
void onEntityUpdate ()
 
int getMaxInPortalTime ()
 
void setFire (int par1)
 
void extinguish ()
 
boolean isOffsetPositionInLiquid (double par1, double par3, double par5)
 
void moveEntity (double par1, double par3, double par5)
 
void playSound (String par1Str, float par2, float par3)
 
AxisAlignedBB getBoundingBox ()
 
final boolean isImmuneToFire ()
 
boolean isWet ()
 
boolean isInWater ()
 
boolean handleWaterMovement ()
 
boolean isInsideOfMaterial (Material par1Material)
 
float getEyeHeight ()
 
boolean handleLavaMovement ()
 
void moveFlying (float par1, float par2, float par3)
 
int getBrightnessForRender (float par1)
 
float getBrightness (float par1)
 
void setWorld (World par1World)
 
void setPositionAndRotation (double par1, double par3, double par5, float par7, float par8)
 
void setLocationAndAngles (double par1, double par3, double par5, float par7, float par8)
 
float getDistanceToEntity (Entity par1Entity)
 
double getDistanceSq (double par1, double par3, double par5)
 
double getDistance (double par1, double par3, double par5)
 
double getDistanceSqToEntity (Entity par1Entity)
 
void onCollideWithPlayer (EntityPlayer par1EntityPlayer)
 
void applyEntityCollision (Entity par1Entity)
 
void addVelocity (double par1, double par3, double par5)
 
boolean attackEntityFrom (DamageSource par1DamageSource, int par2)
 
boolean canBeCollidedWith ()
 
boolean canBePushed ()
 
void addToPlayerScore (Entity par1Entity, int par2)
 
boolean addNotRiddenEntityID (NBTTagCompound par1NBTTagCompound)
 
boolean isInRangeToRenderVec3D (Vec3 par1Vec3)
 
boolean isInRangeToRenderDist (double par1)
 
String getTexture ()
 
boolean addEntityID (NBTTagCompound par1NBTTagCompound)
 
void writeToNBT (NBTTagCompound par1NBTTagCompound)
 
void readFromNBT (NBTTagCompound par1NBTTagCompound)
 
float getShadowSize ()
 
EntityItem dropItem (int par1, int par2)
 
EntityItem dropItemWithOffset (int par1, int par2, float par3)
 
EntityItem entityDropItem (ItemStack par1ItemStack, float par2)
 
boolean isEntityAlive ()
 
boolean isEntityInsideOpaqueBlock ()
 
boolean interact (EntityPlayer par1EntityPlayer)
 
AxisAlignedBB getCollisionBox (Entity par1Entity)
 
void updateRidden ()
 
void updateRiderPosition ()
 
double getYOffset ()
 
double getMountedYOffset ()
 
void mountEntity (Entity par1Entity)
 
void unmountEntity (Entity par1Entity)
 
void setPositionAndRotation2 (double par1, double par3, double par5, float par7, float par8, int par9)
 
float getCollisionBorderSize ()
 
Vec3 getLookVec ()
 
void setInPortal ()
 
int getPortalCooldown ()
 
void setVelocity (double par1, double par3, double par5)
 
void handleHealthUpdate (byte par1)
 
void performHurtAnimation ()
 
void updateCloak ()
 
ItemStack[] getLastActiveItems ()
 
void setCurrentItemOrArmor (int par1, ItemStack par2ItemStack)
 
boolean isBurning ()
 
boolean isRiding ()
 
boolean isSneaking ()
 
void setSneaking (boolean par1)
 
boolean isSprinting ()
 
void setSprinting (boolean par1)
 
boolean isInvisible ()
 
boolean func_98034_c (EntityPlayer par1EntityPlayer)
 
void setInvisible (boolean par1)
 
boolean isEating ()
 
void setEating (boolean par1)
 
int getAir ()
 
void setAir (int par1)
 
void onStruckByLightning (EntityLightningBolt par1EntityLightningBolt)
 
void onKillEntity (EntityLiving par1EntityLiving)
 
void setInWeb ()
 
String getEntityName ()
 
Entity[] getParts ()
 
boolean isEntityEqual (Entity par1Entity)
 
float getRotationYawHead ()
 
void setRotationYawHead (float par1)
 
boolean canAttackWithItem ()
 
boolean func_85031_j (Entity par1Entity)
 
String toString ()
 
boolean isEntityInvulnerable ()
 
void func_82149_j (Entity par1Entity)
 
void copyDataFrom (Entity par1Entity, boolean par2)
 
void travelToDimension (int par1)
 
float func_82146_a (Explosion par1Explosion, World par2World, int par3, int par4, int par5, Block par6Block)
 
boolean func_96091_a (Explosion par1Explosion, World par2World, int par3, int par4, int par5, int par6, float par7)
 
int func_82143_as ()
 
int getTeleportDirection ()
 
boolean doesEntityNotTriggerPressurePlate ()
 
void func_85029_a (CrashReportCategory par1CrashReportCategory)
 
boolean canRenderOnFire ()
 
boolean func_96092_aw ()
 
String getTranslatedEntityName ()
 
NBTTagCompound getEntityData ()
 
boolean shouldRiderSit ()
 
ItemStack getPickedResult (MovingObjectPosition target)
 
UUID getPersistentID ()
 
final void resetEntityId ()
 
boolean shouldRenderInPass (int pass)
 
boolean isCreatureType (EnumCreatureType type, boolean forSpawnCount)
 
String registerExtendedProperties (String identifier, IExtendedEntityProperties properties)
 
IExtendedEntityProperties getExtendedProperties (String identifier)
 
- Public Member Functions inherited from net.minecraft.entity.boss.IBossDisplayData
String getEntityName ()
 

Protected Member Functions

void entityInit ()
 
String getLivingSound ()
 
String getHurtSound ()
 
String getDeathSound ()
 
void updateAITasks ()
 
void dropFewItems (boolean par1, int par2)
 
void despawnEntity ()
 
void fall (float par1)
 
boolean isAIEnabled ()
 
- Protected Member Functions inherited from net.minecraft.entity.monster.EntityMob
Entity findPlayerToAttack ()
 
void attackEntity (Entity par1Entity, float par2)
 
boolean isValidLightLevel ()
 
- Protected Member Functions inherited from net.minecraft.entity.EntityCreature
boolean isMovementCeased ()
 
void updateEntityActionState ()
 
void updateWanderPath ()
 
void attackEntity (Entity par1Entity, float par2)
 
Entity findPlayerToAttack ()
 
- Protected Member Functions inherited from net.minecraft.entity.EntityLiving
int func_96121_ay ()
 
void updateFallState (double par1, boolean par3)
 
void entityInit ()
 
void onDeathUpdate ()
 
int decreaseAirSupply (int par1)
 
int getExperiencePoints (EntityPlayer par1EntityPlayer)
 
boolean isPlayer ()
 
float getSoundPitch ()
 
void damageArmor (int par1)
 
int applyArmorCalculations (DamageSource par1DamageSource, int par2)
 
int applyPotionDamageCalculations (DamageSource par1DamageSource, int par2)
 
void damageEntity (DamageSource par1DamageSource, int par2)
 
float getSoundVolume ()
 
String getLivingSound ()
 
String getHurtSound ()
 
String getDeathSound ()
 
void dropRareDrop (int par1)
 
void dropFewItems (boolean par1, int par2)
 
int getDropItemId ()
 
void fall (float par1)
 
void func_85033_bc ()
 
void collideWithEntity (Entity par1Entity)
 
boolean isAIEnabled ()
 
boolean isClientWorld ()
 
boolean isMovementBlocked ()
 
void jump ()
 
boolean canDespawn ()
 
void despawnEntity ()
 
void updateAITasks ()
 
void updateAITick ()
 
void updateEntityActionState ()
 
void updateArmSwingProgress ()
 
void kill ()
 
void updatePotionEffects ()
 
void onNewPotionEffect (PotionEffect par1PotionEffect)
 
void onChangedPotionEffect (PotionEffect par1PotionEffect)
 
void onFinishedPotionEffect (PotionEffect par1PotionEffect)
 
void dropEquipment (boolean par1, int par2)
 
void addRandomArmor ()
 
void func_82162_bC ()
 
- Protected Member Functions inherited from net.minecraft.entity.Entity
void preparePlayerToSpawn ()
 
void setSize (float par1, float par2)
 
void setRotation (float par1, float par2)
 
void setOnFireFromLava ()
 
void kill ()
 
void doBlockCollisions ()
 
void playStepSound (int par1, int par2, int par3, int par4)
 
boolean canTriggerWalking ()
 
void updateFallState (double par1, boolean par3)
 
void dealFireDamage (int par1)
 
void fall (float par1)
 
void setBeenAttacked ()
 
final String getEntityString ()
 
NBTTagList newDoubleNBTList (double...par1ArrayOfDouble)
 
NBTTagList newFloatNBTList (float...par1ArrayOfFloat)
 
boolean getFlag (int par1)
 
void setFlag (int par1, boolean par2)
 
boolean pushOutOfBlocks (double par1, double par3, double par5)
 

Additional Inherited Members

- Static Public Member Functions inherited from net.minecraft.entity.EntityLiving
static int getArmorPosition (ItemStack par0ItemStack)
 
static Item getArmorItemForSlot (int par0, int par1)
 
- Public Attributes inherited from net.minecraft.entity.EntityLiving
int maxHurtResistantTime = 20
 
float field_70769_ao
 
float field_70770_ap
 
float renderYawOffset = 0.0F
 
float prevRenderYawOffset = 0.0F
 
float rotationYawHead = 0.0F
 
float prevRotationYawHead = 0.0F
 
float landMovementFactor = 0.1F
 
float jumpMovementFactor = 0.02F
 
float prevSwingProgress
 
float swingProgress
 
int prevHealth
 
int carryoverDamage
 
int livingSoundTime
 
int hurtTime
 
int maxHurtTime
 
float attackedAtYaw = 0.0F
 
int deathTime = 0
 
int attackTime = 0
 
float prevCameraPitch
 
float cameraPitch
 
int experienceValue
 
int field_70731_aW = -1
 
float field_70730_aX = (float)(Math.random() * 0.8999999761581421D + 0.10000000149011612D)
 
float prevLimbYaw
 
float limbYaw
 
float limbSwing
 
int arrowHitTimer = 0
 
final EntityAITasks tasks
 
final EntityAITasks targetTasks
 
boolean isSwingInProgress = false
 
int swingProgressInt = 0
 
final CombatTracker field_94063_bt = new CombatTracker(this)
 
boolean isJumping = false
 
- Public Attributes inherited from net.minecraft.entity.monster.IMob
IEntitySelector mobSelector = new FilterIMob()
 
- Static Public Attributes inherited from net.minecraft.entity.EntityLiving
static final float[] pickUpLootProability = new float[] {0.0F, 0.1F, 0.15F, 0.45F}
 
- Protected Attributes inherited from net.minecraft.entity.EntityCreature
Entity entityToAttack
 
boolean hasAttacked = false
 
int fleeingTick = 0
 

Constructor & Destructor Documentation

net.minecraft.entity.boss.EntityWither.EntityWither ( World  par1World)

Member Function Documentation

void net.minecraft.entity.boss.EntityWither.addPotionEffect ( PotionEffect  par1PotionEffect)

adds a PotionEffect to the entity

boolean net.minecraft.entity.boss.EntityWither.attackEntityFrom ( DamageSource  par1DamageSource,
int  par2 
)

Called when the entity is attacked.

void net.minecraft.entity.boss.EntityWither.attackEntityWithRangedAttack ( EntityLiving  par1EntityLiving,
float  par2 
)

Attack the specified entity using a ranged attack.

Implements net.minecraft.entity.IRangedAttackMob.

boolean net.minecraft.entity.boss.EntityWither.canBeCollidedWith ( )

Returns true if other Entities should be prevented from moving through this Entity.

void net.minecraft.entity.boss.EntityWither.despawnEntity ( )
protected

Makes the entity despawn if requirements are reached

void net.minecraft.entity.boss.EntityWither.dropFewItems ( boolean  par1,
int  par2 
)
protected

Drop 0-2 items of this living's type.

Parameters
par1- Whether this entity has recently been hit by a player.
par2- Level of Looting used to kill this mob.
void net.minecraft.entity.boss.EntityWither.entityInit ( )
protectedvirtual
void net.minecraft.entity.boss.EntityWither.fall ( float  par1)
protected

Called when the mob is falling. Calculates and applies fall damage.

void net.minecraft.entity.boss.EntityWither.func_82206_m ( )
float net.minecraft.entity.boss.EntityWither.func_82207_a ( int  par1)
float net.minecraft.entity.boss.EntityWither.func_82210_r ( int  par1)
void net.minecraft.entity.boss.EntityWither.func_82211_c ( int  par1,
int  par2 
)
int net.minecraft.entity.boss.EntityWither.func_82212_n ( )
void net.minecraft.entity.boss.EntityWither.func_82215_s ( int  par1)
int net.minecraft.entity.boss.EntityWither.getBossHealth ( )

Returns the health points of the dragon.

Implements net.minecraft.entity.boss.IBossDisplayData.

int net.minecraft.entity.boss.EntityWither.getBrightnessForRender ( float  par1)
EnumCreatureAttribute net.minecraft.entity.boss.EntityWither.getCreatureAttribute ( )
String net.minecraft.entity.boss.EntityWither.getDeathSound ( )
protected

Returns the sound this mob makes on death.

String net.minecraft.entity.boss.EntityWither.getHurtSound ( )
protected

Returns the sound this mob makes when it is hurt.

String net.minecraft.entity.boss.EntityWither.getLivingSound ( )
protected

Returns the sound this mob makes while it's alive.

int net.minecraft.entity.boss.EntityWither.getMaxHealth ( )
float net.minecraft.entity.boss.EntityWither.getShadowSize ( )
String net.minecraft.entity.boss.EntityWither.getTexture ( )

Returns the texture's file path as a String.

int net.minecraft.entity.boss.EntityWither.getTotalArmorValue ( )

Returns the current armor value as determined by a call to InventoryPlayer.getTotalArmorValue

int net.minecraft.entity.boss.EntityWither.getWatchedTargetId ( int  par1)

Returns the target entity ID if present, or -1 if not

Parameters
par1The target offset, should be from 0-2
boolean net.minecraft.entity.boss.EntityWither.isAIEnabled ( )
protected

Returns true if the newer Entity AI code should be run

boolean net.minecraft.entity.boss.EntityWither.isArmored ( )

Returns whether the wither is armored with its boss armor or not by checking whether its health is below half of its maximum.

void net.minecraft.entity.boss.EntityWither.mountEntity ( Entity  par1Entity)

Called when a player mounts an entity. e.g. mounts a pig, mounts a boat.

void net.minecraft.entity.boss.EntityWither.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.

void net.minecraft.entity.boss.EntityWither.readEntityFromNBT ( NBTTagCompound  par1NBTTagCompound)
virtual

(abstract) Protected helper method to read subclass entity data from NBT.

Implements net.minecraft.entity.Entity.

void net.minecraft.entity.boss.EntityWither.setInWeb ( )

Sets the Entity inside a web block.

void net.minecraft.entity.boss.EntityWither.updateAITasks ( )
protected
void net.minecraft.entity.boss.EntityWither.writeEntityToNBT ( NBTTagCompound  par1NBTTagCompound)
virtual

(abstract) Protected helper method to write subclass entity data to NBT.

Implements net.minecraft.entity.Entity.


The documentation for this class was generated from the following file: