net.minecraft.world.entity.animal.horse

public abstract class AbstractHorse

extends Animal implements ContainerListener, PlayerRideableJumping, Saddleable

All mapped superinterfaces:

Nameable, CommandSource, ContainerListener, PlayerRideableJumping, Saddleable

bay
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_16_R2.EntityHorseAbstract

Field summary

Modifier and TypeField
private static final Predicate<LivingEntity>
bw
PARENT_HORSE_SELECTOR
field_6956
IS_BRED_HORSE
field_110276_bu
private static final TargetingConditions
bx
MOMMY_TARGETING
field_18118
PARENT_HORSE_PREDICATE
field_213618_bK
private static final Ingredient
by
FOOD_ITEMS
field_25374
field_25374
field_234235_bE_
private static final EntityDataAccessor<Byte>
bz
DATA_ID_FLAGS
field_6959
HORSE_FLAGS
field_184787_bE
private static final EntityDataAccessor<Optional<UUID>>
bA
DATA_ID_OWNER_UUID
field_6972
OWNER_UUID
field_184790_bH
private int
bB
eatingCounter
field_6971
eatingGrassTicks
field_190689_bJ
private int
bC
mouthCounter
field_6973
eatingTicks
field_110290_bE
private int
bD
standCounter
field_6970
angryTicks
field_110295_bF
public int
bo
tailCounter
field_6957
tailWagTicks
field_110278_bp
public int
bp
sprintCounter
field_6958
field_6958
field_110279_bq
protected boolean
bq
isJumping
field_6968
inAir
field_110275_br
protected SimpleContainer
br
inventory
field_6962
items
field_110296_bG
inventoryChest
protected int
bs
temper
field_6955
temper
field_110274_bs
protected float
bt
playerJumpPendingScale
field_6976
jumpStrength
field_110277_bt
jumpPower
private boolean
bE
allowStandSliding
field_6960
jumping
field_110294_bI
canSlide
private float
bF
eatAnim
field_6969
eatingGrassAnimationProgress
field_110283_bJ
private float
bG
eatAnimO
field_6966
lastEatingGrassAnimationProgress
field_110284_bK
private float
bH
standAnim
field_6967
angryAnimationProgress
field_110281_bL
private float
bI
standAnimO
field_6963
lastAngryAnimationProgress
field_110282_bM
private float
bJ
mouthAnim
field_6965
eatingAnimationProgress
field_110287_bN
private float
bK
mouthAnimO
field_6961
lastEatingAnimationProgress
field_110288_bO
protected boolean
bu
canGallop
field_6964
playExtraHorseSounds
field_190688_bE
protected int
bv
gallopSoundCounter
field_6975
soundTicks
field_110285_bP

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
o()
registerGoals()
method_5959()
initGoals()
func_184651_r()
initPathfinder()
protected void
eV()
addBehaviourGoals()
method_6764()
initCustomGoals()
func_205714_dM()
protected void
e()
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
eW()
isTamed()
method_6727()
isTame()
func_110248_bS()
isTamed()
public UUID
eX()
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
eY()
isJumping()
method_6763()
isInAir()
func_110246_bZ()
public void
u(boolean arg0)
setTamed(boolean arg0)
method_6766(boolean arg0)
setTame(boolean tame)
func_110234_j(boolean arg0)
setTamed(boolean arg0)
public void
v(boolean arg0)
setIsJumping(boolean arg0)
method_6758(boolean arg0)
setInAir(boolean inAir)
func_110255_k(boolean arg0)
protected void
x(float arg0)
onLeashDistance(float arg0)
method_6142(float arg0)
updateForLeashLength(float arg0)
func_142017_o(float arg0)
public boolean
eZ()
isEating()
method_6724()
isEatingGrass()
func_110204_cc()
public boolean
fa()
isStanding()
method_6736()
isAngry()
func_110209_cd()
public boolean
fb()
isBred()
method_6744()
isBred()
func_110205_ce()
hasReproduced()
public void
w(boolean arg0)
setBred(boolean arg0)
method_6751(boolean arg0)
setBred(boolean bred)
func_110242_l(boolean arg0)
public boolean
L_()
isSaddleable()
method_6765()
canBeSaddled()
func_230264_L__()
canSaddle()
public void
a(adp arg0)
equipSaddle(SoundSource arg0)
method_6576(class_3419 arg0)
saddle(SoundCategory arg0)
func_230266_a_(SoundCategory arg0)
saddle(SoundCategory arg0)
public boolean
M_()
isSaddled()
method_6725()
isSaddled()
func_110257_ck()
hasSaddle()
public int
fc()
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
aT()
isPushable()
method_5810()
isPushable()
func_70104_M()
isCollidable()
private void
eL()
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)
computeFallDamage(float arg0, float arg1)
func_225508_e_(float arg0, float arg1)
protected int
eN()
getInventorySize()
method_6750()
getInventorySize()
func_190686_di()
getChestSlots()
protected void
fd()
createInventory()
method_6721()
onChestedStatusChanged()
func_110226_cD()
loadChest()
protected void
fe()
updateContainerEquipment()
method_6731()
updateSaddle()
func_230275_fc_()
public void
a(aok arg0)
containerChanged(Container arg0)
method_5453(class_1263 arg0)
onInventoryChanged(Inventory arg0)
func_76316_a(IInventory arg0)
public double
ff()
getCustomJump()
method_6771()
getJumpStrength()
func_110215_cj()
getJumpStrength()
protected SoundEvent
fg()
getEatingSound()
method_28368()
getEatSound()
func_230274_fe_()
protected SoundEvent
dp()
getDeathSound()
method_6002()
getDeathSound()
func_184615_bR()
getSoundDeath()
protected SoundEvent
e(aph arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
func_184601_bQ(DamageSource arg0)
getSoundHurt(DamageSource arg0)
protected SoundEvent
I()
getAmbientSound()
method_5994()
getAmbientSound()
func_184639_G()
getSoundAmbient()
protected SoundEvent
fh()
getAngrySound()
method_6747()
getAngrySound()
func_184785_dv()
getSoundAngry()
protected void
b(fx arg0, cee 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(cab arg0)
playGallopSound(SoundType arg0)
method_6761(class_2498 arg0)
playWalkSound(BlockSoundGroup group)
func_190680_a(SoundType arg0)
public static AttributeSupplier$Builder
fi()
createBaseHorseAttributes()
method_26899()
createBaseHorseAttributes()
func_234237_fg_()
public int
eq()
getMaxSpawnClusterSize()
method_5945()
getLimitPerChunk()
func_70641_bl()
getMaxSpawnGroup()
public int
fj()
getMaxTemper()
method_6755()
getMaxTemper()
func_190676_dC()
getMaxDomestication()
protected float
dF()
getSoundVolume()
method_6107()
getSoundVolume()
func_70599_aP()
getSoundVolume()
public int
D()
getAmbientSoundInterval()
method_5970()
getMinAmbientSoundDelay()
func_70627_aG()
public void
f(bft arg0)
openInventory(Player arg0)
method_6722(class_1657 arg0)
openInventory(PlayerEntity player)
func_110199_f(PlayerEntity arg0)
public InteractionResult
b(bft arg0, bly arg1)
fedFood(Player arg0, ItemStack arg1)
method_30009(class_1657 arg0, class_1799 arg1)
method_30009(PlayerEntity arg0, ItemStack arg1)
func_241395_b_(PlayerEntity arg0, ItemStack arg1)
protected boolean
c(bft arg0, bly 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
h(bft arg0)
doPlayerRide(Player arg0)
method_6726(class_1657 arg0)
putPlayerOnBack(PlayerEntity player)
func_110237_h(PlayerEntity arg0)
protected boolean
dH()
isImmobile()
method_6062()
isImmobile()
func_70610_aX()
isFrozen()
public boolean
k(bly arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
func_70877_b(ItemStack arg0)
private void
eM()
moveTail()
method_6759()
wagTail()
func_110210_cH()
protected void
dm()
dropEquipment()
method_16078()
dropInventory()
func_213337_cE()
dropInventory()
public void
k()
aiStep()
method_6007()
tickMovement()
func_70636_d()
movementTick()
protected void
fk()
followMommy()
method_6746()
walkToParent()
func_190679_dD()
public boolean
fl()
canEatGrass()
method_6762()
eatsGrass()
func_190684_dE()
public void
j()
tick()
method_5773()
tick()
func_70071_h_()
tick()
private void
eO()
openMouth()
method_6738()
setEating()
func_110249_cI()
public void
x(boolean arg0)
setEating(boolean arg0)
method_6740(boolean arg0)
setEatingGrass(boolean eatingGrass)
func_110227_p(boolean arg0)
public void
y(boolean arg0)
setStanding(boolean arg0)
method_6737(boolean arg0)
setAngry(boolean angry)
func_110219_q(boolean arg0)
setStanding(boolean arg0)
private void
eU()
stand()
method_6748()
updateAnger()
func_110220_cK()
public void
fm()
makeMad()
method_6757()
playAngrySound()
func_190687_dF()
public boolean
i(bft arg0)
tameWithName(Player arg0)
method_6752(class_1657 arg0)
bondWithPlayer(PlayerEntity player)
func_110263_g(PlayerEntity arg0)
public void
g(dck arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
func_213352_e(Vector3d arg0)
protected void
fn()
playJumpSound()
method_6723()
playJumpSound()
func_205715_ee()
public void
b(md arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
saveData(NBTTagCompound arg0)
public void
a(md arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
loadData(NBTTagCompound arg0)
public boolean
a(azw arg0)
canMate(Animal arg0)
method_6474(class_1429 arg0)
canBreedWith(AnimalEntity arg0)
func_70878_b(AnimalEntity arg0)
mate(EntityAnimal arg0)
protected boolean
fo()
canParent()
method_6734()
canBreed()
func_110200_cJ()
public AgableMob
a(aag arg0, apv arg1)
getBreedOffspring(ServerLevel arg0, AgableMob arg1)
method_5613(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
func_241840_a(ServerWorld arg0, AgeableEntity arg1)
createChild(WorldServer arg0, EntityAgeable arg1)
protected void
a(apv arg0, bay 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
er()
canBeControlledByRider()
method_5956()
canBeControlledByRider()
func_82171_bF()
public boolean
P_()
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(apx arg0)
positionRider(Entity arg0)
method_5865(class_1297 arg0)
updatePassengerPosition(Entity arg0)
func_184232_k(Entity arg0)
protected float
fp()
generateRandomMaxHealth()
method_6754()
getChildHealthBonus()
func_110267_cL()
protected double
fq()
generateRandomJumpStrength()
method_6774()
getChildJumpStrengthBonus()
func_110245_cM()
protected double
fr()
generateRandomSpeed()
method_6728()
getChildMovementSpeedBonus()
func_110203_cN()
public boolean
c_()
onClimbable()
method_6101()
isClimbing()
func_70617_f_()
isClimbing()
protected float
b(aqu arg0, apy 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
fs()
canWearArmor()
method_6735()
hasArmorSlot()
func_230276_fq_()
public boolean
ft()
isWearingArmor()
method_6753()
hasArmorInSlot()
func_230277_fr_()
public boolean
l(bly arg0)
isArmor(ItemStack arg0)
method_6773(class_1799 arg0)
isHorseArmor(ItemStack item)
func_190682_f(ItemStack arg0)
public boolean
a_(int arg0, bly 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
cl()
getControllingPassenger()
method_5642()
getPrimaryPassenger()
func_184179_bs()
getRidingPassenger()
private Vec3
a(dck arg0, aqj arg1)
getDismountLocationInDirection(Vec3 arg0, LivingEntity arg1)
method_27930(class_243 arg0, class_1309 arg1)
method_27930(Vec3d arg0, LivingEntity arg1)
func_234236_a_(Vector3d arg0, LivingEntity arg1)
public Vec3
b(aqj arg0)
getDismountLocationForPassenger(LivingEntity arg0)
method_24829(class_1309 arg0)
updatePassengerForDismount(LivingEntity arg0)
func_230268_c_(LivingEntity arg0)
protected void
eK()
randomizeAttributes()
method_6001()
initAttributes()
func_230273_eI_()
public SpawnGroupData
a(bsh arg0, aop arg1, aqm arg2, aqz arg3, md arg4)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, MobSpawnType arg2, SpawnGroupData arg3, CompoundTag arg4)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3, class_2487 arg4)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3, CompoundTag arg4)
func_213386_a(IServerWorld arg0, DifficultyInstance arg1, SpawnReason arg2, ILivingEntityData arg3, CompoundNBT arg4)
prepare(WorldAccess arg0, DifficultyDamageScaler arg1, EnumMobSpawn arg2, GroupDataEntity arg3, NBTTagCompound arg4)
public float
y(float arg0)
getEatAnim(float arg0)
method_6739(float arg0)
getEatingGrassAnimationProgress(float tickDelta)
func_110258_o(float arg0)
public float
z(float arg0)
getStandAnim(float arg0)
method_6767(float arg0)
getAngryAnimationProgress(float tickDelta)
func_110223_p(float arg0)
public float
A(float arg0)
getMouthAnim(float arg0)
method_6772(float arg0)
getEatingAnimationProgress(float tickDelta)
func_110201_q(float arg0)
public void
b_(int arg0)
onPlayerJump(int arg0)
method_6154(int arg0)
setJumpStrength(int arg0)
func_110206_u(int arg0)
protected void
z(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)