net.minecraft.world.entity.animal.horse

public abstract class AbstractHorse

extends Animal implements ContainerListener, PlayerRideableJumping, Saddleable

All mapped superinterfaces:

Nameable, CommandSource, ContainerListener, PlayerRideableJumping, Saddleable

azm
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_R1.EntityHorseAbstract

Field summary

Modifier and TypeField
private static final Predicate<LivingEntity>
bD
PARENT_HORSE_SELECTOR
field_6956
IS_BRED_HORSE
field_110276_bu
private static final TargetingConditions
bE
MOMMY_TARGETING
field_18118
PARENT_HORSE_PREDICATE
field_213618_bK
private static final Ingredient
bF
FOOD_ITEMS
field_25374
field_25374
field_234235_bE_
private static final EntityDataAccessor<Byte>
bG
DATA_ID_FLAGS
field_6959
HORSE_FLAGS
field_184787_bE
private static final EntityDataAccessor<Optional<UUID>>
bH
DATA_ID_OWNER_UUID
field_6972
OWNER_UUID
field_184790_bH
private int
bI
eatingCounter
field_6971
eatingGrassTicks
field_190689_bJ
private int
bJ
mouthCounter
field_6973
eatingTicks
field_110290_bE
private int
bK
standCounter
field_6970
angryTicks
field_110295_bF
public int
bv
tailCounter
field_6957
tailWagTicks
field_110278_bp
public int
bw
sprintCounter
field_6958
field_6958
field_110279_bq
protected boolean
bx
isJumping
field_6968
inAir
field_110275_br
protected SimpleContainer
by
inventory
field_6962
items
field_110296_bG
inventoryChest
protected int
bz
temper
field_6955
temper
field_110274_bs
protected float
bA
playerJumpPendingScale
field_6976
jumpStrength
field_110277_bt
jumpPower
private boolean
bL
allowStandSliding
field_6960
jumping
field_110294_bI
canSlide
private float
bM
eatAnim
field_6969
eatingGrassAnimationProgress
field_110283_bJ
private float
bN
eatAnimO
field_6966
lastEatingGrassAnimationProgress
field_110284_bK
private float
bO
standAnim
field_6967
angryAnimationProgress
field_110281_bL
private float
bP
standAnimO
field_6963
lastAngryAnimationProgress
field_110282_bM
private float
bQ
mouthAnim
field_6965
eatingAnimationProgress
field_110287_bN
private float
bR
mouthAnimO
field_6961
lastEatingAnimationProgress
field_110288_bO
protected boolean
bB
canGallop
field_6964
playExtraHorseSounds
field_190688_bE
protected int
bC
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
eW()
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
eX()
isTamed()
method_6727()
isTame()
func_110248_bS()
isTamed()
public UUID
eY()
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
eZ()
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
t(float arg0)
onLeashDistance(float arg0)
method_6142(float arg0)
updateForLeashLength(float arg0)
func_142017_o(float arg0)
public boolean
fa()
isEating()
method_6724()
isEatingGrass()
func_110204_cc()
public boolean
fb()
isStanding()
method_6736()
isAngry()
func_110209_cd()
public boolean
fc()
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
M_()
isSaddleable()
method_6765()
canBeSaddled()
func_230264_L__()
canSaddle()
public void
a(acm arg0)
equipSaddle(SoundSource arg0)
method_6576(class_3419 arg0)
saddle(SoundCategory arg0)
func_230266_a_(SoundCategory arg0)
saddle(SoundCategory arg0)
public boolean
N_()
isSaddled()
method_6725()
isSaddled()
func_110257_ck()
hasSaddle()
public int
fd()
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
aR()
isPushable()
method_5810()
isPushable()
func_70104_M()
isCollidable()
private void
eM()
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
eO()
getInventorySize()
method_6750()
getInventorySize()
func_190686_di()
getChestSlots()
protected void
fe()
createInventory()
method_6721()
onChestedStatusChanged()
func_110226_cD()
loadChest()
protected void
ff()
updateContainerEquipment()
method_6731()
updateSaddle()
func_230275_fc_()
public void
a(amz arg0)
containerChanged(Container arg0)
method_5453(class_1263 arg0)
onInventoryChanged(Inventory arg0)
func_76316_a(IInventory arg0)
public double
fg()
getCustomJump()
method_6771()
getJumpStrength()
func_110215_cj()
getJumpStrength()
protected SoundEvent
fh()
getEatingSound()
method_28368()
getEatSound()
func_230274_fe_()
protected SoundEvent
dp()
getDeathSound()
method_6002()
getDeathSound()
func_184615_bR()
getSoundDeath()
protected SoundEvent
e(anw 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
fi()
getAngrySound()
method_6747()
getAngrySound()
func_184785_dv()
getSoundAngry()
protected void
a(fu arg0, cfj 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(cbh arg0)
playGallopSound(SoundType arg0)
method_6761(class_2498 arg0)
playWalkSound(BlockSoundGroup group)
func_190680_a(SoundType arg0)
public static AttributeSupplier$Builder
fj()
createBaseHorseAttributes()
method_26899()
createBaseHorseAttributes()
func_234237_fg_()
public int
er()
getMaxSpawnClusterSize()
method_5945()
getLimitPerChunk()
func_70641_bl()
getMaxSpawnGroup()
public int
fk()
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(bec arg0)
openInventory(Player arg0)
method_6722(class_1657 arg0)
openInventory(PlayerEntity player)
func_110199_f(PlayerEntity arg0)
public InteractionResult
b(bec arg0, bki 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(bec arg0, bki 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(bec 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(bki arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
func_70877_b(ItemStack arg0)
private void
eN()
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
fl()
followMommy()
method_6746()
walkToParent()
func_190679_dD()
public boolean
fm()
canEatGrass()
method_6762()
eatsGrass()
func_190684_dE()
public void
j()
tick()
method_5773()
tick()
func_70071_h_()
tick()
private void
eP()
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
eV()
stand()
method_6748()
updateAnger()
func_110220_cK()
public void
fn()
makeMad()
method_6757()
playAngrySound()
func_190687_dF()
public boolean
i(bec arg0)
tameWithName(Player arg0)
method_6752(class_1657 arg0)
bondWithPlayer(PlayerEntity player)
func_110263_g(PlayerEntity arg0)
public void
f(dem arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
func_213352_e(Vector3d arg0)
protected void
fo()
playJumpSound()
method_6723()
playJumpSound()
func_205715_ee()
public void
b(le arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
saveData(NBTTagCompound arg0)
public void
a(le arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
loadData(NBTTagCompound arg0)
public boolean
a(ayk arg0)
canMate(Animal arg0)
method_6474(class_1429 arg0)
canBreedWith(AnimalEntity arg0)
func_70878_b(AnimalEntity arg0)
mate(EntityAnimal arg0)
protected boolean
fp()
canParent()
method_6734()
canBreed()
func_110200_cJ()
public AgableMob
a(aok arg0)
getBreedOffspring(AgableMob arg0)
method_5613(class_1296 arg0)
createChild(PassiveEntity arg0)
func_90011_a(AgeableEntity arg0)
createChild(EntityAgeable arg0)
protected void
a(aok arg0, azm 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
es()
canBeControlledByRider()
method_5956()
canBeControlledByRider()
func_82171_bF()
public boolean
Q_()
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(aom arg0)
positionRider(Entity arg0)
method_5865(class_1297 arg0)
updatePassengerPosition(Entity arg0)
func_184232_k(Entity arg0)
protected float
fq()
generateRandomMaxHealth()
method_6754()
getChildHealthBonus()
func_110267_cL()
protected double
fr()
generateRandomJumpStrength()
method_6774()
getChildJumpStrengthBonus()
func_110245_cM()
protected double
fs()
generateRandomSpeed()
method_6728()
getChildMovementSpeedBonus()
func_110203_cN()
public boolean
c_()
onClimbable()
method_6101()
isClimbing()
func_70617_f_()
isClimbing()
protected float
b(apj arg0, aon 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
ft()
canWearArmor()
method_6735()
canEquip()
func_230276_fq_()
public boolean
fu()
isWearingArmor()
method_6753()
setSaddled()
func_230277_fr_()
public boolean
l(bki arg0)
isArmor(ItemStack arg0)
method_6773(class_1799 arg0)
canEquip(ItemStack item)
func_190682_f(ItemStack arg0)
public boolean
a_(int arg0, bki 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(dem arg0, aoy 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
c(aoy arg0)
getDismountLocationForPassenger(LivingEntity arg0)
method_24829(class_1309 arg0)
updatePassengerForDismount(LivingEntity arg0)
func_230268_c_(LivingEntity arg0)
protected void
eL()
randomizeAttributes()
method_6001()
initAttributes()
func_230273_eI_()
public SpawnGroupData
a(bqc arg0, ane arg1, apb arg2, apo arg3, le 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(WorldAccess arg0, LocalDifficulty arg1, SpawnReason 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
u(float arg0)
getEatAnim(float arg0)
method_6739(float arg0)
getEatingGrassAnimationProgress(float tickDelta)
func_110258_o(float arg0)
public float
v(float arg0)
getStandAnim(float arg0)
method_6767(float arg0)
getAngryAnimationProgress(float tickDelta)
func_110223_p(float arg0)
public float
w(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)