net.minecraft.world.entity.animal.horse

public class Horse

extends AbstractHorse

All mapped superinterfaces:

Nameable, CommandSource, ContainerListener, PlayerRideableJumping, Saddleable

bbd
net.minecraft.world.entity.animal.horse.Horse
net.minecraft.class_1498
net.minecraft.entity.passive.HorseEntity
net.minecraft.entity.passive.horse.HorseEntity
net.minecraft.server.v1_16_R3.EntityHorse

Field summary

Modifier and TypeField
private static final UUID
bw
ARMOR_MODIFIER_UUID
field_6985
HORSE_ARMOR_BONUS_ID
field_184786_bD
private static final EntityDataAccessor<Integer>
bx
DATA_ID_TYPE_VARIANT
field_6990
VARIANT
field_184789_bG

Constructor summary

ModifierConstructor
public (EntityType<? extends Horse> arg0, Level arg1)

Method summary

Modifier and TypeMethod
protected void
eK()
randomizeAttributes()
method_6001()
initAttributes()
func_230273_eI_()
protected void
e()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
public void
b(md arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
func_213281_b(CompoundNBT arg0)
saveData(NBTTagCompound arg0)
public ItemStack
eL()
getArmor()
method_6786()
getArmorType()
func_213803_dV()
private void
m(bmb arg0)
setArmor(ItemStack arg0)
method_18445(class_1799 arg0)
equipArmor(ItemStack stack)
func_213805_k(ItemStack arg0)
public void
a(md arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
func_70037_a(CompoundNBT arg0)
loadData(NBTTagCompound arg0)
private void
w(int arg0)
setTypeVariant(int arg0)
method_6783(int arg0)
setVariant(int variant)
func_234242_w_(int arg0)
setVariantRaw(int arg0)
private int
eU()
getTypeVariant()
method_6788()
getVariant()
func_234241_eS_()
getVariantRaw()
private void
a(bbk arg0, bbf arg1)
setVariantAndMarkings(Variant arg0, Markings arg1)
method_27076(class_5149 arg0, class_5148 arg1)
setVariant(HorseColor color, HorseMarking marking)
func_234238_a_(CoatColors arg0, CoatTypes arg1)
setVariant(HorseColor arg0, HorseStyle arg1)
public Variant
eM()
getVariant()
method_27077()
getColor()
func_234239_eK_()
getColor()
public Markings
eO()
getMarkings()
method_27078()
getMarking()
func_234240_eM_()
getStyle()
protected void
fe()
updateContainerEquipment()
method_6731()
updateSaddle()
func_230275_fc_()
private void
n(bmb arg0)
setArmorEquipment(ItemStack arg0)
method_6790(class_1799 arg0)
setArmorTypeFromStack(ItemStack stack)
func_213804_l(ItemStack arg0)
public void
a(aon arg0)
containerChanged(Container arg0)
method_5453(class_1263 arg0)
onInventoryChanged(Inventory arg0)
func_76316_a(IInventory arg0)
protected void
a(cae arg0)
playGallopSound(SoundType arg0)
method_6761(class_2498 arg0)
playWalkSound(BlockSoundGroup arg0)
func_190680_a(SoundType arg0)
protected SoundEvent
I()
getAmbientSound()
method_5994()
getAmbientSound()
func_184639_G()
getSoundAmbient()
protected SoundEvent
dq()
getDeathSound()
method_6002()
getDeathSound()
func_184615_bR()
getSoundDeath()
protected SoundEvent
fg()
getEatingSound()
method_28368()
getEatSound()
func_230274_fe_()
protected SoundEvent
e(apk arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
func_184601_bQ(DamageSource arg0)
getSoundHurt(DamageSource arg0)
protected SoundEvent
fh()
getAngrySound()
method_6747()
getAngrySound()
func_184785_dv()
getSoundAngry()
public InteractionResult
b(bfw arg0, aot arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
func_230254_b_(PlayerEntity arg0, Hand arg1)
public boolean
a(azz arg0)
canMate(Animal arg0)
method_6474(class_1429 arg0)
canBreedWith(AnimalEntity arg0)
func_70878_b(AnimalEntity arg0)
mate(EntityAnimal arg0)
public AgableMob
a(aag arg0, apy 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)
public boolean
fs()
canWearArmor()
method_6735()
hasArmorSlot()
func_230276_fq_()
public boolean
l(bmb arg0)
isArmor(ItemStack arg0)
method_6773(class_1799 arg0)
isHorseArmor(ItemStack arg0)
func_190682_f(ItemStack arg0)
public SpawnGroupData
a(bsk arg0, aos arg1, aqp arg2, arc 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, NbtCompound 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)