public class EntityHorse extends EntityAnimal implements IInvBasic
Modifier and Type | Field and Description |
---|---|
int |
field_110278_bp |
int |
field_110279_bq |
inLove
field_110179_h, field_110181_i
experienceValue, livingSoundTime, targetTasks, tasks
arrowHitTimer, attackedAtYaw, attackTime, cameraPitch, deathTime, field_110158_av, field_70769_ao, field_70770_ap, hurtTime, isSwingInProgress, jumpMovementFactor, limbSwing, limbYaw, maxHurtResistantTime, maxHurtTime, moveForward, moveStrafing, prevCameraPitch, prevHealth, prevLimbYaw, prevRenderYawOffset, prevRotationYawHead, prevSwingProgress, renderYawOffset, rotationYawHead, swingProgress
addedToChunk, boundingBox, capturedDrops, captureDrops, chunkCoordX, chunkCoordY, chunkCoordZ, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityId, fallDistance, field_70135_K, field_98038_p, fireResistance, height, hurtResistantTime, ignoreFrustumCheck, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, myEntitySize, noClip, onGround, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, ticksExisted, timeUntilPortal, velocityChanged, width, worldObj, yOffset, ySize
Constructor and Description |
---|
EntityHorse(World par1World) |
Modifier and Type | Method and Description |
---|---|
boolean |
attackEntityFrom(DamageSource par1DamageSource,
float par2)
Called when the entity is attacked.
|
boolean |
canBePushed()
Returns true if this entity should push and be pushed by other entities when colliding.
|
boolean |
canMateWith(EntityAnimal par1EntityAnimal)
Returns true if the mob is currently able to mate with the specified mob.
|
EntityAgeable |
createChild(EntityAgeable par1EntityAgeable) |
EntityLivingData |
func_110161_a(EntityLivingData par1EntityLivingData) |
boolean |
func_110164_bC() |
int |
func_110198_t(int par1) |
void |
func_110199_f(EntityPlayer par1EntityPlayer) |
float |
func_110201_q(float par1) |
int |
func_110202_bQ() |
boolean |
func_110204_cc() |
boolean |
func_110205_ce() |
void |
func_110206_u(int par1) |
void |
func_110207_m(boolean par1) |
boolean |
func_110209_cd() |
static boolean |
func_110211_v(int par0) |
String[] |
func_110212_cp() |
void |
func_110213_b(String par1Str) |
void |
func_110214_p(int par1) |
double |
func_110215_cj() |
int |
func_110218_cm() |
void |
func_110219_q(boolean par1) |
void |
func_110221_n(boolean par1) |
boolean |
func_110222_cv() |
float |
func_110223_p(float par1) |
void |
func_110224_ci() |
void |
func_110227_p(boolean par1) |
boolean |
func_110228_bR() |
boolean |
func_110229_cs() |
void |
func_110231_cz() |
void |
func_110234_j(boolean par1) |
void |
func_110235_q(int par1) |
void |
func_110236_r(int par1) |
void |
func_110238_s(int par1) |
boolean |
func_110239_cn() |
int |
func_110241_cb() |
void |
func_110242_l(boolean par1) |
boolean |
func_110243_cf() |
void |
func_110244_cA() |
boolean |
func_110246_bZ() |
boolean |
func_110248_bS() |
void |
func_110251_o(boolean par1) |
int |
func_110252_cg() |
boolean |
func_110253_bW() |
float |
func_110254_bY() |
void |
func_110255_k(boolean par1) |
boolean |
func_110256_cu() |
boolean |
func_110257_ck() |
float |
func_110258_o(float par1) |
boolean |
func_110259_cr() |
int |
func_110260_d(ItemStack par1ItemStack) |
boolean |
func_110261_ca() |
boolean |
func_110262_ch() |
boolean |
func_110263_g(EntityPlayer par1EntityPlayer) |
String |
func_110264_co() |
int |
func_110265_bP() |
void |
func_98054_a(boolean par1) |
boolean |
getCanSpawnHere()
Checks if the entity's current position is a valid location to spawn this entity.
|
String |
getEntityName()
Gets the username of the entity.
|
int |
getMaxSpawnedInChunk()
Will return how many at most can spawn in a chunk at once.
|
int |
getTalkInterval()
Get number of ticks, at least during which the living entity will be silent.
|
int |
getTotalArmorValue()
Returns the current armor value as determined by a call to InventoryPlayer.getTotalArmorValue
|
void |
handleHealthUpdate(byte par1) |
boolean |
interact(EntityPlayer par1EntityPlayer)
Called when a player interacts with a mob.
|
boolean |
isBreedingItem(ItemStack par1ItemStack)
Checks if the parameter is an item which this animal can be fed to breed it (wheat, carrots or seeds depending on
the animal type)
|
boolean |
isOnLadder()
returns true if this entity is by a ladder, false otherwise
|
void |
moveEntityWithHeading(float par1,
float par2)
Moves the entity based on the specified heading.
|
void |
onDeath(DamageSource par1DamageSource)
Called when the mob's health reaches 0.
|
void |
onInventoryChanged(InventoryBasic par1InventoryBasic)
Called by InventoryBasic.onInventoryChanged() on a array that is never filled.
|
void |
onLivingUpdate()
Called frequently so the entity can update its state every tick as required.
|
void |
onUpdate()
Called to update the entity's position/logic.
|
void |
readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
(abstract) Protected helper method to read subclass entity data from NBT.
|
void |
setDead()
Will get destroyed next tick.
|
void |
setEating(boolean par1) |
void |
updateRiderPosition() |
void |
writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
(abstract) Protected helper method to write subclass entity data to NBT.
|
func_110196_bT, getBlockPathWeight, isInLove, resetInLove
func_110195_a, getGrowingAge, isChild, setGrowingAge
func_110171_b, func_110172_bL, func_110173_bK, func_110174_bM, func_110175_bO, func_110176_b, func_110177_bN, getEntityToAttack, hasPath, setPathToEntity, setTarget
canAttackClass, canBeSteered, canPickUpLoot, eatGrassBonus, faceEntity, func_104002_bU, func_110160_i, func_110162_b, func_110163_bv, func_110166_bE, func_110167_bD, func_130002_c, func_82143_as, func_94056_bM, func_94057_bL, func_94058_c, func_94059_bO, func_94061_f, func_94062_bN, func_96120_a, getArmorItemForSlot, getArmorPosition, getAttackTarget, getCurrentArmor, getCurrentItemOrArmor, getEntitySenses, getHeldItem, getJumpHelper, getLastActiveItems, getLookHelper, getMoveHelper, getNavigator, getRenderSizeModifier, getVerticalFaceSpeed, onEntityUpdate, playLivingSound, setAIMoveSpeed, setAttackTarget, setCanPickUpLoot, setCurrentItemOrArmor, setMoveForward, spawnExplosionParticle
addPotionEffect, attackEntityAsMob, canBeCollidedWith, canBreatheUnderwater, canEntityBeSeen, clearActivePotions, curePotionEffects, func_110138_aP, func_110139_bj, func_110140_aT, func_110142_aN, func_110143_aJ, func_110144_aD, func_110145_l, func_110148_a, func_110149_m, func_130011_c, func_94060_bK, getActivePotionEffect, getActivePotionEffects, getAge, getAIMoveSpeed, getAITarget, getArrowCountInEntity, getCreatureAttribute, getEyeHeight, getItemIcon, getLook, getLookVec, getPosition, getRNG, getRotationYawHead, getSwingProgress, heal, isClientWorld, isEntityAlive, isEntityUndead, isPlayerSleeping, isPotionActive, isPotionActive, isPotionApplicable, knockBack, onItemPickup, performHurtAnimation, rayTrace, removePotionEffect, removePotionEffectClient, renderBrokenItemStack, setArrowCountInEntity, setEntityHealth, setJumping, setPositionAndRotation2, setPositionAndUpdate, setRevengeTarget, setRotationYawHead, setSprinting, shouldRiderFaceForward, swingItem, updateRidden
addEntityID, addNotRiddenEntityID, addToPlayerScore, addVelocity, applyEntityCollision, canAttackWithItem, canRenderOnFire, copyDataFrom, doesEntityNotTriggerPressurePlate, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, func_110123_P, func_110124_au, func_82146_a, func_82149_j, func_85029_a, func_85031_j, func_96091_a, func_96092_aw, func_98034_c, getAir, getBoundingBox, getBrightness, getBrightnessForRender, getCollisionBorderSize, getCollisionBox, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityData, getExtendedProperties, getMaxInPortalTime, getMountedYOffset, getParts, getPersistentID, getPickedResult, getPortalCooldown, getShadowSize, getTeleportDirection, getTranslatedEntityName, getYOffset, handleLavaMovement, handleWaterMovement, hashCode, isBurning, isCreatureType, isEating, isEntityEqual, isEntityInsideOpaqueBlock, isEntityInvulnerable, isImmuneToFire, isInRangeToRenderDist, isInRangeToRenderVec3D, isInsideOfMaterial, isInvisible, isInWater, isOffsetPositionInLiquid, isRiding, isSneaking, isSprinting, isWet, mountEntity, moveEntity, moveFlying, onCollideWithPlayer, onKillEntity, onStruckByLightning, playSound, readFromNBT, registerExtendedProperties, resetEntityId, setAir, setAngles, setFire, setInPortal, setInvisible, setInWeb, setLocationAndAngles, setPosition, setPositionAndRotation, setSneaking, setVelocity, setWorld, shouldRenderInPass, shouldRiderSit, toString, travelToDimension, writeToNBT
public EntityHorse(World par1World)
public void func_110214_p(int par1)
public int func_110265_bP()
public void func_110235_q(int par1)
public int func_110202_bQ()
public String getEntityName()
getEntityName
in class EntityLiving
public boolean func_110228_bR()
public boolean func_110248_bS()
public boolean func_110253_bW()
public void func_110213_b(String par1Str)
public float func_110254_bY()
public void func_98054_a(boolean par1)
func_98054_a
in class EntityAgeable
public boolean func_110246_bZ()
public void func_110234_j(boolean par1)
public void func_110255_k(boolean par1)
public boolean func_110164_bC()
func_110164_bC
in class EntityLiving
public boolean func_110261_ca()
public int func_110241_cb()
public int func_110260_d(ItemStack par1ItemStack)
public boolean func_110204_cc()
public boolean func_110209_cd()
public boolean func_110205_ce()
public boolean func_110243_cf()
public void func_110236_r(int par1)
public void func_110242_l(boolean par1)
public void func_110207_m(boolean par1)
public void func_110221_n(boolean par1)
public void func_110251_o(boolean par1)
public int func_110252_cg()
public void func_110238_s(int par1)
public int func_110198_t(int par1)
public boolean attackEntityFrom(DamageSource par1DamageSource, float par2)
attackEntityFrom
in class EntityAnimal
public int getTotalArmorValue()
getTotalArmorValue
in class EntityLivingBase
public boolean canBePushed()
canBePushed
in class EntityLivingBase
public boolean func_110262_ch()
public void func_110224_ci()
public void onInventoryChanged(InventoryBasic par1InventoryBasic)
onInventoryChanged
in interface IInvBasic
public boolean getCanSpawnHere()
getCanSpawnHere
in class EntityAnimal
public double func_110215_cj()
public boolean func_110257_ck()
public int getMaxSpawnedInChunk()
getMaxSpawnedInChunk
in class EntityLiving
public int func_110218_cm()
public int getTalkInterval()
getTalkInterval
in class EntityAnimal
public boolean func_110239_cn()
public String func_110264_co()
public String[] func_110212_cp()
public void func_110199_f(EntityPlayer par1EntityPlayer)
public boolean interact(EntityPlayer par1EntityPlayer)
interact
in class EntityAnimal
public boolean func_110259_cr()
public boolean func_110229_cs()
public boolean func_110256_cu()
public boolean func_110222_cv()
public boolean isBreedingItem(ItemStack par1ItemStack)
isBreedingItem
in class EntityAnimal
public void onDeath(DamageSource par1DamageSource)
onDeath
in class EntityLivingBase
public void onLivingUpdate()
onLivingUpdate
in class EntityAnimal
public void onUpdate()
onUpdate
in class EntityLiving
public void func_110227_p(boolean par1)
public void func_110219_q(boolean par1)
public void func_110231_cz()
public void func_110244_cA()
public boolean func_110263_g(EntityPlayer par1EntityPlayer)
public void moveEntityWithHeading(float par1, float par2)
moveEntityWithHeading
in class EntityLivingBase
public void writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
writeEntityToNBT
in class EntityAnimal
public void readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
readEntityFromNBT
in class EntityAnimal
public boolean canMateWith(EntityAnimal par1EntityAnimal)
canMateWith
in class EntityAnimal
public EntityAgeable createChild(EntityAgeable par1EntityAgeable)
createChild
in class EntityAgeable
public EntityLivingData func_110161_a(EntityLivingData par1EntityLivingData)
func_110161_a
in class EntityLiving
public float func_110258_o(float par1)
public float func_110223_p(float par1)
public float func_110201_q(float par1)
public void func_110206_u(int par1)
public void handleHealthUpdate(byte par1)
handleHealthUpdate
in class EntityAnimal
public void updateRiderPosition()
updateRiderPosition
in class Entity
public static boolean func_110211_v(int par0)
public boolean isOnLadder()
isOnLadder
in class EntityLivingBase