net.minecraft.world.entity.animal.horse

public abstract class AbstractHorse

extends Animal implements ContainerListener, PlayerRideableJumping, Saddleable

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, ContainerListener, PlayerRideableJumping, PlayerRideable, Saddleable

bfi
net.minecraft.world.entity.animal.horse.AbstractHorse
net.minecraft.class_1496
net.minecraft.unmapped.C_ktznyhaj
net.minecraft.entity.passive.HorseBaseEntity
net.minecraft.src.C_926_
net.minecraft.world.entity.animal.horse.EntityHorseAbstract

Field summary

Modifier and TypeField
public static final int
bT
EQUIPMENT_SLOT_OFFSET
field_30413
f_nuzixylm
field_30413
f_149486_
public static final int
bV
CHEST_SLOT_OFFSET
field_30414
f_osljbzmg
field_30414
f_149487_
public static final int
bW
INVENTORY_SLOT_OFFSET
field_30415
f_jqseruff
field_30415
f_149488_
private static final Predicate<LivingEntity>
bS
PARENT_HORSE_SELECTOR
field_6956
f_neellawu
IS_BRED_HORSE
f_30525_
private static final TargetingConditions
ci
MOMMY_TARGETING
field_18118
f_yjcbpnqx
PARENT_HORSE_PREDICATE
f_30526_
private static final Ingredient
cj
FOOD_ITEMS
field_25374
f_auvognmw
BREEDING_INGREDIENT
f_30527_
private static final EntityDataAccessor<Byte>
ck
DATA_ID_FLAGS
field_6959
f_ilyxxrqs
HORSE_FLAGS
f_30528_
private static final EntityDataAccessor<Optional<UUID>>
cl
DATA_ID_OWNER_UUID
field_6972
f_nfwbyaeg
OWNER_UUID
f_30506_
private static final int
cm
FLAG_TAME
field_30419
f_letngbqu
TAMED_FLAG
f_149492_
private static final int
cn
FLAG_SADDLE
field_30420
f_etdluypy
SADDLED_FLAG
f_149493_
private static final int
co
FLAG_BRED
field_30421
f_swibgupj
BRED_FLAG
f_149494_
private static final int
cp
FLAG_EATING
field_30422
f_rkfnbjcq
EATING_GRASS_FLAG
f_149495_
private static final int
cq
FLAG_STANDING
field_30423
f_viztliev
ANGRY_FLAG
f_149496_
private static final int
cr
FLAG_OPEN_MOUTH
field_30424
f_cxooziyz
EATING_FLAG
f_149497_
public static final int
bX
INV_SLOT_SADDLE
field_30416
f_nuwglgdu
field_30416
f_149489_
public static final int
bY
INV_SLOT_ARMOR
field_30417
f_drmwigvv
field_30417
f_149490_
public static final int
bZ
INV_BASE_COUNT
field_30418
f_glotgzzw
field_30418
f_149491_
private int
cs
eatingCounter
field_6971
f_hdxhgdko
eatingGrassTicks
f_30507_
private int
ct
mouthCounter
field_6973
f_ztxmytki
eatingTicks
f_30508_
private int
cu
standCounter
field_6970
f_vcenovla
angryTicks
f_30509_
public int
ca
tailCounter
field_6957
f_zzeorzxm
tailWagTicks
f_30517_
public int
cb
sprintCounter
field_6958
f_edcpbqlo
field_6958
f_30518_
protected boolean
cc
isJumping
field_6968
f_arsvwxpt
inAir
f_30519_
protected SimpleContainer
cd
inventory
field_6962
f_cjthlgvf
items
f_30520_
protected int
ce
temper
field_6955
f_hwysynes
temper
f_30521_
protected float
cf
playerJumpPendingScale
field_6976
f_bzsvwmpq
jumpStrength
f_30522_
private boolean
cv
allowStandSliding
field_6960
f_vzyvquhj
jumping
f_30510_
private float
cw
eatAnim
field_6969
f_oquxiife
eatingGrassAnimationProgress
f_30511_
private float
cx
eatAnimO
field_6966
f_buzirmfu
lastEatingGrassAnimationProgress
f_30512_
private float
cy
standAnim
field_6967
f_lxhtkynm
angryAnimationProgress
f_30513_
private float
cz
standAnimO
field_6963
f_hlqzztcb
lastAngryAnimationProgress
f_30514_
private float
cA
mouthAnim
field_6965
f_gdzbsaga
eatingAnimationProgress
f_30515_
private float
cB
mouthAnimO
field_6961
f_abtzxcfc
lastEatingAnimationProgress
f_30516_
protected boolean
cg
canGallop
field_6964
f_lysnitog
playExtraHorseSounds
f_30523_
protected int
ch
gallopSoundCounter
field_6975
f_wkpdkmyz
soundTicks
f_30524_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
v()
registerGoals()
method_5959()
m_itjttsuo()
initGoals()
m_8099_()
initPathfinder()
protected void
fE()
addBehaviourGoals()
method_6764()
m_agbcadrh()
initCustomGoals()
m_7509_()
protected void
a_()
defineSynchedData()
method_5693()
m_lwugwlsw()
initDataTracker()
m_8097_()
initDatawatcher()
protected boolean
u(int arg0)
getFlag(int arg0)
method_6730(int arg0)
m_nsgfuztq(int arg0)
getHorseFlag(int bitmask)
m_30647_(int arg0)
protected void
d(int arg0, boolean arg1)
setFlag(int arg0, boolean arg1)
method_6769(int arg0, boolean arg1)
m_pgiwydii(int arg0, boolean arg1)
setHorseFlag(int bitmask, boolean flag)
m_30597_(int p_30599_, boolean arg1)
public boolean
fF()
isTamed()
method_6727()
m_lrqrqldh()
isTame()
m_30614_()
isTamed()
public UUID
fG()
getOwnerUUID()
method_6768()
m_ncdeukgj()
getOwnerUuid()
m_30615_()
getOwnerUUID()
public void
b(UUID arg0)
setOwnerUUID(UUID arg0)
method_6732(UUID arg0)
m_imwemfwv(UUID arg0)
setOwnerUuid(UUID uuid)
m_30586_(UUID arg0)
setOwnerUUID(UUID arg0)
public boolean
fH()
isJumping()
method_6763()
m_lxexzfqi()
isInAir()
m_30616_()
public void
w(boolean arg0)
setTamed(boolean arg0)
method_6766(boolean arg0)
m_enuwgjov(boolean arg0)
setTame(boolean tame)
m_30651_(boolean arg0)
setTamed(boolean arg0)
public void
x(boolean arg0)
setIsJumping(boolean arg0)
method_6758(boolean arg0)
m_lanvnrig(boolean arg0)
setInAir(boolean inAir)
m_30655_(boolean arg0)
protected void
y(float arg0)
onLeashDistance(float arg0)
method_6142(float arg0)
m_kowspqlr(float arg0)
updateForLeashLength(float arg0)
m_7880_(float arg0)
public boolean
fI()
isEating()
method_6724()
m_iqosbrnr()
isEatingGrass()
m_30617_()
public boolean
fJ()
isStanding()
method_6736()
m_heiraznc()
isAngry()
m_30622_()
public boolean
fK()
isBred()
method_6744()
m_gyxstozv()
isBred()
m_30623_()
hasReproduced()
public void
y(boolean arg0)
setBred(boolean arg0)
method_6751(boolean arg0)
m_xwhupajn(boolean arg0)
setBred(boolean bred)
m_30657_(boolean arg0)
public boolean
c()
isSaddleable()
method_6765()
m_glykbwde()
canBeSaddled()
m_6741_()
canSaddle()
public void
a(aff arg0)
equipSaddle(SoundSource arg0)
method_6576(class_3419 arg0)
m_kexbjetg(C_pqzizukq arg0)
saddle(SoundCategory arg0)
m_5853_(C_125_ arg0)
saddle(SoundCategory arg0)
public boolean
d()
isSaddled()
method_6725()
m_cxbwxsec()
isSaddled()
m_6254_()
hasSaddle()
public int
fL()
getTemper()
method_6729()
m_vnhkinwe()
getTemper()
m_30624_()
getTemper()
public void
v(int arg0)
setTemper(int arg0)
method_6749(int arg0)
m_wbgoobdc(int arg0)
setTemper(int temper)
m_30649_(int arg0)
setTemper(int arg0)
public int
w(int arg0)
modifyTemper(int arg0)
method_6745(int arg0)
m_fntgsqxw(int arg0)
addTemper(int difference)
m_30653_(int arg0)
public boolean
bd()
isPushable()
method_5810()
m_okzqpkgv()
isPushable()
m_6094_()
isCollidable()
private void
t()
eating()
method_6733()
m_uhtevheg()
playEatingAnimation()
m_30610_()
public boolean
a(float arg0, float arg1, asp arg2)
causeFallDamage(float arg0, float arg1, DamageSource arg2)
method_5747(float arg0, float arg1, class_1282 arg2)
m_izrsdktf(float arg0, float arg1, C_sbxfkpyv arg2)
handleFallDamage(float arg0, float arg1, DamageSource arg2)
m_142535_(float p_149500_, float p_149501_, C_489_ arg2)
protected int
d(float arg0, float arg1)
calculateFallDamage(float arg0, float arg1)
method_23329(float arg0, float arg1)
m_kivskbpm(float arg0, float arg1)
computeFallDamage(float arg0, float arg1)
m_5639_(float p_30607_, float arg1)
protected int
fw()
getInventorySize()
method_6750()
m_fzsdcwye()
getInventorySize()
m_7506_()
getChestSlots()
protected void
fM()
createInventory()
method_6721()
m_spsxznbg()
onChestedStatusChanged()
m_30625_()
loadChest()
protected void
fN()
updateContainerEquipment()
method_6731()
m_tqypfoqc()
updateSaddle()
m_7493_()
public void
a(art arg0)
containerChanged(Container arg0)
method_5453(class_1263 arg0)
m_ejtklevt(C_pjtstjoq arg0)
onInventoryChanged(Inventory arg0)
m_5757_(C_464_ arg0)
public double
fO()
getCustomJump()
method_6771()
m_gflhkiwl()
getJumpStrength()
m_30626_()
getJumpStrength()
protected SoundEvent
fP()
getEatingSound()
method_28368()
m_rebcmcfu()
getEatSound()
m_7872_()
protected SoundEvent
v_()
getDeathSound()
method_6002()
m_axkhmdzu()
getDeathSound()
m_5592_()
getSoundDeath()
protected SoundEvent
c(asp arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
m_spwwmdyl(C_sbxfkpyv arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
getSoundHurt(DamageSource arg0)
protected SoundEvent
q()
getAmbientSound()
method_5994()
m_jjefzxbm()
getAmbientSound()
m_7515_()
getSoundAmbient()
protected SoundEvent
fQ()
getAngrySound()
method_6747()
m_yfyphuce()
getAngrySound()
m_7871_()
getSoundAngry()
protected void
b(gg arg0, cks arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
m_rnleirmb(C_hynzadkk arg0, C_txtbiemp arg1)
playStepSound(BlockPos arg0, BlockState arg1)
m_7355_(C_4675_ p_30585_, C_2064_ arg1)
protected void
a(cge arg0)
playGallopSound(SoundType arg0)
method_6761(class_2498 arg0)
m_mhthkgcc(C_aevintex arg0)
playWalkSound(BlockSoundGroup group)
m_5877_(C_1914_ arg0)
public static AttributeSupplier$Builder
fR()
createBaseHorseAttributes()
method_26899()
m_yvcfnlwg()
createBaseHorseAttributes()
m_30627_()
public int
fb()
getMaxSpawnClusterSize()
method_5945()
m_ywtdditi()
getLimitPerChunk()
m_5792_()
getMaxSpawnGroup()
public int
fS()
getMaxTemper()
method_6755()
m_uzaawbaz()
getMaxTemper()
m_7555_()
getMaxDomestication()
protected float
eo()
getSoundVolume()
method_6107()
m_oafzlopj()
getSoundVolume()
m_6121_()
getSoundVolume()
public int
J()
getAmbientSoundInterval()
method_5970()
m_pswyixar()
getMinAmbientSoundDelay()
m_8100_()
public void
f(bkd arg0)
openInventory(Player arg0)
method_6722(class_1657 arg0)
m_vznwjced(C_jzrpycqo arg0)
openInventory(PlayerEntity player)
m_30620_(C_1141_ arg0)
public InteractionResult
a(bkd arg0, bqp arg1)
fedFood(Player arg0, ItemStack arg1)
method_30009(class_1657 arg0, class_1799 arg1)
m_begkskdk(C_jzrpycqo arg0, C_sddaxwyk arg1)
interactHorse(PlayerEntity player, ItemStack stack)
m_30580_(C_1141_ p_30582_, C_1391_ arg1)
protected boolean
b(bkd arg0, bqp arg1)
handleEating(Player arg0, ItemStack arg1)
method_6742(class_1657 arg0, class_1799 arg1)
m_gsiuwpzy(C_jzrpycqo arg0, C_sddaxwyk arg1)
receiveFood(PlayerEntity player, ItemStack item)
m_5994_(C_1141_ p_30594_, C_1391_ arg1)
protected void
h(bkd arg0)
doPlayerRide(Player arg0)
method_6726(class_1657 arg0)
m_czbjkona(C_jzrpycqo arg0)
putPlayerOnBack(PlayerEntity player)
m_6835_(C_1141_ arg0)
protected boolean
eq()
isImmobile()
method_6062()
m_iauzolbu()
isImmobile()
m_6107_()
isFrozen()
public boolean
n(bqp arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
m_njyokwrm(C_sddaxwyk arg0)
isBreedingItem(ItemStack arg0)
m_6898_(C_1391_ arg0)
private void
fv()
moveTail()
method_6759()
m_tunrxouo()
wagTail()
m_30611_()
protected void
dX()
dropEquipment()
method_16078()
m_whvujbsh()
dropInventory()
m_5907_()
dropInventory()
public void
u_()
aiStep()
method_6007()
m_alyudxll()
tickMovement()
m_8107_()
movementTick()
protected void
fT()
followMommy()
method_6746()
m_lblxtruf()
walkToParent()
m_7567_()
public boolean
fU()
canEatGrass()
method_6762()
m_yghrxdbt()
eatsGrass()
m_7559_()
public void
k()
tick()
method_5773()
m_arkgrfeb()
tick()
m_8119_()
tick()
private void
fx()
openMouth()
method_6738()
m_ybupdvdi()
setEating()
m_30612_()
public void
z(boolean arg0)
setEating(boolean arg0)
method_6740(boolean arg0)
m_lfduqxrp(boolean arg0)
setEatingGrass(boolean eatingGrass)
m_30661_(boolean arg0)
public void
A(boolean arg0)
setStanding(boolean arg0)
method_6737(boolean arg0)
m_vrlngusg(boolean arg0)
setAngry(boolean angry)
m_30665_(boolean arg0)
setStanding(boolean arg0)
private void
fD()
stand()
method_6748()
m_oivbkluw()
updateAnger()
m_30613_()
public void
fV()
makeMad()
method_6757()
m_ftvhswax()
playAngrySound()
m_7564_()
public boolean
i(bkd arg0)
tameWithName(Player arg0)
method_6752(class_1657 arg0)
m_tupzilkl(C_jzrpycqo arg0)
bondWithPlayer(PlayerEntity player)
m_30637_(C_1141_ arg0)
public void
g(dna arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
m_pdfqoxex(C_vgpupfxx arg0)
travel(Vec3d arg0)
m_7023_(C_3046_ arg0)
protected void
fW()
playJumpSound()
method_6723()
m_spuukbnf()
playJumpSound()
m_7486_()
public void
b(na arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
saveData(NBTTagCompound arg0)
public void
a(na arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
loadData(NBTTagCompound arg0)
public boolean
a(bdx arg0)
canMate(Animal arg0)
method_6474(class_1429 arg0)
m_rgotkmam(C_tprvtfff arg0)
canBreedWith(AnimalEntity arg0)
m_7848_(C_801_ arg0)
mate(EntityAnimal arg0)
protected boolean
fX()
canParent()
method_6734()
m_cvbypqyf()
canBreed()
m_30628_()
public AgeableMob
a(abr arg0, atd arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_5613(class_3218 arg0, class_1296 arg1)
m_hftuejnb(C_bdwnwhiu arg0, C_jvojbnla arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
m_142606_(C_12_ p_149507_, C_141062_ arg1)
createChild(WorldServer arg0, EntityAgeable arg1)
protected void
a(atd arg0, bfi arg1)
setOffspringAttributes(AgeableMob arg0, AbstractHorse arg1)
method_6743(class_1296 arg0, class_1496 arg1)
m_dfvohwnv(C_jvojbnla arg0, C_ktznyhaj arg1)
setChildAttributes(PassiveEntity mate, HorseBaseEntity child)
m_149508_(C_141062_ p_149510_, C_926_ arg1)
public boolean
fc()
canBeControlledByRider()
method_5956()
m_izyginfd()
canBeControlledByRider()
m_5807_()
public float
z(float arg0)
getEatAnim(float arg0)
method_6739(float arg0)
m_xcdgjriw(float arg0)
getEatingGrassAnimationProgress(float tickDelta)
m_30663_(float arg0)
public float
A(float arg0)
getStandAnim(float arg0)
method_6767(float arg0)
m_xwkhejaa(float arg0)
getAngryAnimationProgress(float tickDelta)
m_30667_(float arg0)
public float
B(float arg0)
getMouthAnim(float arg0)
method_6772(float arg0)
m_krorfdje(float arg0)
getEatingAnimationProgress(float tickDelta)
m_30533_(float arg0)
public void
a(int arg0)
onPlayerJump(int arg0)
method_6154(int arg0)
m_zjzgqzky(int arg0)
setJumpStrength(int arg0)
m_7888_(int arg0)
public boolean
a()
canJump()
method_6153()
m_vjbheary()
canJump()
m_7132_()
public void
b(int arg0)
handleStartJump(int arg0)
method_6155(int arg0)
m_vjqgmppp(int arg0)
startJumping(int arg0)
m_7199_(int arg0)
public void
b()
handleStopJump()
method_6156()
m_ezptyzet()
stopJumping()
m_8012_()
protected void
B(boolean arg0)
spawnTamingParticles(boolean arg0)
method_6760(boolean arg0)
m_lrmouxyw(boolean arg0)
spawnPlayerReactionParticles(boolean positive)
m_30669_(boolean arg0)
public void
a(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
m_kkieextx(byte arg0)
handleStatus(byte arg0)
m_7822_(byte arg0)
public void
i(atf arg0)
positionRider(Entity arg0)
method_5865(class_1297 arg0)
m_pnapxqoc(C_astfners arg0)
updatePassengerPosition(Entity arg0)
m_7332_(C_507_ arg0)
protected float
fY()
generateRandomMaxHealth()
method_6754()
m_sluruwlg()
getChildHealthBonus()
m_30629_()
protected double
fZ()
generateRandomJumpStrength()
method_6774()
m_fuoqylud()
getChildJumpStrengthBonus()
m_30630_()
protected double
ga()
generateRandomSpeed()
method_6728()
m_xzowwbja()
getChildMovementSpeedBonus()
m_30631_()
public boolean
b_()
onClimbable()
method_6101()
m_uuypiexz()
isClimbing()
m_6147_()
isClimbing()
protected float
b(auf arg0, atg arg1)
getStandingEyeHeight(Pose arg0, EntityDimensions arg1)
method_18394(class_4050 arg0, class_4048 arg1)
m_heqvdbfg(C_ufdjspmk arg0, C_sszpscpo arg1)
getActiveEyeHeight(EntityPose arg0, EntityDimensions arg1)
m_6431_(C_535_ p_30579_, C_510_ arg1)
public boolean
gb()
canWearArmor()
method_6735()
m_ykhwtvdh()
hasArmorSlot()
m_7482_()
public boolean
gc()
isWearingArmor()
method_6753()
m_btgeycjv()
hasArmorInSlot()
m_7481_()
public boolean
m(bqp arg0)
isArmor(ItemStack arg0)
method_6773(class_1799 arg0)
m_fddewlyq(C_sddaxwyk arg0)
isHorseArmor(ItemStack item)
m_6010_(C_1391_ arg0)
private SlotAccess
a(int arg0, Predicate<bqp> arg1)
createEquipmentSlotAccess(int arg0, Predicate<ItemStack> arg1)
method_32335(int arg0, Predicate<class_1799> arg1)
m_wusifldy(int arg0, Predicate<C_sddaxwyk> arg1)
createInventoryStackReference(int slot, Predicate<ItemStack> predicate)
m_149502_(int p_149504_, Predicate<C_1391_> arg1)
public SlotAccess
k(int arg0)
getSlot(int arg0)
method_32318(int arg0)
m_owvpveuv(int arg0)
getStackReference(int arg0)
m_141942_(int arg0)
public Entity
cz()
getControllingPassenger()
method_5642()
m_cvqrfbej()
getPrimaryPassenger()
m_6688_()
getRidingPassenger()
private Vec3
a(dna arg0, att arg1)
getDismountLocationInDirection(Vec3 arg0, LivingEntity arg1)
method_27930(class_243 arg0, class_1309 arg1)
m_yukcocww(C_vgpupfxx arg0, C_usxaxydn arg1)
method_27930(Vec3d arg0, LivingEntity arg1)
m_30561_(C_3046_ p_30563_, C_524_ arg1)
public Vec3
b(att arg0)
getDismountLocationForPassenger(LivingEntity arg0)
method_24829(class_1309 arg0)
m_uoqfuwph(C_usxaxydn arg0)
updatePassengerForDismount(LivingEntity arg0)
m_7688_(C_524_ arg0)
protected void
p()
randomizeAttributes()
method_6001()
m_geekbzfm()
initAttributes()
m_7505_()
public SpawnGroupData
a(bxd arg0, ary arg1, atx arg2, aul arg3, na 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)
m_oxrxxqyz(C_jmnzlycd arg0, C_jiailwzt arg1, C_uzzvxofv arg2, C_lsmqixfx arg3, C_hhlwcnih arg4)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3, NbtCompound arg4)
m_6518_(C_1618_ p_30556_, C_469_ p_30557_, C_529_ p_30558_, C_542_ p_30559_, C_4917_ arg4)
prepare(WorldAccess arg0, DifficultyDamageScaler arg1, EnumMobSpawn arg2, GroupDataEntity arg3, NBTTagCompound arg4)
public boolean
b(art arg0)
hasInventoryChanged(Container arg0)
method_33338(class_1263 arg0)
m_zpkkhcub(C_pjtstjoq arg0)
method_33338(Inventory arg0)
m_149511_(C_464_ arg0)