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

public abstract class HorseBaseEntity

extends AnimalEntity implements InventoryListener, JumpingMount

All mapped superinterfaces:

CommandSource, SpawnableEntity, InventoryListener, JumpingMount

xm
net.minecraft.class_3136
net.minecraft.entity.living.mob.passive.animal.HorseBaseEntity
net.minecraft.entity.passive.AbstractHorse

Field summary

Modifier and TypeField
private static final com.google.common.base.Predicate<Entity>
bG
field_15495
BREED_FILTER
IS_HORSE_BREEDING
protected static final EntityAttribute
bw
field_15508
JUMP_STRENGTH_ATTRIBUTE
JUMP_STRENGTH
private static final DataAttribute<Byte>
bH
field_15496
HORSE_FLAGS
STATUS
private static final DataAttribute<com.google.common.base.Optional<UUID>>
bI
field_15497
OWNER
OWNER_UNIQUE_ID
private int
bJ
field_15498
eatingGrassTicks
eatingCounter
private int
bK
field_15499
eatingTicks
openMouthCounter
private int
bL
field_15500
angryTicks
jumpRearingCounter
public int
bx
field_15509
type
tailCounter
public int
by
field_15510
cooldown
sprintCounter
protected boolean
bA
field_15489
inAir
horseJumping
protected AnimalInventory
bB
field_15490
inventory
horseChest
protected int
bC
field_15491
temper
temper
protected float
bD
field_15492
jumpStrength
jumpPower
private boolean
bM
field_15501
jumping
allowStandSliding
private float
bN
field_15502
eatingGrassAnimationProgress
headLean
private float
bO
field_15503
lastEatingGrassAnimationProgress
prevHeadLean
private float
bP
field_15504
angryAnimationProgress
rearingAmount
private float
bQ
field_15505
lastAngryAnimationProgress
prevRearingAmount
private float
bR
field_15506
eatingAnimationProgress
mouthOpenness
private float
bS
field_15507
lastEatingAnimationProgress
prevMouthOpenness
protected boolean
bE
field_15493
canRun
canGallop
protected int
bF
field_15494
soundTicks
gallopTime

Constructor summary

ModifierConstructor
public (World arg0)

Method summary

