net.minecraft.world.entity.animal.horse

public abstract class AbstractHorse

extends Animal implements ContainerListener, PlayerRideableJumping

All mapped superinterfaces:

Nameable, CommandSource, ContainerListener, PlayerRideableJumping

asb
net.minecraft.world.entity.animal.horse.AbstractHorse
net.minecraft.class_1496
net.minecraft.entity.passive.HorseBaseEntity
net.minecraft.entity.passive.horse.AbstractHorseEntity
net.minecraft.server.v1_14_R1.EntityHorseAbstract

Field summary

Modifier and TypeField
private static final Predicate<LivingEntity>
bI
PARENT_HORSE_SELECTOR
field_6956
IS_BRED_HORSE
field_110276_bu
private static final TargetingConditions
bJ
MOMMY_TARGETING
field_18118
PARENT_HORSE_PREDICATE
field_213618_bK
protected static final Attribute
bz
JUMP_STRENGTH
field_6974
JUMP_STRENGTH
field_110271_bv
attributeJumpStrength
private static final EntityDataAccessor<Byte>
bK
DATA_ID_FLAGS
field_6959
HORSE_FLAGS
field_184787_bE
private static final EntityDataAccessor<Optional<UUID>>
bL
DATA_ID_OWNER_UUID
field_6972
OWNER_UUID
field_184790_bH
private int
bM
eatingCounter
field_6971
eatingGrassTicks
field_190689_bJ
private int
bN
mouthCounter
field_6973
eatingTicks
field_110290_bE
private int
bO
standCounter
field_6970
angryTicks
field_110295_bF
public int
bA
tailCounter
field_6957
field_110278_bp
public int
bB
sprintCounter
field_6958
field_110279_bq
protected boolean
bC
isJumping
field_6968
inAir
field_110275_br
protected SimpleContainer
bD
inventory
field_6962
items
field_110296_bG
inventoryChest
protected int
bE
temper
field_6955
temper
field_110274_bs
protected float
bF
playerJumpPendingScale
field_6976
jumpStrength
field_110277_bt
jumpPower
private boolean
bP
allowStandSliding
field_6960
jumping
field_110294_bI
canSlide
private float
bQ
eatAnim
field_6969
eatingGrassAnimationProgress
field_110283_bJ
private float
bR
eatAnimO
field_6966
lastEatingGrassAnimationProgress
field_110284_bK
private float
bS
standAnim
field_6967
angryAnimationProgress
field_110281_bL
private float
bT
standAnimO
field_6963
lastAngryAnimationProgress
field_110282_bM
private float
bU
mouthAnim
field_6965
eatingAnimationProgress
field_110287_bN
private float
bV
mouthAnimO
field_6961
lastEatingAnimationProgress
field_110288_bO
protected boolean
bG
canGallop
field_6964
field_190688_bE
protected int
bH
gallopSoundCounter
field_6975
soundTicks
field_110285_bP

Constructor summary

ModifierConstructor
protected (EntityType<? extends AbstractHorse> type, Level arg1)

Method summary

