Class AbstractHorseEntity
- All Implemented Interfaces:
ComponentsAccess
,Attackable
,DataTracked
,EquipmentHolder
,JumpingMount
,Leashable
,Mount
,RideableInventory
,Tameable
,Targeter
,ScoreHolder
,Nameable
,EntityLike
,UniquelyIdentifiable
,ServerWaypoint
,Waypoint
- Direct Known Subclasses:
AbstractDonkeyEntity
,CamelEntity
,HorseEntity
,SkeletonHorseEntity
,ZombieHorseEntity
- Mappings:
Namespace Name named net/minecraft/entity/passive/AbstractHorseEntity
intermediary net/minecraft/class_1496
official coq
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.passive.PassiveEntity
PassiveEntity.PassiveData
Nested classes/interfaces inherited from class net.minecraft.entity.LivingEntity
LivingEntity.FallSounds
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason
Nested classes/interfaces inherited from interface net.minecraft.entity.Leashable
Leashable.Elasticity, Leashable.LeashData
Nested classes/interfaces inherited from interface net.minecraft.world.waypoint.ServerWaypoint
ServerWaypoint.AzimuthWaypointTracker, ServerWaypoint.ChebyshevDistanceValidatedTracker, ServerWaypoint.ChunkWaypointTracker, ServerWaypoint.ManhattanDistanceValidatedTracker, ServerWaypoint.PositionalWaypointTracker, ServerWaypoint.WaypointTracker
Nested classes/interfaces inherited from interface net.minecraft.world.waypoint.Waypoint
Waypoint.Config
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int
private float
private int
private static final int
private static final boolean
private static final boolean
private static final boolean
private static final int
private static final int
private static final int
private float
private float
private int
private int
static final int
static final int
static final double
private static final float
private static final float
static final int
int
private static final TrackedData
<Byte> private static final TargetPredicate.EntityPredicate
protected SimpleInventory
protected boolean
protected float
private float
private float
private float
private static final float
private static final float
private static final float
private static final float
private static final float
private static final float
private @Nullable LazyEntityReference
<LivingEntity> private static final TargetPredicate
protected boolean
protected int
int
private static final int
protected int
Fields inherited from class net.minecraft.entity.passive.AnimalEntity
BREEDING_COOLDOWN
Fields inherited from class net.minecraft.entity.passive.PassiveEntity
BABY_AGE, breedingAge, DEFAULT_AGE, DEFAULT_FORCED_AGE, forcedAge, happyTicksRemaining
Fields inherited from class net.minecraft.entity.mob.PathAwareEntity
DEFAULT_PATHFINDING_FAVOR
Fields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, BASE_ENCHANTED_ARMOR_CHANCE, BASE_ENCHANTED_MAIN_HAND_EQUIPMENT_CHANCE, BASE_SPAWN_EQUIPMENT_CHANCE, CAN_PICK_UP_LOOT_KEY, DEFAULT_CAN_PICKUP_LOOT_CHANCE, DROP_CHANCES_KEY, experiencePoints, field_35039, goalSelector, jumpControl, LEFT_HANDED_KEY, lookControl, MINIMUM_DROPPED_EXPERIENCE_PER_EQUIPMENT, moveControl, navigation, NO_AI_KEY, RANDOM_SPAWN_BONUS_MODIFIER_ID, targetSelector
Fields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, attackingPlayer, ATTRIBUTES_KEY, BABY_SCALE_FACTOR, bodyYaw, brain, BRAIN_KEY, dead, DEATH_TICKS, DEATH_TIME_KEY, deathTime, defaultMaxHealth, despawnCounter, elytraFlightController, equipment, EQUIPMENT_KEY, EQUIPMENT_SLOT_ID, FALL_FLYING_KEY, field_30072, field_30074, field_30075, field_44874, field_47756, field_48827, field_55952, field_56256, forwardSpeed, glidingTicks, GLOWING_FLAG, GRAVITY, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, HEALTH_KEY, HURT_BY_TIMESTAMP_KEY, HURT_TIME_KEY, hurtTime, interpolator, itemUseTimeLeft, lastAttackedTicks, lastBodyYaw, lastDamageTaken, lastHandSwingProgress, lastHeadYaw, limbAnimator, LIVING_FLAGS, maxHurtTime, NOT_WEARING_GAZE_DISGUISE_PREDICATE, OFF_HAND_ACTIVE_FLAG, playerHitTimer, preferredHand, riptideAttackDamage, riptideStack, riptideTicks, serverHeadYaw, sidewaysSpeed, SLEEPING_DIMENSIONS, SLEEPING_POS_KEY, stuckArrowTimer, stuckStingerTimer, upwardSpeed, USING_ITEM_FLAG, USING_RIPTIDE_FLAG
Fields inherited from class net.minecraft.entity.Entity
age, AIR_KEY, collidedSoftly, CUSTOM_DATA_KEY, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, FALL_DISTANCE_KEY, fallDistance, field_44870, field_44871, field_44872, field_49073, field_49791, FIRE_KEY, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLIDING_FLAG_INDEX, GLOWING_FLAG_INDEX, GLOWING_KEY, groundCollision, horizontalCollision, ID_KEY, inPowderSnow, intersectionChecked, INVULNERABLE_KEY, lastPitch, lastRenderX, lastRenderY, lastRenderZ, lastX, lastY, lastYaw, lastZ, MAX_COMMAND_TAGS, MAX_QUEUED_COLLISION_CHECKS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, MOTION_KEY, movementMultiplier, NO_GRAVITY_KEY, noClip, ON_FIRE_FLAG_INDEX, ON_GROUND_KEY, PASSENGERS_KEY, PORTAL_COOLDOWN_KEY, portalManager, POS_KEY, POSE, random, ridingCooldown, ROTATION_KEY, SILENT_KEY, speed, submergedInWater, supportingBlockPos, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow
Fields inherited from interface net.minecraft.entity.Leashable
DEFAULT_ELASTIC_DISTANCE, DEFAULT_SNAPPING_DISTANCE, ELASTICITY_MULTIPLIER, field_59997, field_59998, field_59999, field_60003, HELD_ENTITY_ATTACHMENT_POINT, LEASH_HOLDER_ATTACHMENT_POINT, LEASH_NBT_KEY, QUAD_LEASH_ATTACHMENT_POINTS
Fields inherited from interface net.minecraft.scoreboard.ScoreHolder
WILDCARD, WILDCARD_NAME
Fields inherited from interface net.minecraft.world.waypoint.ServerWaypoint
AZIMUTH_THRESHOLD
Fields inherited from interface net.minecraft.world.waypoint.Waypoint
DEFAULT_PLAYER_RANGE, DISABLE_TRACKING
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractHorseEntity
(EntityType<? extends AbstractHorseEntity> type, World world) -
Method Summary
Modifier and TypeMethodDescriptionint
addTemper
(int difference) boolean
areInventoriesDifferent
(Inventory inventory) boolean
bondWithPlayer
(PlayerEntity player) (package private) static double
calculateAttributeBaseValue
(double parentBase, double otherParentBase, double min, double max, Random random) protected boolean
canBreed()
boolean
canBreedWith
(AnimalEntity other) protected boolean
boolean
canJump()
boolean
boolean
canUseSlot
(EquipmentSlot slot) createChild
(ServerWorld world, PassiveEntity entity) boolean
damage
(ServerWorld world, DamageSource source, float amount) Applies a damage to this entity.protected void
dropInventory
(ServerWorld world) boolean
void
equipHorseArmor
(PlayerEntity player, ItemStack stack) float
getAngryAnimationProgress
(float tickProgress) protected @Nullable SoundEvent
protected static float
getChildHealthBonus
(IntUnaryOperator randomIntGetter) protected static double
getChildJumpStrengthBonus
(DoubleSupplier randomDoubleGetter) protected static double
getChildMovementSpeedBonus
(DoubleSupplier randomDoubleGetter) protected Vec3d
getControlledMovementInput
(PlayerEntity controllingPlayer, Vec3d movementInput) protected Vec2f
getControlledRotation
(LivingEntity controllingPassenger) Returns the passenger in control of this entity, ornull
if there is none.float
getEatingAnimationProgress
(float tickProgress) float
getEatingGrassAnimationProgress
(float tickProgress) protected @Nullable SoundEvent
protected RegistryEntry
<SoundEvent> getEquipSound
(EquipmentSlot slot, ItemStack stack, EquippableComponent equippableComponent) protected boolean
getHorseFlag
(int bitmask) int
final int
static int
getInventorySize
(int columns) int
int
int
int
protected Vec3d
getPassengerAttachmentPos
(Entity passenger, EntityDimensions dimensions, float scaleFactor) Vec3d[]
protected float
getSaddledSpeed
(PlayerEntity controllingPlayer) protected float
getStackReference
(int mappedIndex) Obtains a stack reference to be modified.int
boolean
handleFallDamage
(double fallDistance, float damagePerDistance, DamageSource damageSource) Called when an entity falls.void
handleStatus
(byte status) Called on the client when the entity receives an entity status from the server.protected void
initAttributes
(Random random) protected void
protected void
initDataTracker
(DataTracker.Builder builder) Initializes data tracker.protected void
initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) interactHorse
(PlayerEntity player, ItemStack stack) interactMob
(PlayerEntity player, Hand hand) boolean
isAngry()
boolean
isBred()
boolean
isBreedingItem
(ItemStack stack) boolean
boolean
boolean
boolean
Returns whether the entity can be pushed by other entities.boolean
isTame()
private boolean
isWooden
(BlockSoundGroup soundGroup) protected void
locateSafeDismountingPos
(Vec3d offset, LivingEntity passenger) protected void
void
void
openInventory
(PlayerEntity player) void
private void
protected void
protected void
playStepSound
(BlockPos pos, BlockState state) protected void
playWalkSound
(BlockSoundGroup group) protected void
putPlayerOnBack
(PlayerEntity player) protected void
readCustomData
(ReadView view) protected boolean
receiveFood
(PlayerEntity player, ItemStack item) void
setAngry
(int ticks) void
setBred
(boolean bred) private void
setChildAttribute
(PassiveEntity other, AbstractHorseEntity child, RegistryEntry<EntityAttribute> attribute, double min, double max) protected void
setChildAttributes
(PassiveEntity other, AbstractHorseEntity child) private void
void
setEatingGrass
(boolean eatingGrass) protected void
setHorseFlag
(int bitmask, boolean flag) void
setJumpStrength
(int strength) void
void
setOwner
(@Nullable LivingEntity entity) void
setTame
(boolean tame) void
setTemper
(int temper) protected boolean
protected void
spawnPlayerReactionParticles
(boolean positive) void
startJumping
(int height) void
void
tick()
Ticks this entity.protected void
tickControlled
(PlayerEntity controllingPlayer, Vec3d movementInput) void
void
updatePassengerForDismount
(LivingEntity passenger) Returns the position of the dismountedpassenger
.protected void
updatePassengerPosition
(Entity passenger, Entity.PositionUpdater positionUpdater) private void
wagTail()
protected void
walkToParent
(ServerWorld world) protected void
writeCustomData
(WriteView view) Methods inherited from class net.minecraft.entity.passive.AnimalEntity
applyDamage, breed, breed, canEat, canImmediatelyDespawn, createAnimalAttributes, eat, getExperienceToDrop, getLoveTicks, getLovingPlayer, getPathfindingFavor, isInLove, isLightLevelValidForNaturalSpawn, isValidNaturalSpawn, lovePlayer, mobTick, playEatSound, resetLoveTicks, setLoveTicks
Methods inherited from class net.minecraft.entity.passive.PassiveEntity
getBreedingAge, getForcedAge, getHappyTicksRemaining, growUp, growUp, isBaby, isReadyToBreed, onGrowUp, onTrackedDataSet, setBaby, setBreedingAge, toGrowUpAge
Methods inherited from class net.minecraft.entity.mob.PathAwareEntity
beforeLeashTick, canSpawn, getFollowLeashSpeed, getPathfindingFavor, isNavigating, isPanicking, onShortLeashTick, shouldFollowLeash
Methods inherited from class net.minecraft.entity.mob.MobEntity
baseTick, canActVoluntarily, canBeLeashed, canGather, canMobSpawn, cannotDespawn, canPickupItem, canPickUpLoot, canRemoveSaddle, canSpawn, canTarget, canUseRangedWeapon, checkDespawn, clampHeadYaw, clearGoals, clearGoalsAndTasks, clearPositionTarget, convertTo, convertTo, createBodyControl, createEquipmentInventory, createMobAttributes, createNavigation, dropAllForeignEquipment, dropEquipment, dropForeignEquipment, dropLoot, enchantEquipment, enchantMainHandItem, equipBodyArmor, equipLootStack, getAmbientSound, getAttackBox, getBodyArmor, getEquipmentDropChances, getEquipmentForSlot, getItemPickUpRangeExpander, getJumpControl, getLeashData, getLookControl, getLootTableKey, getLootTableSeed, getMainArm, getMaxHeadRotation, getMaxLookPitchChange, getMaxLookYawChange, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getPreferredWeapons, getSafeFallDistance, getTarget, getTargetInBrain, getVisibilityCache, hasPositionTarget, hasSaddleEquipped, initEquipment, interact, isAffectedByDaylight, isAiDisabled, isAttacking, isDisallowedInPeaceful, isInAttackRange, isInPositionTargetRange, isInPositionTargetRange, isInPositionTargetRange, isLeftHanded, isPersistent, isWearingBodyArmor, lookAtEntity, loot, movesIndependently, onEatingGrass, onFinishPathfinding, onLeashRemoved, onPlayerSpawnedChild, onStartPathfinding, playAmbientSound, playAttackSound, playHurtSound, playSpawnEffects, prefersNewDamageableItem, prefersNewEquipment, removeFromDimension, sendAiDebugData, setAiDisabled, setAttacking, setCanPickUpLoot, setDropGuaranteed, setEquipmentDropChance, setEquipmentFromTable, setEquipmentFromTable, setForwardSpeed, setLeashData, setLeftHanded, setMovementSpeed, setPathfindingPenalty, setPersistent, setPositionTarget, setSidewaysSpeed, setTarget, setUpwardSpeed, snapLongLeash, spawnsTooManyForEachTry, startRiding, stopMovement, swimUpward, tickNewAi, tryAttack, tryEquip, turnHead, updateAttribute, updateEnchantments, updateGoalControls
Methods inherited from class net.minecraft.entity.LivingEntity
addDeathParticles, addPowderSnowSlowIfNeeded, addStatusEffect, addStatusEffect, animateDamage, applyArmorToDamage, applyFluidMovingSpeed, applyMovementEffects, areItemsDifferent, attackLivingEntity, becomeAngry, canBreatheInWater, canEquip, canEquipFromDispenser, canFreeze, canGlide, canGlideWith, canHaveStatusEffect, canHit, canSee, canSee, canTakeDamage, canTarget, canUsePortals, canWalkOnFluid, clampScale, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createEquipment, createLivingAttributes, createTracker, damageArmor, damageEquipment, damageHelmet, deserializeBrain, disableExperienceDropping, drop, dropExperience, dropItem, endCombat, enterCombat, equipStack, fall, forEachGeneratedItem, forEachGiftedItem, forEachShearedItem, getAbsorptionAmount, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttackingPlayer, getAttackKnockbackAgainst, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseDimensions, getBaseWaterMovementSpeedMultiplier, getBlockingItem, getBodyYaw, getBoundingBox, getBrain, getClimbingPos, getDamageBlockedAmount, getDamageTiltYaw, getDamageTracker, getDeathSound, getDespawnCounter, getDimensions, getEffectFadeFactor, getEffectiveGravity, getEquippedStack, getExperienceToDrop, getFallSounds, getGlidingTicks, getGravity, getHandSwingProgress, getHeadYaw, getHealth, getHitbox, getHurtSound, getInterpolator, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, getJumpVelocity, getJumpVelocity, getLastAttackedTime, getLastAttacker, getLastAttackTime, getLeaningPitch, getLocationBasedEnchantmentEffects, getLuck, getMainHandStack, getMaxAbsorption, getMaxHealth, getMaxRelativeHeadRotation, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffGroundSpeed, getOffHandStack, getPassengerRidingPos, getPlayerHitTimer, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getProjectileType, getRecentDamageSource, getSafeFallDistance, getScale, getScaleFactor, getSleepingDirection, getSleepingPosition, getSlotForHand, getSoundPitch, getStackInArm, getStackInHand, getStatusEffect, getStatusEffects, getStepHeight, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getWaypointConfig, getWeaponDisableBlockingForSeconds, getWeaponStack, getYaw, giveOrDropStack, hasInvertedHealingAndHarm, hasLandedInFluid, hasNoDrag, hasStackEquipped, hasStatusEffect, hasWaypoint, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isArmorSlot, isBlocking, isDead, isEntityLookingAtMe, isExperienceDroppingDisabled, isGliding, isGlowing, isHolding, isHolding, isHoldingOntoLadder, isInCreativeMode, isInsideWall, isInSwimmingPose, isInvulnerableTo, isJumping, isMobOrPlayer, isPartOfGame, isSleeping, isUsingItem, isUsingRiptide, jump, kill, knockback, knockDownwards, lerpHeadYaw, lerpYaw, lookAt, markEffectsDirty, modifyAppliedDamage, onAttacking, onDamaged, onDeath, onEquipStack, onKilledBy, onRemoval, onRemove, onSpawnPacket, onStatusEffectApplied, onStatusEffectsRemoved, onStatusEffectUpgraded, playBlockFallSound, playSound, positionInPortal, positionInPortal, pushAway, pushAwayFrom, remove, removePowderSnowSlow, removeStatusEffect, removeStatusEffectInternal, sendEffectToControllingPlayer, sendEquipmentBreakStatus, sendPickup, setAbsorptionAmount, setAbsorptionAmountUnclamped, setAttacker, setAttacking, setAttacking, setAttackingPlayer, setBodyYaw, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setNearbySongPlaying, setNoDrag, setOnFireForTicks, setSleepingPosition, setSprinting, setStackInHand, setStatusEffect, setStingerCount, setStuckArrowCount, shouldAlwaysDropExperience, shouldDropExperience, shouldDropLoot, shouldRenderName, shouldSwimInFluids, sleep, spawnItemParticles, stopGliding, stopRiding, stopUsingItem, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickCramming, tickGliding, tickHandSwing, tickInVoid, tickItemStackUsage, tickMovementInput, tickRiding, tickRiptide, tickStatusEffects, tiltScreen, travel, travelFlying, travelFlying, triggerItemPickedUpByEntityCriteria, updateLimbs, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, wakeUp, wouldNotSuffocateInPose
Methods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addPortalChunkTicketAt, addVelocity, addVelocity, addVelocityInternal, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyBubbleColumnEffects, applyBubbleColumnSurfaceEffects, applyGravity, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateDefaultBoundingBox, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeHitByProjectile, canBeSpectated, canExplosionDestroyBlock, canModifyAt, canMoveVoluntarily, canSprintAsVehicle, canStartRiding, canTeleportBetween, castComponentValue, changeLookDirection, clearQueuedCollisionChecks, clientDamage, collides, collidesWith, collidesWithFluid, collidesWithStateAtPos, copyComponentFrom, copyComponentsFrom, copyComponentsFrom, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, defrost, detach, detachAllHeldLeashes, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, dropStack, emitGameEvent, emitGameEvent, equals, extinguish, extinguishWithSound, get, getAir, getAttachments, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyX, getBodyY, getBodyZ, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCommandTags, getControllingVehicle, getCustomName, getDamageSources, getDataTracker, getDefaultName, getDefaultPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getErrorReporterContext, getEyeHeight, getEyePos, getEyeY, getFacing, getFinalGravity, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeight, getHeldQuadLeashOffsets, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLastRenderPos, getLeashPos, getLerpedPitch, getLerpedPos, getLerpedYaw, getMaxAir, getMinFreezeDamageTicks, getMoveEffect, getMovement, getMovementDirection, getName, getNameForScoreboard, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerAttachmentPos, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPistonBehavior, getPitch, getPitch, getPlayerPassengers, getPortalCooldown, getPos, getPose, getPosWithYOffset, getProjectileDeflection, getRandom, getRandomBodyY, getRegistryManager, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSwimSound, getSyncedPos, getTargetingMargin, getTeamColorValue, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVehicleAttachmentPos, getVelocity, getVelocityAffectingPos, getWidth, getWorld, getWorldSpawnPos, getX, getY, getYaw, getZ, handleAttack, handleFall, handleFallDamageForPassengers, hasCollidedSoftly, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPlayerRider, hasPortalCooldown, hasQuadLeashAttachmentPoints, hasVehicle, igniteByLava, interactAt, isAlwaysInvulnerableTo, isAtCloudHeight, isAttackable, isCollidable, isConnectedThroughVehicle, isControlledByMainPlayer, isControlledByPlayer, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, isFlyingVehicle, isFrozen, isGlowingLocal, isImmuneToExplosion, isInFluid, isInLava, isInPose, isInRange, isInRange, isInSameTeam, isInSneakingPose, isInterpolating, isInvisible, isInvisibleTo, isInvulnerable, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isOnRail, isPartOf, isPlayer, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSupportedBy, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, lerpPosAndRotation, limitFallDistance, move, movementInputToVelocity, occludeVibrationSignals, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDataTrackerUpdate, onExplodedBy, onHeldLeashUpdate, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSound, playSoundIfNotSilent, playSwimSound, playSwimSound, popQueuedCollisionCheck, populateCrashReport, pushOutOfBlocks, raycast, readData, recalculateDimensions, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, removeAllPassengers, removeCommandTag, removePassenger, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetPortalCooldown, resetPosition, rotate, saveData, saveSelfData, scheduleVelocityUpdate, serverDamage, setAir, setAlwaysSyncAbsolute, setAngles, setApplicableComponent, setBoundingBox, setChangeListener, setComponent, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setId, setInPowderSnow, setInvisible, setInvulnerable, setLastPositionAndAngles, setMovement, setMovement, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setOnGround, setPitch, setPortalCooldown, setPos, setPose, setPosition, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setWorld, setYaw, shouldAlwaysSyncAbsolute, shouldControlVehicles, shouldDismountUnderwater, shouldEscapePowderSnow, shouldPlayBurnSoundInLava, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTickBlockCollision, sidedDamage, slowMovement, snipAllHeldLeashes, spawnBubbleColumnParticles, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleportSpectatingPlayers, teleportTo, tickBlockCollision, tickBlockCollision, tickHeldLeash, tickPortalCooldown, tickPortalTeleportation, toString, tryUsePortal, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateLastAngles, updateLastPosition, updateMovementInFluid, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSupportingBlockPos, updateSwimming, updateTrackedPosition, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, writeData
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.component.ComponentsAccess
getOrDefault, getTyped
Methods inherited from interface net.minecraft.entity.EquipmentHolder
equipStack, getEquippedStack, getSlotForStack, setEquipmentFromTable, setEquipmentFromTable, setEquipmentFromTable
Methods inherited from interface net.minecraft.entity.JumpingMount
getJumpCooldown
Methods inherited from interface net.minecraft.entity.Leashable
applyElasticity, attachLeash, canBeLeashedTo, detachLeash, detachLeashWithoutDrop, getDistanceToCenter, getElasticLeashDistance, getLeashHolder, getLeashOffset, getLeashOffset, getLeashSnappingDistance, isLeashed, mightBeLeashed, readLeashData, setUnresolvedLeashHolderId, writeLeashData
Methods inherited from interface net.minecraft.scoreboard.ScoreHolder
getStyledDisplayName
Methods inherited from interface net.minecraft.entity.Tameable
getOwner, getTopLevelOwner, getWorld
-
Field Details
-
field_30414
public static final int field_30414- See Also:
- Mappings:
Namespace Name Mixin selector named field_30414
Lnet/minecraft/entity/passive/AbstractHorseEntity;field_30414:I
intermediary field_30414
Lnet/minecraft/class_1496;field_30414:I
official cv
Lcoq;cv:I
-
field_30415
public static final int field_30415- See Also:
- Mappings:
Namespace Name Mixin selector named field_30415
Lnet/minecraft/entity/passive/AbstractHorseEntity;field_30415:I
intermediary field_30415
Lnet/minecraft/class_1496;field_30415:I
official cw
Lcoq;cw:I
-
field_42647
public static final double field_42647- See Also:
- Mappings:
Namespace Name Mixin selector named field_42647
Lnet/minecraft/entity/passive/AbstractHorseEntity;field_42647:D
intermediary field_42647
Lnet/minecraft/class_1496;field_42647:D
official cx
Lcoq;cx:D
-
MIN_MOVEMENT_SPEED_BONUS
private static final float MIN_MOVEMENT_SPEED_BONUS- Mappings:
Namespace Name Mixin selector named MIN_MOVEMENT_SPEED_BONUS
Lnet/minecraft/entity/passive/AbstractHorseEntity;MIN_MOVEMENT_SPEED_BONUS:F
intermediary field_42641
Lnet/minecraft/class_1496;field_42641:F
official ck
Lcoq;ck:F
-
MAX_MOVEMENT_SPEED_BONUS
private static final float MAX_MOVEMENT_SPEED_BONUS- Mappings:
Namespace Name Mixin selector named MAX_MOVEMENT_SPEED_BONUS
Lnet/minecraft/entity/passive/AbstractHorseEntity;MAX_MOVEMENT_SPEED_BONUS:F
intermediary field_42642
Lnet/minecraft/class_1496;field_42642:F
official cl
Lcoq;cl:F
-
MIN_JUMP_STRENGTH_BONUS
private static final float MIN_JUMP_STRENGTH_BONUS- Mappings:
Namespace Name Mixin selector named MIN_JUMP_STRENGTH_BONUS
Lnet/minecraft/entity/passive/AbstractHorseEntity;MIN_JUMP_STRENGTH_BONUS:F
intermediary field_42643
Lnet/minecraft/class_1496;field_42643:F
official cm
Lcoq;cm:F
-
MAX_JUMP_STRENGTH_BONUS
private static final float MAX_JUMP_STRENGTH_BONUS- Mappings:
Namespace Name Mixin selector named MAX_JUMP_STRENGTH_BONUS
Lnet/minecraft/entity/passive/AbstractHorseEntity;MAX_JUMP_STRENGTH_BONUS:F
intermediary field_42644
Lnet/minecraft/class_1496;field_42644:F
official co
Lcoq;co:F
-
MIN_HEALTH_BONUS
private static final float MIN_HEALTH_BONUS- Mappings:
Namespace Name Mixin selector named MIN_HEALTH_BONUS
Lnet/minecraft/entity/passive/AbstractHorseEntity;MIN_HEALTH_BONUS:F
intermediary field_42645
Lnet/minecraft/class_1496;field_42645:F
official cp
Lcoq;cp:F
-
MAX_HEALTH_BONUS
private static final float MAX_HEALTH_BONUS- Mappings:
Namespace Name Mixin selector named MAX_HEALTH_BONUS
Lnet/minecraft/entity/passive/AbstractHorseEntity;MAX_HEALTH_BONUS:F
intermediary field_42646
Lnet/minecraft/class_1496;field_42646:F
official cq
Lcoq;cq:F
-
field_42979
private static final float field_42979- See Also:
- Mappings:
Namespace Name Mixin selector named field_42979
Lnet/minecraft/entity/passive/AbstractHorseEntity;field_42979:F
intermediary field_42979
Lnet/minecraft/class_1496;field_42979:F
official cr
Lcoq;cr:F
-
field_42980
private static final float field_42980- See Also:
- Mappings:
Namespace Name Mixin selector named field_42980
Lnet/minecraft/entity/passive/AbstractHorseEntity;field_42980:F
intermediary field_42980
Lnet/minecraft/class_1496;field_42980:F
official cs
Lcoq;cs:F
-
IS_BRED_HORSE
- Mappings:
Namespace Name Mixin selector named IS_BRED_HORSE
Lnet/minecraft/entity/passive/AbstractHorseEntity;IS_BRED_HORSE:Lnet/minecraft/entity/ai/TargetPredicate$EntityPredicate;
intermediary field_6956
Lnet/minecraft/class_1496;field_6956:Lnet/minecraft/class_4051$class_10254;
official ct
Lcoq;ct:Lclc$a;
-
PARENT_HORSE_PREDICATE
- Mappings:
Namespace Name Mixin selector named PARENT_HORSE_PREDICATE
Lnet/minecraft/entity/passive/AbstractHorseEntity;PARENT_HORSE_PREDICATE:Lnet/minecraft/entity/ai/TargetPredicate;
intermediary field_18118
Lnet/minecraft/class_1496;field_18118:Lnet/minecraft/class_4051;
official cu
Lcoq;cu:Lclc;
-
HORSE_FLAGS
- Mappings:
Namespace Name Mixin selector named HORSE_FLAGS
Lnet/minecraft/entity/passive/AbstractHorseEntity;HORSE_FLAGS:Lnet/minecraft/entity/data/TrackedData;
intermediary field_6959
Lnet/minecraft/class_1496;field_6959:Lnet/minecraft/class_2940;
official cH
Lcoq;cH:Lalh;
-
TAMED_FLAG
private static final int TAMED_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector named TAMED_FLAG
Lnet/minecraft/entity/passive/AbstractHorseEntity;TAMED_FLAG:I
intermediary field_30419
Lnet/minecraft/class_1496;field_30419:I
official cI
Lcoq;cI:I
-
BRED_FLAG
private static final int BRED_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector named BRED_FLAG
Lnet/minecraft/entity/passive/AbstractHorseEntity;BRED_FLAG:I
intermediary field_30421
Lnet/minecraft/class_1496;field_30421:I
official cJ
Lcoq;cJ:I
-
EATING_GRASS_FLAG
private static final int EATING_GRASS_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector named EATING_GRASS_FLAG
Lnet/minecraft/entity/passive/AbstractHorseEntity;EATING_GRASS_FLAG:I
intermediary field_30422
Lnet/minecraft/class_1496;field_30422:I
official cM
Lcoq;cM:I
-
ANGRY_FLAG
private static final int ANGRY_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector named ANGRY_FLAG
Lnet/minecraft/entity/passive/AbstractHorseEntity;ANGRY_FLAG:I
intermediary field_30423
Lnet/minecraft/class_1496;field_30423:I
official cN
Lcoq;cN:I
-
EATING_FLAG
private static final int EATING_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector named EATING_FLAG
Lnet/minecraft/entity/passive/AbstractHorseEntity;EATING_FLAG:I
intermediary field_30424
Lnet/minecraft/class_1496;field_30424:I
official cO
Lcoq;cO:I
-
field_52488
public static final int field_52488- See Also:
- Mappings:
Namespace Name Mixin selector named field_52488
Lnet/minecraft/entity/passive/AbstractHorseEntity;field_52488:I
intermediary field_52488
Lnet/minecraft/class_1496;field_52488:I
official cy
Lcoq;cy:I
-
DEFAULT_TEMPER
private static final int DEFAULT_TEMPER- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_TEMPER
Lnet/minecraft/entity/passive/AbstractHorseEntity;DEFAULT_TEMPER:I
intermediary field_57630
Lnet/minecraft/class_1496;field_57630:I
official cP
Lcoq;cP:I
-
DEFAULT_EATING_GRASS
private static final boolean DEFAULT_EATING_GRASS- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_EATING_GRASS
Lnet/minecraft/entity/passive/AbstractHorseEntity;DEFAULT_EATING_GRASS:Z
intermediary field_57631
Lnet/minecraft/class_1496;field_57631:Z
official cQ
Lcoq;cQ:Z
-
DEFAULT_BRED
private static final boolean DEFAULT_BRED- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_BRED
Lnet/minecraft/entity/passive/AbstractHorseEntity;DEFAULT_BRED:Z
intermediary field_57632
Lnet/minecraft/class_1496;field_57632:Z
official cR
Lcoq;cR:Z
-
DEFAULT_TAME
private static final boolean DEFAULT_TAME- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_TAME
Lnet/minecraft/entity/passive/AbstractHorseEntity;DEFAULT_TAME:Z
intermediary field_57633
Lnet/minecraft/class_1496;field_57633:Z
official cS
Lcoq;cS:Z
-
eatingGrassTicks
private int eatingGrassTicks- Mappings:
Namespace Name Mixin selector named eatingGrassTicks
Lnet/minecraft/entity/passive/AbstractHorseEntity;eatingGrassTicks:I
intermediary field_6971
Lnet/minecraft/class_1496;field_6971:I
official cT
Lcoq;cT:I
-
eatingTicks
private int eatingTicks- Mappings:
Namespace Name Mixin selector named eatingTicks
Lnet/minecraft/entity/passive/AbstractHorseEntity;eatingTicks:I
intermediary field_6973
Lnet/minecraft/class_1496;field_6973:I
official cU
Lcoq;cU:I
-
angryTicks
private int angryTicks- Mappings:
Namespace Name Mixin selector named angryTicks
Lnet/minecraft/entity/passive/AbstractHorseEntity;angryTicks:I
intermediary field_6970
Lnet/minecraft/class_1496;field_6970:I
official cV
Lcoq;cV:I
-
tailWagTicks
public int tailWagTicks- Mappings:
Namespace Name Mixin selector named tailWagTicks
Lnet/minecraft/entity/passive/AbstractHorseEntity;tailWagTicks:I
intermediary field_6957
Lnet/minecraft/class_1496;field_6957:I
official cz
Lcoq;cz:I
-
field_6958
public int field_6958- Mappings:
Namespace Name Mixin selector named field_6958
Lnet/minecraft/entity/passive/AbstractHorseEntity;field_6958:I
intermediary field_6958
Lnet/minecraft/class_1496;field_6958:I
official cA
Lcoq;cA:I
-
items
- Mappings:
Namespace Name Mixin selector named items
Lnet/minecraft/entity/passive/AbstractHorseEntity;items:Lnet/minecraft/inventory/SimpleInventory;
intermediary field_6962
Lnet/minecraft/class_1496;field_6962:Lnet/minecraft/class_1277;
official cB
Lcoq;cB:Lbxr;
-
temper
protected int temper- Mappings:
Namespace Name Mixin selector named temper
Lnet/minecraft/entity/passive/AbstractHorseEntity;temper:I
intermediary field_6955
Lnet/minecraft/class_1496;field_6955:I
official cC
Lcoq;cC:I
-
jumpStrength
protected float jumpStrength- Mappings:
Namespace Name Mixin selector named jumpStrength
Lnet/minecraft/entity/passive/AbstractHorseEntity;jumpStrength:F
intermediary field_6976
Lnet/minecraft/class_1496;field_6976:F
official cD
Lcoq;cD:F
-
jumping
protected boolean jumping- Mappings:
Namespace Name Mixin selector named jumping
Lnet/minecraft/entity/passive/AbstractHorseEntity;jumping:Z
intermediary field_6960
Lnet/minecraft/class_1496;field_6960:Z
official cE
Lcoq;cE:Z
-
eatingGrassAnimationProgress
private float eatingGrassAnimationProgress- Mappings:
Namespace Name Mixin selector named eatingGrassAnimationProgress
Lnet/minecraft/entity/passive/AbstractHorseEntity;eatingGrassAnimationProgress:F
intermediary field_6969
Lnet/minecraft/class_1496;field_6969:F
official cW
Lcoq;cW:F
-
lastEatingGrassAnimationProgress
private float lastEatingGrassAnimationProgress- Mappings:
Namespace Name Mixin selector named lastEatingGrassAnimationProgress
Lnet/minecraft/entity/passive/AbstractHorseEntity;lastEatingGrassAnimationProgress:F
intermediary field_6966
Lnet/minecraft/class_1496;field_6966:F
official cX
Lcoq;cX:F
-
angryAnimationProgress
private float angryAnimationProgress- Mappings:
Namespace Name Mixin selector named angryAnimationProgress
Lnet/minecraft/entity/passive/AbstractHorseEntity;angryAnimationProgress:F
intermediary field_6967
Lnet/minecraft/class_1496;field_6967:F
official cY
Lcoq;cY:F
-
lastAngryAnimationProgress
private float lastAngryAnimationProgress- Mappings:
Namespace Name Mixin selector named lastAngryAnimationProgress
Lnet/minecraft/entity/passive/AbstractHorseEntity;lastAngryAnimationProgress:F
intermediary field_6963
Lnet/minecraft/class_1496;field_6963:F
official cZ
Lcoq;cZ:F
-
eatingAnimationProgress
private float eatingAnimationProgress- Mappings:
Namespace Name Mixin selector named eatingAnimationProgress
Lnet/minecraft/entity/passive/AbstractHorseEntity;eatingAnimationProgress:F
intermediary field_6965
Lnet/minecraft/class_1496;field_6965:F
official da
Lcoq;da:F
-
lastEatingAnimationProgress
private float lastEatingAnimationProgress- Mappings:
Namespace Name Mixin selector named lastEatingAnimationProgress
Lnet/minecraft/entity/passive/AbstractHorseEntity;lastEatingAnimationProgress:F
intermediary field_6961
Lnet/minecraft/class_1496;field_6961:F
official db
Lcoq;db:F
-
playExtraHorseSounds
protected boolean playExtraHorseSounds- Mappings:
Namespace Name Mixin selector named playExtraHorseSounds
Lnet/minecraft/entity/passive/AbstractHorseEntity;playExtraHorseSounds:Z
intermediary field_6964
Lnet/minecraft/class_1496;field_6964:Z
official cF
Lcoq;cF:Z
-
soundTicks
protected int soundTicks- Mappings:
Namespace Name Mixin selector named soundTicks
Lnet/minecraft/entity/passive/AbstractHorseEntity;soundTicks:I
intermediary field_6975
Lnet/minecraft/class_1496;field_6975:I
official cG
Lcoq;cG:I
-
ownerReference
- Mappings:
Namespace Name Mixin selector named ownerReference
Lnet/minecraft/entity/passive/AbstractHorseEntity;ownerReference:Lnet/minecraft/entity/LazyEntityReference;
intermediary field_55705
Lnet/minecraft/class_1496;field_55705:Lnet/minecraft/class_10583;
official dc
Lcoq;dc:Lbzs;
-
-
Constructor Details
-
AbstractHorseEntity
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
intermediary <init>
Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
official <init>
Lbzm;<init>(Lbzv;Ldmu;)V
-
-
Method Details
-
initGoals
protected void initGoals() -
initCustomGoals
protected void initCustomGoals()- Mappings:
Namespace Name Mixin selector named initCustomGoals
Lnet/minecraft/entity/passive/AbstractHorseEntity;initCustomGoals()V
intermediary method_6764
Lnet/minecraft/class_1496;method_6764()V
official gZ
Lcoq;gZ()V
-
initDataTracker
Initializes data tracker.- Overrides:
initDataTracker
in classPassiveEntity
- API Note:
- Subclasses should override this and add to the builder any data that needs to be tracked.
- Mappings:
Namespace Name Mixin selector named initDataTracker
Lnet/minecraft/entity/Entity;initDataTracker(Lnet/minecraft/entity/data/DataTracker$Builder;)V
intermediary method_5693
Lnet/minecraft/class_1297;method_5693(Lnet/minecraft/class_2945$class_9222;)V
official a
Lbzm;a(Lall$a;)V
-
getHorseFlag
protected boolean getHorseFlag(int bitmask) - Mappings:
Namespace Name Mixin selector named getHorseFlag
Lnet/minecraft/entity/passive/AbstractHorseEntity;getHorseFlag(I)Z
intermediary method_6730
Lnet/minecraft/class_1496;method_6730(I)Z
official s
Lcoq;s(I)Z
-
setHorseFlag
protected void setHorseFlag(int bitmask, boolean flag) - Mappings:
Namespace Name Mixin selector named setHorseFlag
Lnet/minecraft/entity/passive/AbstractHorseEntity;setHorseFlag(IZ)V
intermediary method_6769
Lnet/minecraft/class_1496;method_6769(IZ)V
official d
Lcoq;d(IZ)V
-
isTame
public boolean isTame()- Mappings:
Namespace Name Mixin selector named isTame
Lnet/minecraft/entity/passive/AbstractHorseEntity;isTame()Z
intermediary method_6727
Lnet/minecraft/class_1496;method_6727()Z
official gY
Lcoq;gY()Z
-
getOwnerReference
- Specified by:
getOwnerReference
in interfaceTameable
- Mappings:
Namespace Name Mixin selector named getOwnerReference
Lnet/minecraft/entity/Tameable;getOwnerReference()Lnet/minecraft/entity/LazyEntityReference;
intermediary method_66287
Lnet/minecraft/class_6025;method_66287()Lnet/minecraft/class_10583;
official d
Lcat;d()Lbzs;
-
setOwner
- Mappings:
Namespace Name Mixin selector named setOwner
Lnet/minecraft/entity/passive/AbstractHorseEntity;setOwner(Lnet/minecraft/entity/LivingEntity;)V
intermediary method_66323
Lnet/minecraft/class_1496;method_66323(Lnet/minecraft/class_1309;)V
official j
Lcoq;j(Lcam;)V
-
setTame
public void setTame(boolean tame) - Mappings:
Namespace Name Mixin selector named setTame
Lnet/minecraft/entity/passive/AbstractHorseEntity;setTame(Z)V
intermediary method_6766
Lnet/minecraft/class_1496;method_6766(Z)V
official y
Lcoq;y(Z)V
-
onLongLeashTick
public void onLongLeashTick()- Specified by:
onLongLeashTick
in interfaceLeashable
- Mappings:
Namespace Name Mixin selector named onLongLeashTick
Lnet/minecraft/entity/Leashable;onLongLeashTick()V
intermediary method_71006
Lnet/minecraft/class_9817;method_71006()V
official z
Lcak;z()V
-
canUseQuadLeashAttachmentPoint
public boolean canUseQuadLeashAttachmentPoint()- Specified by:
canUseQuadLeashAttachmentPoint
in interfaceLeashable
- Mappings:
Namespace Name Mixin selector named canUseQuadLeashAttachmentPoint
Lnet/minecraft/entity/Leashable;canUseQuadLeashAttachmentPoint()Z
intermediary method_70991
Lnet/minecraft/class_9817;method_70991()Z
official D
Lcak;D()Z
-
getQuadLeashOffsets
- Specified by:
getQuadLeashOffsets
in interfaceLeashable
- Mappings:
Namespace Name Mixin selector named getQuadLeashOffsets
Lnet/minecraft/entity/Leashable;getQuadLeashOffsets()[Lnet/minecraft/util/math/Vec3d;
intermediary method_70992
Lnet/minecraft/class_9817;method_70992()[Lnet/minecraft/class_243;
official E
Lcak;E()[Lfis;
-
isEatingGrass
public boolean isEatingGrass()- Mappings:
Namespace Name Mixin selector named isEatingGrass
Lnet/minecraft/entity/passive/AbstractHorseEntity;isEatingGrass()Z
intermediary method_6724
Lnet/minecraft/class_1496;method_6724()Z
official ha
Lcoq;ha()Z
-
isAngry
public boolean isAngry()- Mappings:
Namespace Name Mixin selector named isAngry
Lnet/minecraft/entity/passive/AbstractHorseEntity;isAngry()Z
intermediary method_6736
Lnet/minecraft/class_1496;method_6736()Z
official hb
Lcoq;hb()Z
-
isBred
public boolean isBred()- Mappings:
Namespace Name Mixin selector named isBred
Lnet/minecraft/entity/passive/AbstractHorseEntity;isBred()Z
intermediary method_6744
Lnet/minecraft/class_1496;method_6744()Z
official hc
Lcoq;hc()Z
-
setBred
public void setBred(boolean bred) - Mappings:
Namespace Name Mixin selector named setBred
Lnet/minecraft/entity/passive/AbstractHorseEntity;setBred(Z)V
intermediary method_6751
Lnet/minecraft/class_1496;method_6751(Z)V
official z
Lcoq;z(Z)V
-
canUseSlot
- Overrides:
canUseSlot
in classLivingEntity
- Mappings:
Namespace Name Mixin selector named canUseSlot
Lnet/minecraft/entity/LivingEntity;canUseSlot(Lnet/minecraft/entity/EquipmentSlot;)Z
intermediary method_56991
Lnet/minecraft/class_1309;method_56991(Lnet/minecraft/class_1304;)Z
official e
Lcam;e(Lbzw;)Z
-
equipHorseArmor
- Mappings:
Namespace Name Mixin selector named equipHorseArmor
Lnet/minecraft/entity/passive/AbstractHorseEntity;equipHorseArmor(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)V
intermediary method_45375
Lnet/minecraft/class_1496;method_45375(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)V
official b
Lcoq;b(Lcut;Ldcv;)V
-
canDispenserEquipSlot
- Overrides:
canDispenserEquipSlot
in classMobEntity
- Mappings:
Namespace Name Mixin selector named canDispenserEquipSlot
Lnet/minecraft/entity/LivingEntity;canDispenserEquipSlot(Lnet/minecraft/entity/EquipmentSlot;)Z
intermediary method_63626
Lnet/minecraft/class_1309;method_63626(Lnet/minecraft/class_1304;)Z
official f
Lcam;f(Lbzw;)Z
-
getTemper
public int getTemper()- Mappings:
Namespace Name Mixin selector named getTemper
Lnet/minecraft/entity/passive/AbstractHorseEntity;getTemper()I
intermediary method_6729
Lnet/minecraft/class_1496;method_6729()I
official hd
Lcoq;hd()I
-
setTemper
public void setTemper(int temper) - Mappings:
Namespace Name Mixin selector named setTemper
Lnet/minecraft/entity/passive/AbstractHorseEntity;setTemper(I)V
intermediary method_6749
Lnet/minecraft/class_1496;method_6749(I)V
official t
Lcoq;t(I)V
-
addTemper
public int addTemper(int difference) - Mappings:
Namespace Name Mixin selector named addTemper
Lnet/minecraft/entity/passive/AbstractHorseEntity;addTemper(I)I
intermediary method_6745
Lnet/minecraft/class_1496;method_6745(I)I
official u
Lcoq;u(I)I
-
isPushable
public boolean isPushable()Returns whether the entity can be pushed by other entities.- Overrides:
isPushable
in classLivingEntity
- Returns:
- whether the entity can be pushed by other entities
- Mappings:
Namespace Name Mixin selector named isPushable
Lnet/minecraft/entity/Entity;isPushable()Z
intermediary method_5810
Lnet/minecraft/class_1297;method_5810()Z
official bL
Lbzm;bL()Z
-
playEatingAnimation
private void playEatingAnimation()- Mappings:
Namespace Name Mixin selector named playEatingAnimation
Lnet/minecraft/entity/passive/AbstractHorseEntity;playEatingAnimation()V
intermediary method_6733
Lnet/minecraft/class_1496;method_6733()V
official m
Lcoq;m()V
-
handleFallDamage
public boolean handleFallDamage(double fallDistance, float damagePerDistance, DamageSource damageSource) Called when an entity falls.Flying mobs and mobs immune to fall damage should override this to do nothing. Mobs with reduced fall damage should override this method to apply reduced damage instead. Some entities explode instead of applying fall damage, like
TntMinecartEntity
.- Overrides:
handleFallDamage
in classLivingEntity
- Returns:
- whether to play the sound when falling on honey block;
false
for all entities except horses and llamas - Mappings:
Namespace Name Mixin selector named handleFallDamage
Lnet/minecraft/entity/Entity;handleFallDamage(DFLnet/minecraft/entity/damage/DamageSource;)Z
intermediary method_5747
Lnet/minecraft/class_1297;method_5747(DFLnet/minecraft/class_1282;)Z
official a
Lbzm;a(DFLbyb;)Z
-
getInventorySize
public final int getInventorySize()- Mappings:
Namespace Name Mixin selector named getInventorySize
Lnet/minecraft/entity/passive/AbstractHorseEntity;getInventorySize()I
intermediary method_6750
Lnet/minecraft/class_1496;method_6750()I
official he
Lcoq;he()I
-
getInventorySize
public static int getInventorySize(int columns) - Mappings:
Namespace Name Mixin selector named getInventorySize
Lnet/minecraft/entity/passive/AbstractHorseEntity;getInventorySize(I)I
intermediary method_60977
Lnet/minecraft/class_1496;method_60977(I)I
official v
Lcoq;v(I)I
-
onChestedStatusChanged
protected void onChestedStatusChanged()- Mappings:
Namespace Name Mixin selector named onChestedStatusChanged
Lnet/minecraft/entity/passive/AbstractHorseEntity;onChestedStatusChanged()V
intermediary method_6721
Lnet/minecraft/class_1496;method_6721()V
official hf
Lcoq;hf()V
-
getEquipSound
protected RegistryEntry<SoundEvent> getEquipSound(EquipmentSlot slot, ItemStack stack, EquippableComponent equippableComponent) - Overrides:
getEquipSound
in classLivingEntity
- Mappings:
Namespace Name Mixin selector named getEquipSound
Lnet/minecraft/entity/LivingEntity;getEquipSound(Lnet/minecraft/entity/EquipmentSlot;Lnet/minecraft/item/ItemStack;Lnet/minecraft/component/type/EquippableComponent;)Lnet/minecraft/registry/entry/RegistryEntry;
intermediary method_66667
Lnet/minecraft/class_1309;method_66667(Lnet/minecraft/class_1304;Lnet/minecraft/class_1799;Lnet/minecraft/class_10192;)Lnet/minecraft/class_6880;
official a
Lcam;a(Lbzw;Ldcv;Ldle;)Ljl;
-
damage
Applies a damage to this entity. The exact implementation differs between subclasses.LivingEntity
has health value, and damaging the entity decreases it. This also handles shields, extra damage to helmets for falling blocks, setting the attacker, playing hurt sound, etc.Some entities like
ItemEntity
also have health value, which the overridden method decrements. There also exist several entities, likeEndCrystalEntity
, where any damage discards the entity (perhaps with an explosion).If this is overridden, it must check the result of
LivingEntity.isInvulnerableTo(net.minecraft.server.world.ServerWorld, net.minecraft.entity.damage.DamageSource)
and return early.- Overrides:
damage
in classLivingEntity
- Returns:
- whether the entity was actually damaged
- See Also:
- Mappings:
Namespace Name Mixin selector named damage
Lnet/minecraft/entity/Entity;damage(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/damage/DamageSource;F)Z
intermediary method_64397
Lnet/minecraft/class_1297;method_64397(Lnet/minecraft/class_3218;Lnet/minecraft/class_1282;F)Z
official a
Lbzm;a(Laub;Lbyb;F)Z
-
shouldAmbientStand
protected boolean shouldAmbientStand()- Mappings:
Namespace Name Mixin selector named shouldAmbientStand
Lnet/minecraft/entity/passive/AbstractHorseEntity;shouldAmbientStand()Z
intermediary method_45349
Lnet/minecraft/class_1496;method_45349()Z
official gI
Lcoq;gI()Z
-
getEatSound
- Mappings:
Namespace Name Mixin selector named getEatSound
Lnet/minecraft/entity/passive/AbstractHorseEntity;getEatSound()Lnet/minecraft/sound/SoundEvent;
intermediary method_28368
Lnet/minecraft/class_1496;method_28368()Lnet/minecraft/class_3414;
official gJ
Lcoq;gJ()Layy;
-
getAngrySound
- Mappings:
Namespace Name Mixin selector named getAngrySound
Lnet/minecraft/entity/passive/AbstractHorseEntity;getAngrySound()Lnet/minecraft/sound/SoundEvent;
intermediary method_6747
Lnet/minecraft/class_1496;method_6747()Lnet/minecraft/class_3414;
official hg
Lcoq;hg()Layy;
-
playStepSound
- Overrides:
playStepSound
in classEntity
- Mappings:
Namespace Name Mixin selector named playStepSound
Lnet/minecraft/entity/Entity;playStepSound(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
intermediary method_5712
Lnet/minecraft/class_1297;method_5712(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
official b
Lbzm;b(Ljb;Leeb;)V
-
isWooden
- Mappings:
Namespace Name Mixin selector named isWooden
Lnet/minecraft/entity/passive/AbstractHorseEntity;isWooden(Lnet/minecraft/sound/BlockSoundGroup;)Z
intermediary method_49996
Lnet/minecraft/class_1496;method_49996(Lnet/minecraft/class_2498;)Z
official b
Lcoq;b(Ldxx;)Z
-
playWalkSound
- Mappings:
Namespace Name Mixin selector named playWalkSound
Lnet/minecraft/entity/passive/AbstractHorseEntity;playWalkSound(Lnet/minecraft/sound/BlockSoundGroup;)V
intermediary method_6761
Lnet/minecraft/class_1496;method_6761(Lnet/minecraft/class_2498;)V
official a
Lcoq;a(Ldxx;)V
-
createBaseHorseAttributes
- Mappings:
Namespace Name Mixin selector named createBaseHorseAttributes
Lnet/minecraft/entity/passive/AbstractHorseEntity;createBaseHorseAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
intermediary method_26899
Lnet/minecraft/class_1496;method_26899()Lnet/minecraft/class_5132$class_5133;
official hh
Lcoq;hh()Lcbr$a;
-
getLimitPerChunk
public int getLimitPerChunk()- Overrides:
getLimitPerChunk
in classMobEntity
- Mappings:
Namespace Name Mixin selector named getLimitPerChunk
Lnet/minecraft/entity/mob/MobEntity;getLimitPerChunk()I
intermediary method_5945
Lnet/minecraft/class_1308;method_5945()I
official gk
Lcao;gk()I
-
getMaxTemper
public int getMaxTemper()- Mappings:
Namespace Name Mixin selector named getMaxTemper
Lnet/minecraft/entity/passive/AbstractHorseEntity;getMaxTemper()I
intermediary method_6755
Lnet/minecraft/class_1496;method_6755()I
official hi
Lcoq;hi()I
-
getSoundVolume
protected float getSoundVolume()- Overrides:
getSoundVolume
in classLivingEntity
- Mappings:
Namespace Name Mixin selector named getSoundVolume
Lnet/minecraft/entity/LivingEntity;getSoundVolume()F
intermediary method_6107
Lnet/minecraft/class_1309;method_6107()F
official fk
Lcam;fk()F
-
getMinAmbientSoundDelay
public int getMinAmbientSoundDelay()- Overrides:
getMinAmbientSoundDelay
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector named getMinAmbientSoundDelay
Lnet/minecraft/entity/mob/MobEntity;getMinAmbientSoundDelay()I
intermediary method_5970
Lnet/minecraft/class_1308;method_5970()I
official W
Lcao;W()I
-
openInventory
- Specified by:
openInventory
in interfaceRideableInventory
- Mappings:
Namespace Name Mixin selector named openInventory
Lnet/minecraft/entity/RideableInventory;openInventory(Lnet/minecraft/entity/player/PlayerEntity;)V
intermediary method_6722
Lnet/minecraft/class_7248;method_6722(Lnet/minecraft/class_1657;)V
official b
Lcac;b(Lcut;)V
-
interactHorse
- Mappings:
Namespace Name Mixin selector named interactHorse
Lnet/minecraft/entity/passive/AbstractHorseEntity;interactHorse(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)Lnet/minecraft/util/ActionResult;
intermediary method_30009
Lnet/minecraft/class_1496;method_30009(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)Lnet/minecraft/class_1269;
official c
Lcoq;c(Lcut;Ldcv;)Lbxj;
-
receiveFood
- Mappings:
Namespace Name Mixin selector named receiveFood
Lnet/minecraft/entity/passive/AbstractHorseEntity;receiveFood(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)Z
intermediary method_6742
Lnet/minecraft/class_1496;method_6742(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)Z
official a
Lcoq;a(Lcut;Ldcv;)Z
-
putPlayerOnBack
- Mappings:
Namespace Name Mixin selector named putPlayerOnBack
Lnet/minecraft/entity/passive/AbstractHorseEntity;putPlayerOnBack(Lnet/minecraft/entity/player/PlayerEntity;)V
intermediary method_6726
Lnet/minecraft/class_1496;method_6726(Lnet/minecraft/class_1657;)V
official g
Lcoq;g(Lcut;)V
-
isImmobile
public boolean isImmobile()- Overrides:
isImmobile
in classLivingEntity
- Mappings:
Namespace Name Mixin selector named isImmobile
Lnet/minecraft/entity/LivingEntity;isImmobile()Z
intermediary method_6062
Lnet/minecraft/class_1309;method_6062()Z
official fm
Lcam;fm()Z
-
isBreedingItem
- Specified by:
isBreedingItem
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector named isBreedingItem
Lnet/minecraft/entity/passive/AnimalEntity;isBreedingItem(Lnet/minecraft/item/ItemStack;)Z
intermediary method_6481
Lnet/minecraft/class_1429;method_6481(Lnet/minecraft/class_1799;)Z
official i
Lcmd;i(Ldcv;)Z
-
wagTail
private void wagTail()- Mappings:
Namespace Name Mixin selector named wagTail
Lnet/minecraft/entity/passive/AbstractHorseEntity;wagTail()V
intermediary method_6759
Lnet/minecraft/class_1496;method_6759()V
official n
Lcoq;n()V
-
dropInventory
- Overrides:
dropInventory
in classLivingEntity
- Mappings:
Namespace Name Mixin selector named dropInventory
Lnet/minecraft/entity/LivingEntity;dropInventory(Lnet/minecraft/server/world/ServerWorld;)V
intermediary method_16078
Lnet/minecraft/class_1309;method_16078(Lnet/minecraft/class_3218;)V
official f
Lcam;f(Laub;)V
-
tickMovement
public void tickMovement()- Overrides:
tickMovement
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector named tickMovement
Lnet/minecraft/entity/LivingEntity;tickMovement()V
intermediary method_6007
Lnet/minecraft/class_1309;method_6007()V
official e_
Lcam;e_()V
-
walkToParent
- Mappings:
Namespace Name Mixin selector named walkToParent
Lnet/minecraft/entity/passive/AbstractHorseEntity;walkToParent(Lnet/minecraft/server/world/ServerWorld;)V
intermediary method_6746
Lnet/minecraft/class_1496;method_6746(Lnet/minecraft/class_3218;)V
official g
Lcoq;g(Laub;)V
-
eatsGrass
public boolean eatsGrass()- Mappings:
Namespace Name Mixin selector named eatsGrass
Lnet/minecraft/entity/passive/AbstractHorseEntity;eatsGrass()Z
intermediary method_6762
Lnet/minecraft/class_1496;method_6762()Z
official hj
Lcoq;hj()Z
-
tick
public void tick()Ticks this entity.- Overrides:
tick
in classMobEntity
- See Also:
- API Note:
- This can be overridden to add additional logics.
super.tick();
should be called in those cases. - Implementation Note:
- By default, this delegates all logics to
MobEntity.baseTick()
. - Mappings:
Namespace Name Mixin selector named tick
Lnet/minecraft/entity/Entity;tick()V
intermediary method_5773
Lnet/minecraft/class_1297;method_5773()V
official g
Lbzm;g()V
-
interactMob
- Overrides:
interactMob
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector named interactMob
Lnet/minecraft/entity/mob/MobEntity;interactMob(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
intermediary method_5992
Lnet/minecraft/class_1308;method_5992(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
official b
Lcao;b(Lcut;Lbxi;)Lbxj;
-
setEating
private void setEating()- Mappings:
Namespace Name Mixin selector named setEating
Lnet/minecraft/entity/passive/AbstractHorseEntity;setEating()V
intermediary method_6738
Lnet/minecraft/class_1496;method_6738()V
official t
Lcoq;t()V
-
setEatingGrass
public void setEatingGrass(boolean eatingGrass) - Mappings:
Namespace Name Mixin selector named setEatingGrass
Lnet/minecraft/entity/passive/AbstractHorseEntity;setEatingGrass(Z)V
intermediary method_6740
Lnet/minecraft/class_1496;method_6740(Z)V
official A
Lcoq;A(Z)V
-
setAngry
public void setAngry(int ticks) - Mappings:
Namespace Name Mixin selector named setAngry
Lnet/minecraft/entity/passive/AbstractHorseEntity;setAngry(I)V
intermediary method_6737
Lnet/minecraft/class_1496;method_6737(I)V
official w
Lcoq;w(I)V
-
setNotAngry
public void setNotAngry()- Mappings:
Namespace Name Mixin selector named setNotAngry
Lnet/minecraft/entity/passive/AbstractHorseEntity;setNotAngry()V
intermediary method_71769
Lnet/minecraft/class_1496;method_71769()V
official hk
Lcoq;hk()V
-
getAmbientStandSound
- Mappings:
Namespace Name Mixin selector named getAmbientStandSound
Lnet/minecraft/entity/passive/AbstractHorseEntity;getAmbientStandSound()Lnet/minecraft/sound/SoundEvent;
intermediary method_45376
Lnet/minecraft/class_1496;method_45376()Lnet/minecraft/class_3414;
official hl
Lcoq;hl()Layy;
-
updateAnger
public void updateAnger()- Mappings:
Namespace Name Mixin selector named updateAnger
Lnet/minecraft/entity/passive/AbstractHorseEntity;updateAnger()V
intermediary method_6748
Lnet/minecraft/class_1496;method_6748()V
official hm
Lcoq;hm()V
-
playAngrySound
public void playAngrySound()- Mappings:
Namespace Name Mixin selector named playAngrySound
Lnet/minecraft/entity/passive/AbstractHorseEntity;playAngrySound()V
intermediary method_6757
Lnet/minecraft/class_1496;method_6757()V
official hn
Lcoq;hn()V
-
bondWithPlayer
- Mappings:
Namespace Name Mixin selector named bondWithPlayer
Lnet/minecraft/entity/passive/AbstractHorseEntity;bondWithPlayer(Lnet/minecraft/entity/player/PlayerEntity;)Z
intermediary method_6752
Lnet/minecraft/class_1496;method_6752(Lnet/minecraft/class_1657;)Z
official i
Lcoq;i(Lcut;)Z
-
tickControlled
- Overrides:
tickControlled
in classLivingEntity
- Mappings:
Namespace Name Mixin selector named tickControlled
Lnet/minecraft/entity/LivingEntity;tickControlled(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/Vec3d;)V
intermediary method_49481
Lnet/minecraft/class_1309;method_49481(Lnet/minecraft/class_1657;Lnet/minecraft/class_243;)V
official a
Lcam;a(Lcut;Lfis;)V
-
getControlledRotation
- Mappings:
Namespace Name Mixin selector named getControlledRotation
Lnet/minecraft/entity/passive/AbstractHorseEntity;getControlledRotation(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/util/math/Vec2f;
intermediary method_49489
Lnet/minecraft/class_1496;method_49489(Lnet/minecraft/class_1309;)Lnet/minecraft/class_241;
official i
Lcoq;i(Lcam;)Lfir;
-
getControlledMovementInput
- Overrides:
getControlledMovementInput
in classLivingEntity
- Mappings:
Namespace Name Mixin selector named getControlledMovementInput
Lnet/minecraft/entity/LivingEntity;getControlledMovementInput(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;
intermediary method_49482
Lnet/minecraft/class_1309;method_49482(Lnet/minecraft/class_1657;Lnet/minecraft/class_243;)Lnet/minecraft/class_243;
official b
Lcam;b(Lcut;Lfis;)Lfis;
-
getSaddledSpeed
- Overrides:
getSaddledSpeed
in classLivingEntity
- Mappings:
Namespace Name Mixin selector named getSaddledSpeed
Lnet/minecraft/entity/LivingEntity;getSaddledSpeed(Lnet/minecraft/entity/player/PlayerEntity;)F
intermediary method_49485
Lnet/minecraft/class_1309;method_49485(Lnet/minecraft/class_1657;)F
official c
Lcam;c(Lcut;)F
-
jump
- Mappings:
Namespace Name Mixin selector named jump
Lnet/minecraft/entity/passive/AbstractHorseEntity;jump(FLnet/minecraft/util/math/Vec3d;)V
intermediary method_45343
Lnet/minecraft/class_1496;method_45343(FLnet/minecraft/class_243;)V
official b
Lcoq;b(FLfis;)V
-
playJumpSound
protected void playJumpSound()- Mappings:
Namespace Name Mixin selector named playJumpSound
Lnet/minecraft/entity/passive/AbstractHorseEntity;playJumpSound()V
intermediary method_6723
Lnet/minecraft/class_1496;method_6723()V
official ho
Lcoq;ho()V
-
writeCustomData
- Overrides:
writeCustomData
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector named writeCustomData
Lnet/minecraft/entity/Entity;writeCustomData(Lnet/minecraft/storage/WriteView;)V
intermediary method_5652
Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_11372;)V
official a
Lbzm;a(Lfdc;)V
-
readCustomData
- Overrides:
readCustomData
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector named readCustomData
Lnet/minecraft/entity/Entity;readCustomData(Lnet/minecraft/storage/ReadView;)V
intermediary method_5749
Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_11368;)V
official a
Lbzm;a(Lfda;)V
-
canBreedWith
- Overrides:
canBreedWith
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector named canBreedWith
Lnet/minecraft/entity/passive/AnimalEntity;canBreedWith(Lnet/minecraft/entity/passive/AnimalEntity;)Z
intermediary method_6474
Lnet/minecraft/class_1429;method_6474(Lnet/minecraft/class_1429;)Z
official a
Lcmd;a(Lcmd;)Z
-
canBreed
protected boolean canBreed()- Mappings:
Namespace Name Mixin selector named canBreed
Lnet/minecraft/entity/passive/AbstractHorseEntity;canBreed()Z
intermediary method_6734
Lnet/minecraft/class_1496;method_6734()Z
official hp
Lcoq;hp()Z
-
createChild
- Specified by:
createChild
in classPassiveEntity
- Mappings:
Namespace Name Mixin selector named createChild
Lnet/minecraft/entity/passive/PassiveEntity;createChild(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/PassiveEntity;
intermediary method_5613
Lnet/minecraft/class_1296;method_5613(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_1296;
official a
Lbzc;a(Laub;Lbzc;)Lbzc;
-
setChildAttributes
- Mappings:
Namespace Name Mixin selector named setChildAttributes
Lnet/minecraft/entity/passive/AbstractHorseEntity;setChildAttributes(Lnet/minecraft/entity/passive/PassiveEntity;Lnet/minecraft/entity/passive/AbstractHorseEntity;)V
intermediary method_6743
Lnet/minecraft/class_1496;method_6743(Lnet/minecraft/class_1296;Lnet/minecraft/class_1496;)V
official a
Lcoq;a(Lbzc;Lcoq;)V
-
setChildAttribute
private void setChildAttribute(PassiveEntity other, AbstractHorseEntity child, RegistryEntry<EntityAttribute> attribute, double min, double max) - Mappings:
Namespace Name Mixin selector named setChildAttribute
Lnet/minecraft/entity/passive/AbstractHorseEntity;setChildAttribute(Lnet/minecraft/entity/passive/PassiveEntity;Lnet/minecraft/entity/passive/AbstractHorseEntity;Lnet/minecraft/registry/entry/RegistryEntry;DD)V
intermediary method_49124
Lnet/minecraft/class_1496;method_49124(Lnet/minecraft/class_1296;Lnet/minecraft/class_1496;Lnet/minecraft/class_6880;DD)V
official a
Lcoq;a(Lbzc;Lcoq;Ljl;DD)V
-
calculateAttributeBaseValue
static double calculateAttributeBaseValue(double parentBase, double otherParentBase, double min, double max, Random random) - Mappings:
Namespace Name Mixin selector named calculateAttributeBaseValue
Lnet/minecraft/entity/passive/AbstractHorseEntity;calculateAttributeBaseValue(DDDDLnet/minecraft/util/math/random/Random;)D
intermediary method_49123
Lnet/minecraft/class_1496;method_49123(DDDDLnet/minecraft/class_5819;)D
official a
Lcoq;a(DDDDLbck;)D
-
getEatingGrassAnimationProgress
public float getEatingGrassAnimationProgress(float tickProgress) - Mappings:
Namespace Name Mixin selector named getEatingGrassAnimationProgress
Lnet/minecraft/entity/passive/AbstractHorseEntity;getEatingGrassAnimationProgress(F)F
intermediary method_6739
Lnet/minecraft/class_1496;method_6739(F)F
official J
Lcoq;J(F)F
-
getAngryAnimationProgress
public float getAngryAnimationProgress(float tickProgress) - Mappings:
Namespace Name Mixin selector named getAngryAnimationProgress
Lnet/minecraft/entity/passive/AbstractHorseEntity;getAngryAnimationProgress(F)F
intermediary method_6767
Lnet/minecraft/class_1496;method_6767(F)F
official K
Lcoq;K(F)F
-
getEatingAnimationProgress
public float getEatingAnimationProgress(float tickProgress) - Mappings:
Namespace Name Mixin selector named getEatingAnimationProgress
Lnet/minecraft/entity/passive/AbstractHorseEntity;getEatingAnimationProgress(F)F
intermediary method_6772
Lnet/minecraft/class_1496;method_6772(F)F
official L
Lcoq;L(F)F
-
setJumpStrength
public void setJumpStrength(int strength) - Specified by:
setJumpStrength
in interfaceJumpingMount
- Mappings:
Namespace Name Mixin selector named setJumpStrength
Lnet/minecraft/entity/JumpingMount;setJumpStrength(I)V
intermediary method_6154
Lnet/minecraft/class_1316;method_6154(I)V
official b
Lcaw;b(I)V
-
canJump
public boolean canJump()- Specified by:
canJump
in interfaceJumpingMount
- Mappings:
Namespace Name Mixin selector named canJump
Lnet/minecraft/entity/JumpingMount;canJump()Z
intermediary method_6153
Lnet/minecraft/class_1316;method_6153()Z
official a
Lcaw;a()Z
-
startJumping
public void startJumping(int height) - Specified by:
startJumping
in interfaceJumpingMount
- Mappings:
Namespace Name Mixin selector named startJumping
Lnet/minecraft/entity/JumpingMount;startJumping(I)V
intermediary method_6155
Lnet/minecraft/class_1316;method_6155(I)V
official c
Lcaw;c(I)V
-
stopJumping
public void stopJumping()- Specified by:
stopJumping
in interfaceJumpingMount
- Mappings:
Namespace Name Mixin selector named stopJumping
Lnet/minecraft/entity/JumpingMount;stopJumping()V
intermediary method_6156
Lnet/minecraft/class_1316;method_6156()V
official b
Lcaw;b()V
-
spawnPlayerReactionParticles
protected void spawnPlayerReactionParticles(boolean positive) - Mappings:
Namespace Name Mixin selector named spawnPlayerReactionParticles
Lnet/minecraft/entity/passive/AbstractHorseEntity;spawnPlayerReactionParticles(Z)V
intermediary method_6760
Lnet/minecraft/class_1496;method_6760(Z)V
official B
Lcoq;B(Z)V
-
handleStatus
public void handleStatus(byte status) Called on the client when the entity receives an entity status from the server. They are often used to spawn particles or play sounds. Subclasses can override this method to handle custom entity status.- Overrides:
handleStatus
in classAnimalEntity
- See Also:
- API Note:
- To send an entity status, use
World.sendEntityStatus(net.minecraft.entity.Entity, byte)
. - Mappings:
Namespace Name Mixin selector named handleStatus
Lnet/minecraft/entity/Entity;handleStatus(B)V
intermediary method_5711
Lnet/minecraft/class_1297;method_5711(B)V
official b
Lbzm;b(B)V
-
updatePassengerPosition
- Overrides:
updatePassengerPosition
in classEntity
- Mappings:
Namespace Name Mixin selector named updatePassengerPosition
Lnet/minecraft/entity/Entity;updatePassengerPosition(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity$PositionUpdater;)V
intermediary method_5865
Lnet/minecraft/class_1297;method_5865(Lnet/minecraft/class_1297;Lnet/minecraft/class_1297$class_4738;)V
official a
Lbzm;a(Lbzm;Lbzm$b;)V
-
getChildHealthBonus
- Mappings:
Namespace Name Mixin selector named getChildHealthBonus
Lnet/minecraft/entity/passive/AbstractHorseEntity;getChildHealthBonus(Ljava/util/function/IntUnaryOperator;)F
intermediary method_6754
Lnet/minecraft/class_1496;method_6754(Ljava/util/function/IntUnaryOperator;)F
official a
Lcoq;a(Ljava/util/function/IntUnaryOperator;)F
-
getChildJumpStrengthBonus
- Mappings:
Namespace Name Mixin selector named getChildJumpStrengthBonus
Lnet/minecraft/entity/passive/AbstractHorseEntity;getChildJumpStrengthBonus(Ljava/util/function/DoubleSupplier;)D
intermediary method_6774
Lnet/minecraft/class_1496;method_6774(Ljava/util/function/DoubleSupplier;)D
official a
Lcoq;a(Ljava/util/function/DoubleSupplier;)D
-
getChildMovementSpeedBonus
- Mappings:
Namespace Name Mixin selector named getChildMovementSpeedBonus
Lnet/minecraft/entity/passive/AbstractHorseEntity;getChildMovementSpeedBonus(Ljava/util/function/DoubleSupplier;)D
intermediary method_6728
Lnet/minecraft/class_1496;method_6728(Ljava/util/function/DoubleSupplier;)D
official b
Lcoq;b(Ljava/util/function/DoubleSupplier;)D
-
isClimbing
public boolean isClimbing()- Overrides:
isClimbing
in classLivingEntity
- Mappings:
Namespace Name Mixin selector named isClimbing
Lnet/minecraft/entity/LivingEntity;isClimbing()Z
intermediary method_6101
Lnet/minecraft/class_1309;method_6101()Z
official eV
Lcam;eV()Z
-
getStackReference
Obtains a stack reference to be modified. Used by commands like/loot
or/item
.- Overrides:
getStackReference
in classLivingEntity
- Parameters:
mappedIndex
- the mapped index as given by the item slot argument- See Also:
- Mappings:
Namespace Name Mixin selector named getStackReference
Lnet/minecraft/entity/Entity;getStackReference(I)Lnet/minecraft/inventory/StackReference;
intermediary method_32318
Lnet/minecraft/class_1297;method_32318(I)Lnet/minecraft/class_5630;
official a_
Lbzm;a_(I)Lcbd;
-
getControllingPassenger
Returns the passenger in control of this entity, ornull
if there is none.Rideable entities should override this to return the entity. This is usually
#getFirstPassenger
.- Overrides:
getControllingPassenger
in classMobEntity
- Returns:
- the passenger in control of this entity, or
null
if there is none - See Also:
- Mappings:
Namespace Name Mixin selector named getControllingPassenger
Lnet/minecraft/entity/Entity;getControllingPassenger()Lnet/minecraft/entity/LivingEntity;
intermediary method_5642
Lnet/minecraft/class_1297;method_5642()Lnet/minecraft/class_1309;
official cY
Lbzm;cY()Lcam;
-
locateSafeDismountingPos
- Mappings:
Namespace Name Mixin selector named locateSafeDismountingPos
Lnet/minecraft/entity/passive/AbstractHorseEntity;locateSafeDismountingPos(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/util/math/Vec3d;
intermediary method_27930
Lnet/minecraft/class_1496;method_27930(Lnet/minecraft/class_243;Lnet/minecraft/class_1309;)Lnet/minecraft/class_243;
official a
Lcoq;a(Lfis;Lcam;)Lfis;
-
updatePassengerForDismount
Returns the position of the dismountedpassenger
.Vehicles should override this to return a suitable dismounting position for the passenger. Check the implementation of the subclass for details.
- Overrides:
updatePassengerForDismount
in classEntity
- Returns:
- the position of the dismounted
passenger
- See Also:
- Mappings:
Namespace Name Mixin selector named updatePassengerForDismount
Lnet/minecraft/entity/Entity;updatePassengerForDismount(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/util/math/Vec3d;
intermediary method_24829
Lnet/minecraft/class_1297;method_24829(Lnet/minecraft/class_1309;)Lnet/minecraft/class_243;
official b
Lbzm;b(Lcam;)Lfis;
-
initAttributes
- Mappings:
Namespace Name Mixin selector named initAttributes
Lnet/minecraft/entity/passive/AbstractHorseEntity;initAttributes(Lnet/minecraft/util/math/random/Random;)V
intermediary method_6001
Lnet/minecraft/class_1496;method_6001(Lnet/minecraft/class_5819;)V
official a
Lcoq;a(Lbck;)V
-
initialize
@Nullable public @Nullable EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable @Nullable EntityData entityData) - Overrides:
initialize
in classPassiveEntity
- Mappings:
Namespace Name Mixin selector named initialize
Lnet/minecraft/entity/mob/MobEntity;initialize(Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/world/LocalDifficulty;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/entity/EntityData;)Lnet/minecraft/entity/EntityData;
intermediary method_5943
Lnet/minecraft/class_1308;method_5943(Lnet/minecraft/class_5425;Lnet/minecraft/class_1266;Lnet/minecraft/class_3730;Lnet/minecraft/class_1315;)Lnet/minecraft/class_1315;
official a
Lcao;a(Ldnl;Lbxh;Lbzu;Lcbe;)Lcbe;
-
areInventoriesDifferent
- Mappings:
Namespace Name Mixin selector named areInventoriesDifferent
Lnet/minecraft/entity/passive/AbstractHorseEntity;areInventoriesDifferent(Lnet/minecraft/inventory/Inventory;)Z
intermediary method_33338
Lnet/minecraft/class_1496;method_33338(Lnet/minecraft/class_1263;)Z
official a
Lcoq;a(Lbxc;)Z
-
getMinAmbientStandDelay
public int getMinAmbientStandDelay()- Mappings:
Namespace Name Mixin selector named getMinAmbientStandDelay
Lnet/minecraft/entity/passive/AbstractHorseEntity;getMinAmbientStandDelay()I
intermediary method_45377
Lnet/minecraft/class_1496;method_45377()I
official hq
Lcoq;hq()I
-
getPassengerAttachmentPos
protected Vec3d getPassengerAttachmentPos(Entity passenger, EntityDimensions dimensions, float scaleFactor) - Overrides:
getPassengerAttachmentPos
in classEntity
- Mappings:
Namespace Name Mixin selector named getPassengerAttachmentPos
Lnet/minecraft/entity/Entity;getPassengerAttachmentPos(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/EntityDimensions;F)Lnet/minecraft/util/math/Vec3d;
intermediary method_52533
Lnet/minecraft/class_1297;method_52533(Lnet/minecraft/class_1297;Lnet/minecraft/class_4048;F)Lnet/minecraft/class_243;
official a
Lbzm;a(Lbzm;Lbzp;F)Lfis;
-
getInventoryColumns
public int getInventoryColumns()- Mappings:
Namespace Name Mixin selector named getInventoryColumns
Lnet/minecraft/entity/passive/AbstractHorseEntity;getInventoryColumns()I
intermediary method_6702
Lnet/minecraft/class_1496;method_6702()I
official ac_
Lcoq;ac_()I
-