net.minecraft.world.entity.animal.horse

public abstract class AbstractHorse

extends Animal implements HasCustomInventoryScreen, OwnableEntity, PlayerRideableJumping

All mapped superinterfaces:

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

cmu
net.minecraft.world.entity.animal.horse.AbstractHorse
net.minecraft.class_1496

Field summary

Modifier and TypeField
public static final int
bV
CHEST_SLOT_OFFSET
field_30414
public static final int
bW
INVENTORY_SLOT_OFFSET
field_30415
public static final double
bX
BREEDING_CROSS_FACTOR
field_42647
private static final float
bK
MIN_MOVEMENT_SPEED
field_42641
private static final float
bL
MAX_MOVEMENT_SPEED
field_42642
private static final float
bM
MIN_JUMP_STRENGTH
field_42643
private static final float
bO
MAX_JUMP_STRENGTH
field_42644
private static final float
bP
MIN_HEALTH
field_42645
private static final float
bQ
MAX_HEALTH
field_42646
private static final float
bR
BACKWARDS_MOVE_SPEED_FACTOR
field_42979
private static final float
bS
SIDEWAYS_MOVE_SPEED_FACTOR
field_42980
private static final TargetingConditions$Selector
bT
PARENT_HORSE_SELECTOR
field_6956
private static final TargetingConditions
bU
MOMMY_TARGETING
field_18118
private static final EntityDataAccessor<Byte>
ci
DATA_ID_FLAGS
field_6959
private static final int
cj
FLAG_TAME
field_30419
private static final int
ck
FLAG_BRED
field_30421
private static final int
cl
FLAG_EATING
field_30422
private static final int
cm
FLAG_STANDING
field_30423
private static final int
cn
FLAG_OPEN_MOUTH
field_30424
public static final int
bY
INVENTORY_ROWS
field_52488
private static final int
cq
DEFAULT_TEMPER
field_57630
private static final boolean
cr
DEFAULT_EATING_HAYSTACK
field_57631
private static final boolean
cs
DEFAULT_BRED
field_57632
private static final boolean
ct
DEFAULT_TAME
field_57633
private int
cu
eatingCounter
field_6971
private int
cv
mouthCounter
field_6973
private int
cw
standCounter
field_6970
public int
bZ
tailCounter
field_6957
public int
ca
sprintCounter
field_6958
protected boolean
cb
isJumping
field_6968
protected SimpleContainer
cc
inventory
field_6962
protected int
cd
temper
field_6955
protected float
ce
playerJumpPendingScale
field_6976
protected boolean
cf
allowStandSliding
field_6960
private float
cx
eatAnim
field_6969
private float
cy
eatAnimO
field_6966
private float
cz
standAnim
field_6967
private float
cA
standAnimO
field_6963
private float
cB
mouthAnim
field_6965
private float
cC
mouthAnimO
field_6961
protected boolean
cg
canGallop
field_6964
protected int
ch
gallopSoundCounter
field_6975
private EntityReference<LivingEntity>
cD
owner
field_55705

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
H()
registerGoals()
method_5959()
protected void
ha()
addBehaviourGoals()
method_6764()
protected void
a(ald$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
protected boolean
s(int arg0)
getFlag(int arg0)
method_6730(int arg0)
protected void
d(int arg0, boolean arg1)
setFlag(int arg0, boolean arg1)
method_6769(int arg0, boolean arg1)
public boolean
gZ()
isTamed()
method_6727()
public EntityReference<LivingEntity>
d()
getOwnerReference()
method_66287()
public void
j(bys arg0)
setOwner(LivingEntity arg0)
method_66323(class_1309 arg0)
public void
y(boolean arg0)
setTamed(boolean arg0)
method_6766(boolean arg0)
public void
z(boolean arg0)
setIsJumping(boolean arg0)
method_6758(boolean arg0)
public void
z()
onElasticLeashPull()
method_71006()
public boolean
D()
supportQuadLeash()
method_70991()
public Vec3[]
E()
getQuadLeashOffsets()
method_70992()
public boolean
hb()
isEating()
method_6724()
public boolean
hc()
isStanding()
method_6736()
public boolean
hd()
isBred()
method_6744()
public void
A(boolean arg0)
setBred(boolean arg0)
method_6751(boolean arg0)
public boolean
e(byc arg0)
canUseSlot(EquipmentSlot arg0)
method_56991(class_1304 arg0)
public void
b(csy arg0, dba arg1)
equipBodyArmor(Player arg0, ItemStack arg1)
method_45375(class_1657 arg0, class_1799 arg1)
protected boolean
f(byc arg0)
canDispenserEquipIntoSlot(EquipmentSlot arg0)
method_63626(class_1304 arg0)
public int
he()
getTemper()
method_6729()
public void
t(int arg0)
setTemper(int arg0)
method_6749(int arg0)
public int
u(int arg0)
modifyTemper(int arg0)
method_6745(int arg0)
public boolean
bJ()
isPushable()
method_5810()
private void
m()
eating()
method_6733()
public boolean
a(double arg0, float arg1, bwh arg2)
causeFallDamage(double arg0, float arg1, DamageSource arg2)
method_5747(double arg0, float arg1, class_1282 arg2)
public final int
hf()
getInventorySize()
method_6750()
public static int
v(int arg0)
getInventorySize(int arg0)
method_60977(int arg0)
protected void
hg()
createInventory()
method_6721()
protected Holder<SoundEvent>
a(byc arg0, dba arg1, djj arg2)
getEquipSound(EquipmentSlot arg0, ItemStack arg1, Equippable arg2)
method_66667(class_1304 arg0, class_1799 arg1, class_10192 arg2)
public boolean
a(asi arg0, bwh arg1, float arg2)
hurtServer(ServerLevel arg0, DamageSource arg1, float arg2)
method_64397(class_3218 arg0, class_1282 arg1, float arg2)
protected boolean
gJ()
canPerformRearing()
method_45349()
protected SoundEvent
gK()
getEatingSound()
method_28368()
protected SoundEvent
hh()
getAngrySound()
method_6747()
protected void
b(iy arg0, ecg arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
private boolean
b(dwc arg0)
isWoodSoundType(SoundType arg0)
method_49996(class_2498 arg0)
protected void
a(dwc arg0)
playGallopSound(SoundType arg0)
method_6761(class_2498 arg0)
public static AttributeSupplier$Builder
hi()
createBaseHorseAttributes()
method_26899()
public int
gl()
getMaxSpawnClusterSize()
method_5945()
public int
hj()
getMaxTemper()
method_6755()
protected float
fl()
getSoundVolume()
method_6107()
public int
W()
getAmbientSoundInterval()
method_5970()
public void
b(csy arg0)
openCustomInventoryScreen(Player arg0)
method_6722(class_1657 arg0)
public InteractionResult
c(csy arg0, dba arg1)
fedFood(Player arg0, ItemStack arg1)
method_30009(class_1657 arg0, class_1799 arg1)
protected boolean
a(csy arg0, dba arg1)
handleEating(Player arg0, ItemStack arg1)
method_6742(class_1657 arg0, class_1799 arg1)
protected void
a(csy arg0)
doPlayerRide(Player arg0)
method_6726(class_1657 arg0)
public boolean
fn()
isImmobile()
method_6062()
public boolean
i(dba arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
private void
n()
moveTail()
method_6759()
protected void
f(asi arg0)
dropEquipment(ServerLevel arg0)
method_16078(class_3218 arg0)
public void
d_()
aiStep()
method_6007()
protected void
g(asi arg0)
followMommy(ServerLevel arg0)
method_6746(class_3218 arg0)
public boolean
hk()
canEatGrass()
method_6762()
public void
g()
tick()
method_5773()
public InteractionResult
b(csy arg0, bvo arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
private void
t()
openMouth()
method_6738()
public void
B(boolean arg0)
setEating(boolean arg0)
method_6740(boolean arg0)
public void
C(boolean arg0)
setStanding(boolean arg0)
method_6737(boolean arg0)
public SoundEvent
hl()
getAmbientStandSound()
method_45376()
public void
hm()
standIfPossible()
method_6748()
public void
hn()
makeMad()
method_6757()
public boolean
h(csy arg0)
tameWithName(Player arg0)
method_6752(class_1657 arg0)
protected void
a(csy arg0, fgx arg1)
tickRidden(Player arg0, Vec3 arg1)
method_49481(class_1657 arg0, class_243 arg1)
protected Vec2
i(bys arg0)
getRiddenRotation(LivingEntity arg0)
method_49489(class_1309 arg0)
protected Vec3
b(csy arg0, fgx arg1)
getRiddenInput(Player arg0, Vec3 arg1)
method_49482(class_1657 arg0, class_243 arg1)
protected float
c(csy arg0)
getRiddenSpeed(Player arg0)
method_49485(class_1657 arg0)
protected void
b(float arg0, fgx arg1)
executeRidersJump(float arg0, Vec3 arg1)
method_45343(float arg0, class_243 arg1)
protected void
ho()
playJumpSound()
method_6723()
protected void
a(fbh arg0)
addAdditionalSaveData(ValueOutput arg0)
method_5652(class_11372 arg0)
protected void
a(fbf arg0)
readAdditionalSaveData(ValueInput arg0)
method_5749(class_11368 arg0)
public boolean
a(ckj arg0)
canMate(Animal arg0)
method_6474(class_1429 arg0)
protected boolean
hp()
canParent()
method_6734()
public AgeableMob
a(asi arg0, bxi arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_5613(class_3218 arg0, class_1296 arg1)
protected void
a(bxi arg0, cmu arg1)
setOffspringAttributes(AgeableMob arg0, AbstractHorse arg1)
method_6743(class_1296 arg0, class_1496 arg1)
private void
a(bxi arg0, cmu arg1, ji<bzt> arg2, double arg3, double arg4)
setOffspringAttribute(AgeableMob arg0, AbstractHorse arg1, Holder<Attribute> arg2, double arg3, double arg4)
method_49124(class_1296 arg0, class_1496 arg1, class_6880<class_1320> arg2, double arg3, double arg4)
static double
a(double arg0, double arg1, double arg2, double arg3, baq arg4)
createOffspringAttribute(double arg0, double arg1, double arg2, double arg3, RandomSource arg4)
method_49123(double arg0, double arg1, double arg2, double arg3, class_5819 arg4)
public float
J(float arg0)
getEatAnim(float arg0)
method_6739(float arg0)
public float
K(float arg0)
getStandAnim(float arg0)
method_6767(float arg0)
public float
L(float arg0)
getMouthAnim(float arg0)
method_6772(float arg0)
public void
b(int arg0)
onPlayerJump(int arg0)
method_6154(int arg0)
public boolean
a()
canJump()
method_6153()
public void
c(int arg0)
handleStartJump(int arg0)
method_6155(int arg0)
public void
b()
handleStopJump()
method_6156()
protected void
D(boolean arg0)
spawnTamingParticles(boolean arg0)
method_6760(boolean arg0)
public void
b(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
protected void
a(bxs arg0, bxs$b arg1)
positionRider(Entity arg0, Entity$MoveFunction arg1)
method_5865(class_1297 arg0, class_1297$class_4738 arg1)
protected static float
a(IntUnaryOperator arg0)
generateMaxHealth(IntUnaryOperator arg0)
method_6754(IntUnaryOperator arg0)
protected static double
a(DoubleSupplier arg0)
generateJumpStrength(DoubleSupplier arg0)
method_6774(DoubleSupplier arg0)
protected static double
b(DoubleSupplier arg0)
generateSpeed(DoubleSupplier arg0)
method_6728(DoubleSupplier arg0)
public boolean
eW()
onClimbable()
method_6101()
public SlotAccess
a_(int arg0)
getSlot(int arg0)
method_32318(int arg0)
public LivingEntity
cY()
getControllingPassenger()
method_5642()
private Vec3
a(fgx arg0, bys arg1)
getDismountLocationInDirection(Vec3 arg0, LivingEntity arg1)
method_27930(class_243 arg0, class_1309 arg1)
public Vec3
b(bys arg0)
getDismountLocationForPassenger(LivingEntity arg0)
method_24829(class_1309 arg0)
protected void
a(baq arg0)
randomizeAttributes(RandomSource arg0)
method_6001(class_5819 arg0)
public SpawnGroupData
a(dlq arg0, bvn arg1, bya arg2, bzk arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, EntitySpawnReason arg2, SpawnGroupData arg3)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3)
public boolean
a(bvi arg0)
hasInventoryChanged(Container arg0)
method_33338(class_1263 arg0)
public int
hq()
getAmbientStandInterval()
method_45377()
protected Vec3
a(bxs arg0, bxv arg1, float arg2)
getPassengerAttachmentPoint(Entity arg0, EntityDimensions arg1, float arg2)
method_52533(class_1297 arg0, class_4048 arg1, float arg2)
public int
aa_()
getInventoryColumns()
method_6702()