Modifier and TypeMethod
protected void
r()
method_13087()
initGoals()
initEntityAI()
protected void
i()
method_2484()
registerSyncedData()
entityInit()
protected boolean
g(int arg0)
method_14002(int arg0)
getHorseFlag(int flag)
getHorseWatchableBoolean(int arg0)
protected void
c(int arg0, boolean arg1)
method_13972(int arg0, boolean arg1)
setHorseFlag(int flag, boolean value)
setHorseWatchableBoolean(int arg0, boolean arg1)
public boolean
dp()
method_13990()
isTame()
isTame()
public UUID
dq()
method_13991()
getOwnerUuid()
getOwnerUniqueId()
public void
b(UUID arg0)
method_13971(UUID arg0)
setOwnerName(UUID ownerUuid)
setOwnerUniqueId(UUID uniqueId)
public float
dr()
method_13992()
getSize()
getHorseSize()
public void
a(boolean arg0)
method_5377(boolean arg0)
setAgeSize(boolean arg0)
setScaleForAge(boolean arg0)
public boolean
ds()
method_13993()
isInAir()
isHorseJumping()
public void
q(boolean arg0)
method_14007(boolean arg0)
setTame(boolean tame)
setHorseTamed(boolean tamed)
public void
r(boolean arg0)
method_14009(boolean arg0)
setInAir(boolean inAir)
setHorseJumping(boolean jumping)
public boolean
a(aay arg0)
method_2537(class_988 arg0)
isTameable(PlayerEntity arg0)
canBeLeashedTo(EntityPlayer arg0)
protected void
q(float arg0)
method_6175(float arg0)
updateForLeashLength(float arg0)
onLeashDistance(float arg0)
public boolean
dt()
method_13994()
isEatingHay()
isEatingHaystack()
public boolean
du()
method_13995()
isAngry()
isRearing()
public boolean
dv()
method_13996()
isBred()
isBreeding()
public void
s(boolean arg0)
method_14011(boolean arg0)
setBred(boolean bred)
setBreeding(boolean breeding)
public void
t(boolean arg0)
method_14013(boolean arg0)
setSaddled(boolean saddled)
setHorseSaddled(boolean saddled)
public int
dw()
method_13997()
getTemper()
getTemper()
public void
m(int arg0)
method_14005(int arg0)
setTemper(int temper)
setTemper(int temperIn)
public int
n(int arg0)
method_14006(int arg0)
addTemper(int amount)
increaseTemper(int arg0)
public boolean
a(ry arg0, float arg1)
method_2499(class_856 arg0, float arg1)
takeDamage(DamageSource arg0, float arg1)
attackEntityFrom(DamageSource arg0, float arg1)
public boolean
ar()
method_2472()
isPushable()
canBePushed()
private void
dh()
method_13986()
playEatingAnimation()
eatingHorse()
public void
e(float arg0, float arg1)
method_2490(float arg0, float arg1)
takeFallDamage(float arg0, float arg1)
fall(float arg0, float arg1)
protected int
di()
method_13987()
getInventorySize()
getInventorySize()
protected void
dx()
method_13998()
updateInventory()
initHorseChest()
protected void
dy()
method_6244()
updateSaddle()
updateHorseSlots()
public void
a(rc arg0)
method_13928(class_849 arg0)
onInventoryChanged(Inventory arg0)
onInventoryChanged(IInventory arg0)
protected HorseBaseEntity
a(sn arg0, double arg1)
method_13969(class_864 arg0, double arg1)
findNearestEntity(Entity entity, double stretch)
getClosestHorse(Entity entityIn, double distance)
public double
dz()
method_13999()
getCustomJumpStrength()
getHorseJumpStrength()
protected SoundEvent
bX()
method_13049()
getDeathSound()
getDeathSound()
protected SoundEvent
bW()
method_13048()
getHurtSound()
getHurtSound()
protected SoundEvent
G()
method_2603()
getAmbientSound()
getAmbientSound()
public boolean
dA()
method_13974()
shouldAmbientStand()
canBeSaddled()
public boolean
dB()
method_13975()
isSaddled()
isHorseSaddled()
protected SoundEvent
dj()
method_13132()
getAngrySound()
getAngrySound()
protected void
a(co arg0, alu arg1)
method_10936(class_2552 arg0, class_197 arg1)
playStepSound(BlockPos arg0, Block arg1)
playStepSound(BlockPos arg0, Block arg1)
protected void
a(aqu arg0)
method_13967(class_200 arg0)
playWalkSound(BlockSounds sounds)
playGallopSound(SoundType arg0)
protected void
bE()
method_6129()
initAttributes()
applyEntityAttributes()
public int
cQ()
method_2639()
getLimitPerChunk()
getMaxSpawnedInChunk()
public int
dC()
method_13976()
getMaxTemper()
getMaxTemper()
protected float
ci()
method_2602()
getSoundVolume()
getSoundVolume()
public int
C()
method_2594()
getAmbientSoundInterval()
getTalkInterval()
public void
f(aay arg0)
method_14000(class_988 arg0)
openInventory(PlayerEntity player)
openGUI(EntityPlayer playerEntity)
protected boolean
b(aay arg0, afj arg1)
method_13970(class_988 arg0, class_1071 arg1)
receiveFood(PlayerEntity player, ItemStack item)
handleEating(EntityPlayer player, ItemStack stack)
protected void
g(aay arg0)
method_14003(class_988 arg0)
putPlayerOnBack(PlayerEntity player)
mountTo(EntityPlayer player)
protected boolean
ck()
method_2610()
isDead()
isMovementBlocked()
public boolean
e(afj arg0)
method_2853(class_1071 arg0)
isBreedingItem(ItemStack arg0)
isBreedingItem(ItemStack arg0)
private void
dk()
method_13988()
setType()
moveTail()
public void
a(ry arg0)
method_2580(class_856 arg0)
die(DamageSource arg0)
onDeath(DamageSource arg0)
public void
n()
method_2651()
mobTick()
onLivingUpdate()
protected void
dD()
method_13977()
walkToParent()
followMother()
public boolean
dE()
method_13978()
eatsGrass()
canEatGrass()
public void
A_()
method_2558()
tick()
onUpdate()
private void
dl()
method_13989()
setEating()
openHorseMouth()
public void
u(boolean arg0)
method_14014(boolean arg0)
setEatingHay(boolean eatingHay)
setEatingHaystack(boolean arg0)
public void
v(boolean arg0)
method_14015(boolean arg0)
setAngry(boolean angry)
setRearing(boolean rearing)
private void
dL()
method_13985()
updateAnger()
makeHorseRear()
public void
dF()
method_13979()
playAngrySound()
makeMad()
public boolean
h(aay arg0)
method_14004(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 static void
c(ph arg0, Class<?> arg1)
method_13973(class_2934 arg0, Class<?> arg1)
registerSchema(DataFixerUpper dfu, Class<?> type)
registerFixesAbstractHorse(DataFixer fixer, Class<?> entityClass)
public void
b(du arg0)
method_2528(class_322 arg0)
writeCustomNbt(NbtCompound arg0)
writeEntityToNBT(NBTTagCompound arg0)
public void
a(du arg0)
method_2498(class_322 arg0)
readCustomNbt(NbtCompound arg0)
readEntityFromNBT(NBTTagCompound arg0)
public boolean
a(ww arg0)
method_2852(class_942 arg0)
canBreedWith(AnimalEntity arg0)
canMateWith(EntityAnimal arg0)
protected boolean
dG()
method_13980()
canBreed()
canMate()
public PassiveEntity
a(sk arg0)
method_4440(class_862 arg0)
makeChild(PassiveEntity arg0)
createChild(EntityAgeable arg0)
protected void
a(sk arg0, xm arg1)
method_13968(class_862 arg0, class_3136 arg1)
setChildAttributes(PassiveEntity other, HorseBaseEntity child)
setOffspringAttributes(EntityAgeable arg0, AbstractHorse arg1)
public boolean
cR()
method_4476()
canBeControlledByRider()
canBeSteered()
public boolean
a()
method_13089()
canJump()
canJump()
public void
b(int arg0)
method_13090(int arg0)
startJumping(int arg0)
handleStartJump(int arg0)
public void
q_()
method_13091()
stopJumping()
handleStopJump()
public void
k(sn arg0)
method_13009(class_864 arg0)
updateRiderPositon(Entity arg0)
updatePassenger(Entity arg0)
protected float
dH()
method_13981()
getChildHealthBonus()
getModifiedMaxHealth()
protected double
dI()
method_13982()
getChildJumpStrengthBonus()
getModifiedJumpStrength()
protected double
dJ()
method_13983()
getMovementSpeedBonus()
getModifiedMovementSpeed()
public boolean
m_()
method_2660()
isClimbing()
isOnLadder()
public float
bq()
method_2544()
getEyeHeight()
getEyeHeight()
public boolean
dK()
method_13984()
hasArmorSlot()
wearsArmor()
public boolean
f(afj arg0)
method_14001(class_1071 arg0)
isHorseArmor(ItemStack item)
isArmor(ItemStack stack)
public boolean
c(int arg0, afj arg1)
method_10956(int arg0, class_1071 arg1)
replaceItem(int arg0, ItemStack arg1)
replaceItemInInventory(int arg0, ItemStack arg1)
public Entity
bw()
method_12999()
getControllingPassenger()
getControllingPassenger()
public EntityData
a(rh arg0, sz arg1)
method_6156(class_2607 arg0, class_1700 arg1)
initialize(LocalDifficulty arg0, EntityData arg1)
onInitialSpawn(DifficultyInstance arg0, IEntityLivingData arg1)
public float
r(float arg0)
method_14008(float arg0)
getGrassAnimationProgress(float tickDelta)
getGrassEatingAmount(float arg0)
public float
s(float arg0)
method_14010(float arg0)
getAngryAnimationProgress(float tickDelta)
getRearingAmount(float arg0)
public float
t(float arg0)
method_14012(float arg0)
getEatingAnimationProgress(float tickDelta)
getMouthOpennessAngle(float arg0)
public void
a_(int arg0)
method_6299(int arg0)
setJumpStrength(int arg0)
setJumpPower(int arg0)
protected void
w(boolean arg0)
method_14016(boolean arg0)
addTamingParticles(boolean success)
spawnHorseParticles(boolean arg0)
public void
a(byte arg0)
method_2485(byte arg0)
doEvent(byte arg0)
handleStatusUpdate(byte arg0)