net.minecraft.entity.living.mob.passive.animal

public class HorseBaseEntity

extends AnimalEntity implements InventoryListener

All mapped superinterfaces:

CommandSource, SpawnableEntity, InventoryListener

tp
net.minecraft.class_1712
net.minecraft.entity.living.mob.passive.animal.HorseBaseEntity
net.minecraft.entity.passive.EntityHorse

Field summary

Modifier and TypeField
private static final com.google.common.base.Predicate<Entity>
bs
field_11975
BREED_FILTER
horseBreedingSelector
private static final EntityAttribute
bt
field_6903
JUMP_STRENGTH_ATTRIBUTE
horseJumpStrength
private static final String[]
bu
field_6904
HORSE_ARMOR_TEXTURE_PATHS
horseArmorTextures
private static final String[]
bv
field_6905
HORSE_ARMOR_HASHES
HORSE_ARMOR_TEXTURES_ABBR
private static final int[]
bw
field_6906
HORSE_ARMOR_PROTECTION
armorValues
private static final String[]
bx
field_6907
HORSE_VARIANT_TEXTURE_PATHS
horseTextures
private static final String[]
by
field_6879
HORSE_VARIANT_HASHES
HORSE_TEXTURES_ABBR
private static final String[]
bz
field_6880
HORSE_MARKINGS_TEXTURE_PATHS
horseMarkingTextures
private static final String[]
bA
field_6881
HORSE_MARKINGS_HASHES
HORSE_MARKING_TEXTURES_ABBR
private int
bB
field_6882
eatingGrassTicks
eatingHaystackCounter
private int
bC
field_6883
eatingTicks
openMouthCounter
private int
bD
field_6884
angryTicks
jumpRearingCounter
public int
bm
field_6897
type
field_110278_bp
public int
bo
field_6898
cooldown
field_110279_bq
protected boolean
bp
field_6899
inAir
horseJumping
private AnimalInventory
bE
field_6885
inventory
horseChest
private boolean
bF
field_6886
hasBred
hasReproduced
protected int
bq
field_6900
temper
temper
protected float
br
field_6901
jumpStrength
jumpPower
private boolean
bG
field_6887
jumping
field_110294_bI
private float
bH
field_6888
eatingGrassAnimationProgress
headLean
private float
bI
field_6889
lastEatingGrassAnimationProgress
prevHeadLean
private float
bJ
field_6890
angryAnimationProgress
rearingAmount
private float
bK
field_6891
lastAngryAnimationProgress
prevRearingAmount
private float
bL
field_6892
eatingAnimationProgress
mouthOpenness
private float
bM
field_6893
lastEatingAnimationProgress
prevMouthOpenness
private int
bN
field_6894
soundTicks
gallopTime
private String
bO
field_6895
baseTexturePath
texturePrefix
private String[]
bP
field_6896
armoredTexturePaths
horseTexturesArray
private boolean
bQ
field_11974
hasArmoredTexture
field_175508_bO

Constructor summary

ModifierConstructor
public (World arg0)

Method summary

