net.minecraft.world.entity.animal.horse

public abstract class AbstractHorse

extends Animal implements ContainerListener, PlayerRideableJumping

All mapped superinterfaces:

Nameable, CommandSource, ContainerListener, PlayerRideableJumping

aub
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_15_R1.EntityHorseAbstract

Field summary

Modifier and TypeField
private static final Predicate<LivingEntity>
bF
PARENT_HORSE_SELECTOR
field_6956
IS_BRED_HORSE
field_110276_bu
private static final TargetingConditions
bG
MOMMY_TARGETING
field_18118
PARENT_HORSE_PREDICATE
field_213618_bK
protected static final Attribute
bw
JUMP_STRENGTH
field_6974
JUMP_STRENGTH
field_110271_bv
attributeJumpStrength
private static final EntityDataAccessor<Byte>
bH
DATA_ID_FLAGS
field_6959
HORSE_FLAGS
field_184787_bE
private static final EntityDataAccessor<Optional<UUID>>
bI
DATA_ID_OWNER_UUID
field_6972
OWNER_UUID
field_184790_bH
private int
bJ
eatingCounter
field_6971
eatingGrassTicks
field_190689_bJ
private int
bK
mouthCounter
field_6973
eatingTicks
field_110290_bE
private int
bL
standCounter
field_6970
angryTicks
field_110295_bF
public int
bx
tailCounter
field_6957
field_110278_bp
public int
by
sprintCounter
field_6958
field_110279_bq
protected boolean
bz
isJumping
field_6968
inAir
field_110275_br
protected SimpleContainer
bA
inventory
field_6962
items
field_110296_bG
inventoryChest
protected int
bB
temper
field_6955
temper
field_110274_bs
protected float
bC
playerJumpPendingScale
field_6976
jumpStrength
field_110277_bt
jumpPower
private boolean
bM
allowStandSliding
field_6960
jumping
field_110294_bI
canSlide
private float
bN
eatAnim
field_6969
eatingGrassAnimationProgress
field_110283_bJ
private float
bO
eatAnimO
field_6966
lastEatingGrassAnimationProgress
field_110284_bK
private float
bP
standAnim
field_6967
angryAnimationProgress
field_110281_bL
private float
bQ
standAnimO
field_6963
lastAngryAnimationProgress
field_110282_bM
private float
bR
mouthAnim
field_6965
eatingAnimationProgress
field_110287_bN
private float
bS
mouthAnimO
field_6961
lastEatingAnimationProgress
field_110288_bO
protected boolean
bD
canGallop
field_6964
field_190688_bE
protected int
bE
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
ez()
addBehaviourGoals()
method_6764()
initCustomGoals()
func_205714_dM()
protected void
w_()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
protected boolean
t(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
eA()
isTamed()
method_6727()
isTame()
func_110248_bS()
isTamed()
public UUID
eB()
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
eC()
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(ayg 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
eD()
isEating()
method_6724()
isEatingGrass()
func_110204_cc()
public boolean
eE()
isStanding()
method_6736()
isAngry()
func_110209_cd()
public boolean
eF()
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
eG()
getTemper()
method_6729()
getTemper()
func_110252_cg()
getTemper()
public void
u(int arg0)
setTemper(int arg0)
method_6749(int arg0)
setTemper(int temper)
func_110238_s(int arg0)
setTemper(int arg0)
public int
v(int arg0)
modifyTemper(int arg0)
method_6745(int arg0)
addTemper(int difference)
func_110198_t(int arg0)
public boolean
a(ajw 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
aL()
isPushable()
method_5810()
isPushable()
func_70104_M()
isCollidable()
private void
eq()
eating()
method_6733()
playEatingAnimation()
func_110266_cB()
public boolean
b(float arg0, float arg1)
causeFallDamage(float arg0, float arg1)
method_5747(float arg0, float arg1)
handleFallDamage(float arg0, float arg1)
func_225503_b_(float arg0, float arg1)
protected int
e(float arg0, float arg1)
calculateFallDamage(float arg0, float arg1)
method_23329(float arg0, float arg1)
func_225508_e_(float arg0, float arg1)
protected int
er()
getInventorySize()
method_6750()
getInventorySize()
func_190686_di()
getChestSlots()
protected void
eH()
createInventory()
method_6721()
func_110226_cD()
loadChest()
protected void
eI()
updateEquipment()
method_6731()
updateSaddle()
func_110232_cE()
public void
a(ajb arg0)
containerChanged(Container arg0)
method_5453(class_1263 arg0)
onInvChange(Inventory arg0)
func_76316_a(IInventory arg0)
public double
eJ()
getCustomJump()
method_6771()
getJumpStrength()
func_110215_cj()
getJumpStrength()
protected SoundEvent
cX()
getDeathSound()
method_6002()
getDeathSound()
func_184615_bR()
getSoundDeath()
protected SoundEvent
e(ajw 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
eK()
canBeSaddled()
method_6765()
canBeSaddled()
func_190685_dA()
public boolean
eL()
isSaddled()
method_6725()
isSaddled()
func_110257_ck()
protected SoundEvent
es()
getAngrySound()
method_6747()
getAngrySound()
func_184785_dv()
getSoundAngry()
protected void
a(fk arg0, byg 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(buj arg0)
playGallopSound(SoundType arg0)
method_6761(class_2498 arg0)
playWalkSound(BlockSoundGroup group)
func_190680_a(SoundType arg0)
protected void
cA()
registerAttributes()
method_6001()
initAttributes()
func_110147_ax()
initAttributes()
public int
dX()
getMaxSpawnClusterSize()
method_5945()
getLimitPerChunk()
func_70641_bl()
getMaxSpawnGroup()
public int
eM()
getMaxTemper()
method_6755()
getMaxTemper()
func_190676_dC()
getMaxDomestication()
protected float
dm()
getSoundVolume()
method_6107()
getSoundVolume()
func_70599_aP()
getSoundVolume()
public int
A()
getAmbientSoundInterval()
method_5970()
getMinAmbientSoundDelay()
func_70627_aG()
public void
e(ayg arg0)
openInventory(Player arg0)
method_6722(class_1657 arg0)
openInventory(PlayerEntity player)
func_110199_f(PlayerEntity arg0)
protected boolean
b(ayg arg0, bek 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(ayg arg0)
doPlayerRide(Player arg0)
method_6726(class_1657 arg0)
putPlayerOnBack(PlayerEntity player)
func_110237_h(PlayerEntity arg0)
protected boolean
do()
isImmobile()
method_6062()
isImmobile()
func_70610_aX()
isFrozen()
public boolean
i(bek arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
func_70877_b(ItemStack arg0)
private void
et()
moveTail()
method_6759()
func_110210_cH()
protected void
cU()
dropEquipment()
method_16078()
dropInventory()
func_213337_cE()
dropInventory()
public void
k()
aiStep()
method_6007()
tickMovement()
func_70636_d()
movementTick()
protected void
eN()
followMommy()
method_6746()
walkToParent()
func_190679_dD()
public boolean
eO()
canEatGrass()
method_6762()
eatsGrass()
func_190684_dE()
public void
h()
tick()
method_5773()
tick()
func_70071_h_()
tick()
private void
eu()
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
eW()
stand()
method_6748()
updateAnger()
func_110220_cK()
public void
eP()
makeMad()
method_6757()
playAngrySound()
func_190687_dF()
public boolean
h(ayg arg0)
tameWithName(Player arg0)
method_6752(class_1657 arg0)
bondWithPlayer(PlayerEntity player)
func_110263_g(PlayerEntity arg0)
public void
e(cvi arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
func_213352_e(Vec3d arg0)
protected void
eQ()
playJumpSound()
method_6723()
playJumpSound()
func_205715_ee()
public void
b(jt arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
public void
a(jt arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
public boolean
a(asz arg0)
canMate(Animal arg0)
method_6474(class_1429 arg0)
canBreedWith(AnimalEntity arg0)
func_70878_b(AnimalEntity arg0)
mate(EntityAnimal arg0)
protected boolean
eR()
canParent()
method_6734()
canBreed()
func_110200_cJ()
public AgableMob
a(akl arg0)
getBreedOffspring(AgableMob arg0)
method_5613(class_1296 arg0)
createChild(PassiveEntity arg0)
func_90011_a(AgeableEntity arg0)
createChild(EntityAgeable arg0)
protected void
a(akl arg0, aub 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
dY()
canBeControlledByRider()
method_5956()
canBeControlledByRider()
func_82171_bF()
public boolean
G_()
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(akn arg0)
positionRider(Entity arg0)
method_5865(class_1297 arg0)
updatePassengerPosition(Entity arg0)
func_184232_k(Entity arg0)
protected float
eS()
generateRandomMaxHealth()
method_6754()
getChildHealthBonus()
func_110267_cL()
protected double
eT()
generateRandomJumpStrength()
method_6774()
getChildJumpStrengthBonus()
func_110245_cM()
protected double
eU()
generateRandomSpeed()
method_6728()
getChildMovementSpeedBonus()
func_110203_cN()
public boolean
y_()
onLadder()
method_6101()
isClimbing()
func_70617_f_()
isClimbing()
protected float
b(alg arg0, ako 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
eV()
wearsArmor()
method_6735()
canEquip()
func_190677_dK()
public boolean
j(bek arg0)
isArmor(ItemStack arg0)
method_6773(class_1799 arg0)
canEquip(ItemStack item)
func_190682_f(ItemStack arg0)
public boolean
a_(int arg0, bek 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
cd()
getControllingPassenger()
method_5642()
getPrimaryPassenger()
func_184179_bs()
getRidingPassenger()
public SpawnGroupData
a(bju arg0, ajg arg1, akz arg2, alj arg3, jt 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)