Modifier and TypeMethod
protected void
n()
registerGoals()
method_5959()
initGoals()
func_184651_r()
initPathfinder()
protected void
ee()
addBehaviourGoals()
method_6764()
initCustomGoals()
func_205714_dM()
protected void
u_()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
protected boolean
s(int arg0)
getFlag(int arg0)
method_6730(int arg0)
getHorseFlag(int bitmask)
func_110233_w(int arg0)
protected void
d(int arg0, boolean arg1)
setFlag(int arg0, boolean arg1)
method_6769(int arg0, boolean arg1)
setHorseFlag(int bitmask, boolean flag)
func_110208_b(int arg0, boolean arg1)
public boolean
ef()
isTamed()
method_6727()
isTame()
func_110248_bS()
isTamed()
public UUID
eg()
getOwnerUUID()
method_6768()
getOwnerUuid()
func_184780_dh()
getOwnerUUID()
public void
b(UUID arg0)
setOwnerUUID(UUID arg0)
method_6732(UUID arg0)
setOwnerUuid(UUID uuid)
func_184779_b(UUID arg0)
setOwnerUUID(UUID arg0)
public boolean
eh()
isJumping()
method_6763()
isInAir()
func_110246_bZ()
public void
s(boolean arg0)
setTamed(boolean arg0)
method_6766(boolean arg0)
setTame(boolean tame)
func_110234_j(boolean arg0)
setTamed(boolean arg0)
public void
t(boolean arg0)
setIsJumping(boolean arg0)
method_6758(boolean arg0)
setInAir(boolean inAir)
func_110255_k(boolean arg0)
public boolean
a(awg arg0)
canBeLeashed(Player arg0)
method_5931(class_1657 arg0)
canBeLeashedBy(PlayerEntity arg0)
func_184652_a(PlayerEntity arg0)
protected void
u(float arg0)
onLeashDistance(float arg0)
method_6142(float arg0)
updateForLeashLength(float arg0)
func_142017_o(float arg0)
public boolean
ei()
isEating()
method_6724()
isEatingGrass()
func_110204_cc()
public boolean
ej()
isStanding()
method_6736()
isAngry()
func_110209_cd()
public boolean
ek()
isBred()
method_6744()
isBred()
func_110205_ce()
hasReproduced()
public void
u(boolean arg0)
setBred(boolean arg0)
method_6751(boolean arg0)
setBred(boolean arg0)
func_110242_l(boolean arg0)
public void
v(boolean arg0)
setSaddled(boolean arg0)
method_6753(boolean arg0)
setSaddled(boolean arg0)
func_110251_o(boolean arg0)
public int
el()
getTemper()
method_6729()
getTemper()
func_110252_cg()
getTemper()
public void
t(int arg0)
setTemper(int arg0)
method_6749(int arg0)
setTemper(int temper)
func_110238_s(int arg0)
setTemper(int arg0)
public int
u(int arg0)
modifyTemper(int arg0)
method_6745(int arg0)
addTemper(int difference)
func_110198_t(int arg0)
public boolean
a(ahx arg0, float arg1)
hurt(DamageSource arg0, float arg1)
method_5643(class_1282 arg0, float arg1)
damage(DamageSource arg0, float arg1)
func_70097_a(DamageSource arg0, float arg1)
damageEntity(DamageSource arg0, float arg1)
public boolean
aI()
isPushable()
method_5810()
isPushable()
func_70104_M()
isCollidable()
private void
dV()
eating()
method_6733()
playEatingAnimation()
func_110266_cB()
public void
b(float arg0, float arg1)
causeFallDamage(float arg0, float arg1)
method_5747(float arg0, float arg1)
handleFallDamage(float arg0, float arg1)
func_180430_e(float arg0, float arg1)
protected int
dW()
getInventorySize()
method_6750()
getInventorySize()
func_190686_di()
getChestSlots()
protected void
em()
createInventory()
method_6721()
func_110226_cD()
loadChest()
protected void
en()
updateEquipment()
method_6731()
updateSaddle()
func_110232_cE()
public void
a(ahc arg0)
containerChanged(Container arg0)
method_5453(class_1263 arg0)
onInvChange(Inventory arg0)
func_76316_a(IInventory arg0)
public double
eo()
getCustomJump()
method_6771()
getJumpStrength()
func_110215_cj()
getJumpStrength()
protected SoundEvent
cH()
getDeathSound()
method_6002()
getDeathSound()
func_184615_bR()
getSoundDeath()
protected SoundEvent
e(ahx arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
func_184601_bQ(DamageSource arg0)
getSoundHurt(DamageSource arg0)
protected SoundEvent
G()
getAmbientSound()
method_5994()
getAmbientSound()
func_184639_G()
getSoundAmbient()
public boolean
ep()
canBeSaddled()
method_6765()
canBeSaddled()
func_190685_dA()
public boolean
eq()
isSaddled()
method_6725()
isSaddled()
func_110257_ck()
protected SoundEvent
dX()
getAngrySound()
method_6747()
getAngrySound()
func_184785_dv()
getSoundAngry()
protected void
a(ew arg0, bvt arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
func_180429_a(BlockPos arg0, BlockState arg1)
protected void
a(bry arg0)
playGallopSound(SoundType arg0)
method_6761(class_2498 arg0)
playWalkSound(BlockSoundGroup group)
func_190680_a(SoundType arg0)
protected void
cl()
registerAttributes()
method_6001()
initAttributes()
func_110147_ax()
initAttributes()
public int
dC()
getMaxSpawnClusterSize()
method_5945()
getLimitPerChunk()
func_70641_bl()
public int
er()
getMaxTemper()
method_6755()
getMaxTemper()
func_190676_dC()
getMaxDomestication()
protected float
cU()
getSoundVolume()
method_6107()
getSoundVolume()
func_70599_aP()
getSoundVolume()
public int
A()
getAmbientSoundInterval()
method_5970()
getMinAmbientSoundDelay()
func_70627_aG()
public void
e(awg arg0)
openInventory(Player arg0)
method_6722(class_1657 arg0)
openInventory(PlayerEntity player)
func_110199_f(PlayerEntity arg0)
protected boolean
b(awg arg0, bcj arg1)
handleEating(Player arg0, ItemStack arg1)
method_6742(class_1657 arg0, class_1799 arg1)
receiveFood(PlayerEntity player, ItemStack item)
func_190678_b(PlayerEntity arg0, ItemStack arg1)
protected void
g(awg arg0)
doPlayerRide(Player arg0)
method_6726(class_1657 arg0)
putPlayerOnBack(PlayerEntity player)
func_110237_h(PlayerEntity arg0)
protected boolean
cW()
isImmobile()
method_6062()
isImmobile()
func_70610_aX()
isFrozen()
public boolean
i(bcj arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
func_70877_b(ItemStack arg0)
private void
dY()
moveTail()
method_6759()
func_110210_cH()
protected void
cF()
dropEquipment()
method_16078()
dropInventory()
func_213337_cE()
public void
k()
aiStep()
method_6007()
tickMovement()
func_70636_d()
movementTick()
protected void
es()
followMommy()
method_6746()
walkToParent()
func_190679_dD()
public boolean
et()
canEatGrass()
method_6762()
eatsGrass()
func_190684_dE()
public void
h()
tick()
method_5773()
tick()
func_70071_h_()
tick()
private void
dZ()
openMouth()
method_6738()
setEating()
func_110249_cI()
public void
w(boolean arg0)
setEating(boolean arg0)
method_6740(boolean arg0)
setEatingGrass(boolean eatingGrass)
func_110227_p(boolean arg0)
public void
x(boolean arg0)
setStanding(boolean arg0)
method_6737(boolean arg0)
setAngry(boolean angry)
func_110219_q(boolean arg0)
setStanding(boolean arg0)
private void
eB()
stand()
method_6748()
updateAnger()
func_110220_cK()
public void
eu()
makeMad()
method_6757()
playAngrySound()
func_190687_dF()
public boolean
h(awg arg0)
tameWithName(Player arg0)
method_6752(class_1657 arg0)
bondWithPlayer(PlayerEntity player)
func_110263_g(PlayerEntity arg0)
public void
e(csi arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
func_213352_e(Vec3d arg0)
protected void
ev()
playJumpSound()
method_6723()
playJumpSound()
func_205715_ee()
public void
b(id arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
public void
a(id arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
public boolean
a(ara arg0)
canMate(Animal arg0)
method_6474(class_1429 arg0)
canBreedWith(AnimalEntity arg0)
func_70878_b(AnimalEntity arg0)
mate(EntityAnimal arg0)
protected boolean
ew()
canParent()
method_6734()
canBreed()
func_110200_cJ()
public AgableMob
a(aim arg0)
getBreedOffspring(AgableMob arg0)
method_5613(class_1296 arg0)
createChild(PassiveEntity arg0)
func_90011_a(AgeableEntity arg0)
createChild(EntityAgeable arg0)
protected void
a(aim arg0, asb arg1)
setOffspringAttributes(AgableMob arg0, AbstractHorse arg1)
method_6743(class_1296 arg0, class_1496 arg1)
setChildAttributes(PassiveEntity mate, HorseBaseEntity child)
func_190681_a(AgeableEntity arg0, AbstractHorseEntity arg1)
public boolean
dD()
canBeControlledByRider()
method_5956()
canBeControlledByRider()
func_82171_bF()
public boolean
F_()
canJump()
method_6153()
canJump()
func_184776_b()
public void
b(int arg0)
handleStartJump(int arg0)
method_6155(int arg0)
startJumping(int arg0)
func_184775_b(int arg0)
public void
c()
handleStopJump()
method_6156()
stopJumping()
func_184777_r_()
public void
k(aio arg0)
positionRider(Entity arg0)
method_5865(class_1297 arg0)
updatePassengerPosition(Entity arg0)
func_184232_k(Entity arg0)
protected float
ex()
generateRandomMaxHealth()
method_6754()
getChildHealthBonus()
func_110267_cL()
protected double
ey()
generateRandomJumpStrength()
method_6774()
getChildJumpStrengthBonus()
func_110245_cM()
protected double
ez()
generateRandomSpeed()
method_6728()
getChildMovementSpeedBonus()
func_110203_cN()
public boolean
w_()
onLadder()
method_6101()
isClimbing()
func_70617_f_()
isClimbing()
protected float
b(ajh arg0, aip arg1)
getStandingEyeHeight(Pose arg0, EntityDimensions arg1)
method_18394(class_4050 arg0, class_4048 arg1)
getActiveEyeHeight(EntityPose arg0, EntityDimensions arg1)
func_213348_b(Pose arg0, EntitySize arg1)
public boolean
eA()
wearsArmor()
method_6735()
canEquip()
func_190677_dK()
public boolean
j(bcj arg0)
isArmor(ItemStack arg0)
method_6773(class_1799 arg0)
canEquip(ItemStack item)
func_190682_f(ItemStack arg0)
public boolean
a_(int arg0, bcj arg1)
setSlot(int arg0, ItemStack arg1)
method_5758(int arg0, class_1799 arg1)
equip(int arg0, ItemStack arg1)
func_174820_d(int arg0, ItemStack arg1)
public Entity
bV()
getControllingPassenger()
method_5642()
getPrimaryPassenger()
func_184179_bs()
getRidingPassenger()
public SpawnGroupData
a(bhs arg0, ahh arg1, aja arg2, ajj arg3, id arg4)
finalizeSpawn(LevelAccessor arg0, DifficultyInstance arg1, MobSpawnType arg2, SpawnGroupData arg3, CompoundTag arg4)
method_5943(class_1936 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3, class_2487 arg4)
initialize(IWorld arg0, LocalDifficulty arg1, SpawnType arg2, EntityData arg3, CompoundTag arg4)
func_213386_a(IWorld arg0, DifficultyInstance arg1, SpawnReason arg2, ILivingEntityData arg3, CompoundNBT arg4)
prepare(GeneratorAccess arg0, DifficultyDamageScaler arg1, EnumMobSpawn arg2, GroupDataEntity arg3, NBTTagCompound arg4)
public float
v(float arg0)
getEatAnim(float arg0)
method_6739(float arg0)
getEatingGrassAnimationProgress(float tickDelta)
func_110258_o(float arg0)
public float
w(float arg0)
getStandAnim(float arg0)
method_6767(float arg0)
getAngryAnimationProgress(float tickDelta)
func_110223_p(float arg0)
public float
x(float arg0)
getMouthAnim(float arg0)
method_6772(float arg0)
getEatingAnimationProgress(float tickDelta)
func_110201_q(float arg0)
public void
a_(int arg0)
onPlayerJump(int arg0)
method_6154(int arg0)
setJumpStrength(int arg0)
func_110206_u(int arg0)
protected void
y(boolean arg0)
spawnTamingParticles(boolean arg0)
method_6760(boolean arg0)
spawnPlayerReactionParticles(boolean positive)
func_110216_r(boolean arg0)
public void
a(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
func_70103_a(byte arg0)