Modifier and TypeMethod
protected void
h()
method_2484()
registerSyncedData()
entityInit()
public void
r(int arg0)
method_6290(int arg0)
setType(int type)
setHorseType(int type)
public int
cl()
method_6235()
getType()
getHorseType()
public void
s(int arg0)
method_6293(int arg0)
setVariant(int variant)
setHorseVariant(int variant)
public int
cm()
method_6236()
getVariant()
getHorseVariant()
public String
e_()
method_2518()
getName()
getName()
private boolean
w(int arg0)
method_6301(int arg0)
getHorseFlag(int flag)
getHorseWatchableBoolean(int arg0)
private void
c(int arg0, boolean arg1)
method_6233(int arg0, boolean arg1)
setHorseFlag(int flag, boolean value)
setHorseWatchableBoolean(int arg0, boolean arg1)
public boolean
cn()
method_6237()
isOldEnoughForBreeding()
isAdultHorse()
public boolean
co()
method_6238()
isTame()
isTame()
public boolean
cp()
method_6254()
acceptsFoodFromPassenger()
func_110253_bW()
public String
ct()
method_6255()
getOwnerUuid()
getOwnerId()
public void
b(String arg0)
method_6234(String arg0)
setOwnerName(String name)
setOwnerId(String id)
public float
cu()
method_6256()
getSize()
getHorseSize()
public void
a(boolean arg0)
method_5377(boolean arg0)
setAgeSize(boolean arg0)
setScaleForAge(boolean arg0)
public boolean
cv()
method_6257()
isInAir()
isHorseJumping()
public void
l(boolean arg0)
method_6282(boolean arg0)
setTame(boolean tame)
setHorseTamed(boolean tamed)
public void
m(boolean arg0)
method_6283(boolean arg0)
setInAir(boolean inAir)
setHorseJumping(boolean jumping)
public boolean
cb()
method_6160()
isTameable()
allowLeashing()
protected void
o(float arg0)
method_6175(float arg0)
updateForLeashLength(float arg0)
func_142017_o(float arg0)
public boolean
cw()
method_6258()
hasChest()
isChested()
public int
cx()
method_6259()
getArmorTier()
getHorseArmorIndexSynced()
private int
f(zx arg0)
method_8391(class_1071 arg0)
getArmorTier(ItemStack item)
getHorseArmorIndex(ItemStack itemStackIn)
public boolean
cy()
method_6260()
isEatingHay()
isEatingHaystack()
public boolean
cz()
method_6261()
isAngry()
isRearing()
public boolean
cA()
method_6262()
isBred()
isBreeding()
public boolean
cB()
method_6263()
hasBred()
getHasReproduced()
public void
e(zx arg0)
method_8390(class_1071 arg0)
setArmor(ItemStack item)
setHorseArmorStack(ItemStack itemStackIn)
public void
n(boolean arg0)
method_6284(boolean arg0)
setBred(boolean bred)
setBreeding(boolean breeding)
public void
o(boolean arg0)
method_6285(boolean arg0)
setHasChest(boolean hasChest)
setChested(boolean chested)
public void
p(boolean arg0)
method_6286(boolean arg0)
setHasBred(boolean hasBred)
setHasReproduced(boolean hasReproducedIn)
public void
q(boolean arg0)
method_6287(boolean arg0)
setSaddled(boolean saddled)
setHorseSaddled(boolean saddled)
public int
cC()
method_6264()
getTemper()
getTemper()
public void
t(int arg0)
method_6297(int arg0)
setTemper(int temper)
setTemper(int temperIn)
public int
u(int arg0)
method_6298(int arg0)
addTemper(int amount)
increaseTemper(int arg0)
public boolean
a(ow arg0, float arg1)
method_2499(class_856 arg0, float arg1)
takeDamage(DamageSource arg0, float arg1)
attackEntityFrom(DamageSource arg0, float arg1)
public int
br()
method_2601()
getArmorProtection()
getTotalArmorValue()
public boolean
ae()
method_2472()
isPushable()
canBePushed()
public boolean
cD()
method_6265()
getSpawnBiome()
prepareChunkForSpawn()
public void
cE()
method_6266()
dropChest()
dropChests()
private void
cY()
method_6241()
playEatingAnimation()
func_110266_cB()
public void
e(float arg0, float arg1)
method_2490(float arg0, float arg1)
takeFallDamage(float arg0, float arg1)
fall(float arg0, float arg1)
private int
cZ()
method_6242()
getInventorySize()
getChestSize()
private void
da()
method_6243()
updateInventory()
initHorseChest()
private void
db()
method_6244()
updateSaddle()
updateHorseSlots()
public void
a(oq arg0)
method_2391(class_852 arg0)
onInventoryChanged(SimpleInventory arg0)
onInventoryChanged(InventoryBasic arg0)
public boolean
bR()
method_2637()
canSpawn()
getCanSpawnHere()
protected HorseBaseEntity
a(pk arg0, double arg1)
method_6231(class_864 arg0, double arg1)
findNearestEntity(Entity entity, double stretch)
getClosestHorse(Entity entityIn, double distance)
public double
cF()
method_6267()
getCustomJumpStrength()
getHorseJumpStrength()
protected String
bp()
method_2605()
getDeathSound()
getDeathSound()
protected Item
A()
method_8375()
getDropItem()
getDropItem()
protected String
bo()
method_2604()
getHurtSound()
getHurtSound()
public boolean
cG()
method_6268()
isSaddled()
isHorseSaddled()
protected String
z()
method_2603()
getAmbientSound()
getLivingSound()
protected String
cH()
method_6269()
getAngrySound()
getAngrySoundName()
protected void
a(cj arg0, afh arg1)
method_10936(class_2552 arg0, class_197 arg1)
playStepSound(BlockPos arg0, Block arg1)
playStepSound(BlockPos arg0, Block arg1)
protected void
aX()
method_6129()
initAttributes()
applyEntityAttributes()
public int
bV()
method_2639()
getLimitPerChunk()
getMaxSpawnedInChunk()
public int
cI()
method_6270()
getMaxTemper()
getMaxTemper()
protected float
bB()
method_2602()
getSoundVolume()
getSoundVolume()
public int
w()
method_2594()
getAmbientSoundInterval()
getTalkInterval()
private void
dc()
method_6245()
deleteName()
resetTexturePrefix()
public void
g(wn arg0)
method_6279(class_988 arg0)
openInventory(PlayerEntity player)
openGUI(EntityPlayer playerEntity)
public boolean
a(wn arg0)
method_2537(class_988 arg0)
interactMob(PlayerEntity arg0)
interact(EntityPlayer arg0)
private void
i(wn arg0)
method_6281(class_988 arg0)
putPlayerOnBack(PlayerEntity player)
mountTo(EntityPlayer player)
public boolean
cO()
method_6274()
canHaveArmor()
canWearArmor()
public boolean
cP()
method_6275()
canHaveChest()
canCarryChest()
protected boolean
bD()
method_2610()
isDead()
isMovementBlocked()
public boolean
cR()
method_6276()
isAngryHorse()
isUndead()
public boolean
cS()
method_6277()
noLove()
isSterile()
public boolean
d(zx arg0)
method_2853(class_1071 arg0)
isBreedingItem(ItemStack arg0)
isBreedingItem(ItemStack arg0)
private void
de()
method_6247()
setType()
func_110210_cH()
public void
a(ow arg0)
method_2580(class_856 arg0)
die(DamageSource arg0)
onDeath(DamageSource arg0)
public void
m()
method_2651()
mobTick()
onLivingUpdate()
public void
t_()
method_2558()
tick()
onUpdate()
private void
df()
method_6248()
setEating()
openHorseMouth()
private boolean
dg()
method_6249()
canBreed()
canMate()
public void
f(boolean arg0)
method_2538(boolean arg0)
setUsingItem(boolean arg0)
setEating(boolean arg0)
public void
r(boolean arg0)
method_6288(boolean arg0)
setEatingHay(boolean eatingHay)
setEatingHaystack(boolean arg0)
public void
s(boolean arg0)
method_6291(boolean arg0)
setAngry(boolean angry)
setRearing(boolean rearing)
private void
dh()
method_6250()
updateAnger()
makeHorseRear()
public void
cW()
method_6239()
playAngrySound()
makeHorseRearWithSound()
public void
cX()
method_6240()
dropInventoryAndChest()
dropChestItems()
private void
a(pk arg0, xj arg1)
method_6232(class_864 arg0, class_1719 arg1)
dropInventory(Entity entity, AnimalInventory inventory)
dropItemsInChest(Entity entityIn, AnimalChest animalChestIn)
public boolean
h(wn arg0)
method_6280(class_988 arg0)
bondWithPlayer(PlayerEntity player)
setTamedBy(EntityPlayer player)
public void
g(float arg0, float arg1)
method_2657(float arg0, float arg1)
moveRelative(float arg0, float arg1)
moveEntityWithHeading(float arg0, float arg1)
public void
b(dn arg0)
method_2528(class_322 arg0)
writeCustomNbt(NbtCompound arg0)
writeEntityToNBT(NBTTagCompound arg0)
public void
a(dn arg0)
method_2498(class_322 arg0)
readCustomNbt(NbtCompound arg0)
readEntityFromNBT(NBTTagCompound arg0)
public boolean
a(tm arg0)
method_2852(class_942 arg0)
canBreedWith(AnimalEntity arg0)
canMateWith(EntityAnimal arg0)
public PassiveEntity
a(ph arg0)
method_4440(class_862 arg0)
makeChild(PassiveEntity arg0)
createChild(EntityAgeable arg0)
public EntityData
a(ok arg0, pu arg1)
method_6156(class_2607 arg0, class_1700 arg1)
initialize(LocalDifficulty arg0, EntityData arg1)
onInitialSpawn(DifficultyInstance arg0, IEntityLivingData arg1)
public void
v(int arg0)
method_6299(int arg0)
setJumpStrength(int strength)
setJumpPower(int jumpPowerIn)
public void
al()
method_2479()
updateRiderPositon()
updateRiderPosition()
private float
di()
method_6251()
getChildHealthBonus()
getModifiedMaxHealth()
private double
dj()
method_6252()
getChildJumpStrengthBonus()
getModifiedJumpStrength()
private double
dk()
method_6253()
getMovementSpeedBonus()
getModifiedMovementSpeed()
public static boolean
a(zw arg0)
method_8389(class_1069 arg0)
isHorseArmor(Item item)
isArmorItem(Item arg0)
public boolean
k_()
method_2660()
isClimbing()
isOnLadder()
public float
aS()
method_2544()
getEyeHeight()
getEyeHeight()
public boolean
d(int arg0, zx arg1)
method_10956(int arg0, class_1071 arg1)
replaceItem(int arg0, ItemStack arg1)
replaceItemInInventory(int arg0, ItemStack arg1)
public boolean
cJ()
method_6271()
hasArmor()
func_110239_cn()
public boolean
cK()
method_11071()
hasArmoredTexture()
func_175507_cI()
private void
dd()
method_6246()
updateTexturePaths()
setHorseTexturePaths()
public String
cL()
method_6272()
getBaseTexturePath()
getHorseTexture()
public String[]
cM()
method_6273()
getArmoredTexturePaths()
getVariantTexturePaths()
public float
p(float arg0)
method_6289(float arg0)
getGrassAnimationProgress(float tickDelta)
getGrassEatingAmount(float arg0)
public float
q(float arg0)
method_6292(float arg0)
getAngryAnimationProgress(float tickDelta)
getRearingAmount(float arg0)
public float
r(float arg0)
method_6295(float arg0)
getEatingAnimationProgress(float tickDelta)
getMouthOpennessAngle(float arg0)
protected void
t(boolean arg0)
method_6294(boolean arg0)
addTamingParticles(boolean success)
spawnHorseParticles(boolean arg0)
public void
a(byte arg0)
method_2485(byte arg0)
doEvent(byte arg0)
handleStatusUpdate(byte arg0)