net.minecraft.world.entity.animal.horse

public class Horse

extends AbstractHorse implements VariantHolder<Variant>

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder, Attackable, EquipmentUser, Leashable, Targeting, ContainerListener, HasCustomInventoryScreen, OwnableEntity, PlayerRideableJumping, PlayerRideable, Saddleable, VariantHolder

cjf
net.minecraft.world.entity.animal.horse.Horse
net.minecraft.class_1498
net.minecraft.unmapped.C_icbcebrx
net.minecraft.entity.passive.HorseEntity
net.minecraft.entity.passive.HorseEntity
net.minecraft.src.C_928_
net.minecraft.world.entity.animal.horse.EntityHorse

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Integer>
bY
DATA_ID_TYPE_VARIANT
field_6990
f_lupbdhgu
VARIANT
VARIANT
f_30686_
private static final EntityDimensions
bZ
BABY_DIMENSIONS
field_47807
f_qztryuld
BABY_BASE_DIMENSIONS
BABY_DIMENSIONS
f_315715_

Constructor summary

ModifierConstructor
public (EntityType<? extends Horse> p_30690_, Level world)

Method summary

Modifier and TypeMethod
protected void
a(azh arg0)
randomizeAttributes(RandomSource arg0)
method_6001(class_5819 arg0)
m_geekbzfm(C_rlomrsco arg0)
initAttributes(Random arg0)
initAttributes(RandomGenerator arg0)
m_214179_(C_212974_ arg0)
protected void
a(akc$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
m_lwugwlsw(C_pyoaoolj$C_oqzxcugu arg0)
initDataTracker(DataTracker$Builder arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
public void
b(tq arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(tq arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
private void
w(int arg0)
setTypeVariant(int arg0)
method_6783(int arg0)
m_xrmvcocl(int arg0)
setHorseVariant(int variant)
setHorseVariant(int variant)
m_30736_(int arg0)
private int
x()
getTypeVariant()
method_6788()
m_inoilhbe()
getHorseVariant()
getHorseVariant()
m_30725_()
private void
a(cjm arg0, cjh arg1)
setVariantAndMarkings(Variant arg0, Markings arg1)
method_27076(class_5149 arg0, class_5148 arg1)
m_zlkerelq(C_pftaultf arg0, C_izltrckh arg1)
setHorseVariant(HorseColor color, HorseMarking marking)
setVariant(HorseColor color, HorseMarking marking)
m_30699_(C_941_ p_30701_, C_935_ arg1)
public Variant
p()
getVariant()
method_27077()
m_aghdwuvl()
getVariant()
getVariant()
m_28554_()
public void
a(cjm arg0)
setVariant(Variant arg0)
method_47873(class_5149 arg0)
m_lzjdjuie(C_pftaultf arg0)
setVariant(HorseColor arg0)
setVariant(HorseColor arg0)
m_28464_(C_941_ arg0)
public Markings
t()
getMarkings()
method_27078()
m_tjdewkmt()
getMarking()
getMarking()
m_30724_()
protected void
a(drf arg0)
playGallopSound(SoundType arg0)
method_6761(class_2498 arg0)
m_mhthkgcc(C_aevintex arg0)
playWalkSound(BlockSoundGroup arg0)
playWalkSound(BlockSoundGroup arg0)
m_5877_(C_1914_ arg0)
protected SoundEvent
u()
getAmbientSound()
method_5994()
m_jjefzxbm()
getAmbientSound()
getAmbientSound()
m_7515_()
protected SoundEvent
o_()
getDeathSound()
method_6002()
m_axkhmdzu()
getDeathSound()
getDeathSound()
m_5592_()
protected SoundEvent
gu()
getEatingSound()
method_28368()
m_rebcmcfu()
getEatSound()
getEatSound()
m_7872_()
protected SoundEvent
e(btc arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
m_spwwmdyl(C_sbxfkpyv arg0)
getHurtSound(DamageSource arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
gT()
getAngrySound()
method_6747()
m_yfyphuce()
getAngrySound()
getAngrySound()
m_7871_()
public InteractionResult
b(coy arg0, bsk arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
m_kuhfocmh(C_jzrpycqo arg0, C_laxmzoqs arg1)
interactMob(PlayerEntity arg0, Hand arg1)
interactMob(PlayerEntity arg0, Hand arg1)
m_6071_(C_1141_ p_30714_, C_470_ arg1)
public boolean
a(cgz arg0)
canMate(Animal arg0)
method_6474(class_1429 arg0)
m_rgotkmam(C_tprvtfff arg0)
canBreedWith(AnimalEntity arg0)
canBreedWith(AnimalEntity arg0)
m_7848_(C_801_ arg0)
public AgeableMob
a(ard arg0, bud 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)
createChild(ServerWorld arg0, PassiveEntity arg1)
m_142606_(C_12_ p_149534_, C_141062_ arg1)
public boolean
e(buu arg0)
canUseSlot(EquipmentSlot arg0)
method_56991(class_1304 arg0)
m_xcvctlld(C_yuycoehb arg0)
canUseSlot(EquipmentSlot arg0)
canUseSlot(EquipmentSlot arg0)
m_30729_(C_516_ arg0)
protected void
c(btc arg0, float arg1)
hurtArmor(DamageSource arg0, float arg1)
method_6105(class_1282 arg0, float arg1)
m_bkfxmcie(C_sbxfkpyv arg0, float arg1)
damageArmor(DamageSource arg0, float arg1)
damageArmor(DamageSource arg0, float arg1)
m_6472_(C_489_ p_365413_, float arg1)
public SpawnGroupData
a(dha arg0, bsj arg1, bus arg2, bwb arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, EntitySpawnReason arg2, SpawnGroupData arg3)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3)
m_oxrxxqyz(C_jmnzlycd arg0, C_jiailwzt arg1, C_bhyaesep arg2, C_lsmqixfx arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
m_6518_(C_1618_ p_30704_, C_469_ p_370066_, C_345845_ p_30706_, C_542_ arg3)
public EntityDimensions
e(bvu arg0)
getDefaultDimensions(Pose arg0)
method_55694(class_4050 arg0)
m_qukpzlyx(C_ufdjspmk arg0)
getBaseDimensions(EntityPose arg0)
getDefaultDimensions(EntityPose arg0)
m_31586_(C_535_ arg0)