public abstract class EntityLiving extends EntityLivingBase
Entity.EnumEntitySize
Modifier and Type | Field and Description |
---|---|
protected float |
defaultPitch |
protected float[] |
equipmentDropChances |
protected int |
experienceValue |
int |
livingSoundTime |
protected int |
numTicksToChaseTarget |
EntityAITasks |
targetTasks |
EntityAITasks |
tasks |
arrowHitTimer, attackedAtYaw, attackingPlayer, attackTime, cameraPitch, dead, deathTime, entityAge, field_110154_aX, field_70741_aB, field_70763_ax, field_70764_aw, field_70768_au, field_70769_ao, field_70770_ap, hurtTime, isJumping, isSwingInProgress, jumpMovementFactor, lastDamage, limbSwing, limbSwingAmount, maxHurtResistantTime, maxHurtTime, moveForward, moveStrafing, newPosRotationIncrements, newPosX, newPosY, newPosZ, newRotationPitch, newRotationYaw, prevCameraPitch, prevHealth, prevLimbSwingAmount, prevRenderYawOffset, prevRotationYawHead, prevSwingProgress, randomYawVelocity, recentlyHit, renderYawOffset, rotationYawHead, scoreValue, swingProgress, swingProgressInt
addedToChunk, boundingBox, chunkCoordX, chunkCoordY, chunkCoordZ, dataWatcher, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, fallDistance, field_70135_K, fireResistance, forceSpawn, height, hurtResistantTime, ignoreFrustumCheck, inPortal, inWater, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, myEntitySize, noClip, onGround, portalCounter, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, teleportDirection, ticksExisted, timeUntilPortal, velocityChanged, width, worldObj, yOffset, ySize
Constructor and Description |
---|
EntityLiving(World p_i1595_1_) |
addPotionEffect, applyArmorCalculations, applyPotionDamageCalculations, attackEntityAsMob, attackEntityFrom, canBeCollidedWith, canBePushed, canBreatheUnderwater, canEntityBeSeen, clearActivePotions, collideWithEntity, collideWithNearbyEntities, damageArmor, damageEntity, decreaseAirSupply, dismountEntity, dropRareDrop, fall, func_110142_aN, func_142015_aE, func_146066_aG, func_146067_o, func_152111_bt, func_152112_bu, func_94060_bK, getAbsorptionAmount, getActivePotionEffect, getActivePotionEffects, getAge, getAIMoveSpeed, getAITarget, getArrowCountInEntity, getAttributeMap, getCreatureAttribute, getDeathSound, getEntityAttribute, getEyeHeight, getHealth, getHurtSound, getItemIcon, getLastAttacker, getLastAttackerTime, getLook, getLookVec, getMaxHealth, getPosition, getRNG, getRotationYawHead, getSoundPitch, getSoundVolume, getSwingProgress, getTeam, getTotalArmorValue, handleHealthUpdate, heal, isChild, isClientWorld, isEntityAlive, isEntityUndead, isMovementBlocked, isOnLadder, isOnSameTeam, isOnTeam, isPlayer, isPlayerSleeping, isPotionActive, isPotionActive, isPotionApplicable, jump, kill, knockBack, moveEntityWithHeading, onChangedPotionEffect, onDeath, onDeathUpdate, onFinishedPotionEffect, onItemPickup, onNewPotionEffect, performHurtAnimation, rayTrace, removePotionEffect, removePotionEffectClient, renderBrokenItemStack, setAbsorptionAmount, setArrowCountInEntity, setBeenAttacked, setHealth, setJumping, setLastAttacker, setPositionAndRotation2, setPositionAndUpdate, setRevengeTarget, setRotationYawHead, setSprinting, swingItem, updateAITick, updateArmSwingProgress, updateFallState, updatePotionEffects, updateRidden
addEntityCrashInfo, addToPlayerScore, addVelocity, applyEntityCollision, canAttackWithItem, canRenderOnFire, canTriggerWalking, copyDataFrom, copyLocationAndAnglesFrom, dealFireDamage, doesEntityNotTriggerPressurePlate, dropItem, entityDropItem, equals, extinguish, func_145748_c_, func_145771_j, func_145772_a, func_145774_a, func_145775_I, func_145778_a, func_145780_a, func_145781_i, getAir, getBoundingBox, getBrightness, getBrightnessForRender, getCollisionBorderSize, getCollisionBox, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityId, getEntityString, getFlag, getMaxInPortalTime, getMountedYOffset, getParts, getPortalCooldown, getShadowSize, getSplashSound, getSwimSound, getTeleportDirection, getUniqueID, getYOffset, handleLavaMovement, handleWaterMovement, hashCode, hitByEntity, isBurning, isEating, isEntityEqual, isEntityInsideOpaqueBlock, isEntityInvulnerable, isImmuneToFire, isInRangeToRender3d, isInRangeToRenderDist, isInsideOfMaterial, isInvisible, isInvisibleToPlayer, isInWater, isOffsetPositionInLiquid, isPushedByWater, isRiding, isSneaking, isSprinting, isWet, mountEntity, moveEntity, moveFlying, newDoubleNBTList, newFloatNBTList, onChunkLoad, onCollideWithPlayer, onKillEntity, onStruckByLightning, playSound, preparePlayerToSpawn, readFromNBT, setAir, setAngles, setDead, setEating, setEntityId, setFire, setFlag, setInPortal, setInvisible, setInWeb, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setRotation, setSize, setSneaking, setVelocity, setWorld, shouldSetPosAfterLoading, toString, travelToDimension, updateRiderPosition, writeMountToNBT, writeToNBT, writeToNBTOptional
public int livingSoundTime
protected int experienceValue
public final EntityAITasks tasks
public final EntityAITasks targetTasks
protected float[] equipmentDropChances
protected float defaultPitch
protected int numTicksToChaseTarget
public EntityLiving(World p_i1595_1_)
protected void applyEntityAttributes()
applyEntityAttributes
in class EntityLivingBase
public EntityLookHelper getLookHelper()
public EntityMoveHelper getMoveHelper()
public EntityJumpHelper getJumpHelper()
public PathNavigate getNavigator()
public EntitySenses getEntitySenses()
public EntityLivingBase getAttackTarget()
public void setAttackTarget(EntityLivingBase p_70624_1_)
public boolean canAttackClass(java.lang.Class p_70686_1_)
public void eatGrassBonus()
protected void entityInit()
entityInit
in class EntityLivingBase
public int getTalkInterval()
public void playLivingSound()
public void onEntityUpdate()
onEntityUpdate
in class EntityLivingBase
protected int getExperiencePoints(EntityPlayer p_70693_1_)
getExperiencePoints
in class EntityLivingBase
public void spawnExplosionParticle()
public void onUpdate()
onUpdate
in class EntityLivingBase
protected float func_110146_f(float p_110146_1_, float p_110146_2_)
func_110146_f
in class EntityLivingBase
protected java.lang.String getLivingSound()
protected Item getDropItem()
protected void dropFewItems(boolean p_70628_1_, int p_70628_2_)
dropFewItems
in class EntityLivingBase
public void writeEntityToNBT(NBTTagCompound p_70014_1_)
writeEntityToNBT
in class EntityLivingBase
public void readEntityFromNBT(NBTTagCompound p_70037_1_)
readEntityFromNBT
in class EntityLivingBase
public void setMoveForward(float p_70657_1_)
public void setAIMoveSpeed(float p_70659_1_)
setAIMoveSpeed
in class EntityLivingBase
public void onLivingUpdate()
onLivingUpdate
in class EntityLivingBase
protected boolean isAIEnabled()
isAIEnabled
in class EntityLivingBase
protected boolean canDespawn()
protected void despawnEntity()
protected void updateAITasks()
updateAITasks
in class EntityLivingBase
protected void updateEntityActionState()
updateEntityActionState
in class EntityLivingBase
public int getVerticalFaceSpeed()
public void faceEntity(Entity p_70625_1_, float p_70625_2_, float p_70625_3_)
public boolean getCanSpawnHere()
public float getRenderSizeModifier()
public int getMaxSpawnedInChunk()
public int getMaxSafePointTries()
getMaxSafePointTries
in class Entity
public ItemStack getHeldItem()
getHeldItem
in class EntityLivingBase
public ItemStack getEquipmentInSlot(int p_71124_1_)
getEquipmentInSlot
in class EntityLivingBase
public ItemStack func_130225_q(int p_130225_1_)
public void setCurrentItemOrArmor(int p_70062_1_, ItemStack p_70062_2_)
setCurrentItemOrArmor
in class EntityLivingBase
public ItemStack[] getLastActiveItems()
getLastActiveItems
in class EntityLivingBase
protected void dropEquipment(boolean p_82160_1_, int p_82160_2_)
dropEquipment
in class EntityLivingBase
protected void addRandomArmor()
public static int getArmorPosition(ItemStack p_82159_0_)
public static Item getArmorItemForSlot(int p_82161_0_, int p_82161_1_)
protected void enchantEquipment()
public IEntityLivingData onSpawnWithEgg(IEntityLivingData p_110161_1_)
public boolean canBeSteered()
public java.lang.String getCommandSenderName()
getCommandSenderName
in class Entity
public void func_110163_bv()
public void setCustomNameTag(java.lang.String p_94058_1_)
public java.lang.String getCustomNameTag()
public boolean hasCustomNameTag()
public void setAlwaysRenderNameTag(boolean p_94061_1_)
public boolean getAlwaysRenderNameTag()
public boolean getAlwaysRenderNameTagForRender()
getAlwaysRenderNameTagForRender
in class EntityLivingBase
public void setEquipmentDropChance(int p_96120_1_, float p_96120_2_)
public boolean canPickUpLoot()
public void setCanPickUpLoot(boolean p_98053_1_)
public boolean isNoDespawnRequired()
public final boolean interactFirst(EntityPlayer p_130002_1_)
interactFirst
in class Entity
protected boolean interact(EntityPlayer p_70085_1_)
protected void updateLeashedState()
public void clearLeashed(boolean p_110160_1_, boolean p_110160_2_)
public boolean allowLeashing()
public boolean getLeashed()
public Entity getLeashedToEntity()
public void setLeashedToEntity(Entity p_110162_1_, boolean p_110162_2_)