net.minecraft.world.entity.animal.horse

public class Horse

extends AbstractHorse

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, UniquelyIdentifyable, ScoreHolder, DataComponentGetter, Attackable, EquipmentUser, Leashable, Targeting, HasCustomInventoryScreen, OwnableEntity, PlayerRideableJumping, PlayerRideable

ckz
net.minecraft.world.entity.animal.horse.Horse
net.minecraft.class_1498
net.minecraft.entity.passive.HorseEntity

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Integer>
bF
DATA_ID_TYPE_VARIANT
field_6990
VARIANT
private static final EntityDimensions
bG
BABY_DIMENSIONS
field_47807
BABY_BASE_DIMENSIONS

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
a(azt arg0)
randomizeAttributes(RandomSource arg0)
method_6001(class_5819 arg0)
initAttributes(Random arg0)
protected void
a(akl$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public void
b(tx arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(tx arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
private void
w(int arg0)
setTypeVariant(int arg0)
method_6783(int arg0)
setHorseVariant(int variant)
private int
x()
getTypeVariant()
method_6788()
getHorseVariant()
private void
a(clg arg0, clb arg1)
setVariantAndMarkings(Variant arg0, Markings arg1)
method_27076(class_5149 arg0, class_5148 arg1)
setHorseVariant(HorseColor color, HorseMarking marking)
public Variant
q()
getVariant()
method_27077()
getHorseColor()
private void
a(clg arg0)
setVariant(Variant arg0)
method_47873(class_5149 arg0)
setHorseColor(HorseColor color)
public <T> T
a(ki<? extends T> arg0)
get(DataComponentType<? extends T> arg0)
method_58694(class_9331<? extends T> arg0)
get(ComponentType<? extends T> arg0)
protected void
a(ke arg0)
applyImplicitComponents(DataComponentGetter arg0)
method_66649(class_9473 arg0)
copyComponentsFrom(ComponentsAccess arg0)
protected <T> boolean
b(ki<T> arg0, T arg1)
applyImplicitComponent(DataComponentType<T> arg0, T arg1)
method_66654(class_9331<T> arg0, T arg1)
setApplicableComponent(ComponentType<T> arg0, T arg1)
public Markings
t()
getMarkings()
method_27078()
getMarking()
protected void
a(dtn arg0)
playGallopSound(SoundType arg0)
method_6761(class_2498 arg0)
playWalkSound(BlockSoundGroup arg0)
protected SoundEvent
u()
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
l_()
getDeathSound()
method_6002()
getDeathSound()
protected SoundEvent
gs()
getEatingSound()
method_28368()
getEatSound()
protected SoundEvent
e(bup arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
gQ()
getAngrySound()
method_6747()
getAngrySound()
public InteractionResult
b(cqs arg0, btx arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
public boolean
a(cio arg0)
canMate(Animal arg0)
method_6474(class_1429 arg0)
canBreedWith(AnimalEntity arg0)
public AgeableMob
a(aro arg0, bvq arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_5613(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
public boolean
e(bwk arg0)
canUseSlot(EquipmentSlot arg0)
method_56991(class_1304 arg0)
canUseSlot(EquipmentSlot arg0)
protected void
c(bup arg0, float arg1)
hurtArmor(DamageSource arg0, float arg1)
method_6105(class_1282 arg0, float arg1)
damageArmor(DamageSource arg0, float arg1)
public SpawnGroupData
a(djg arg0, btw arg1, bwi arg2, bxr arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, EntitySpawnReason arg2, SpawnGroupData arg3)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
public EntityDimensions
e(bxl arg0)
getDefaultDimensions(Pose arg0)
method_55694(class_4050 arg0)
getBaseDimensions(EntityPose arg0)