Class AbstractHorseEntity
- All Implemented Interfaces:
ComponentsAccess,Attackable,DataTracked,EquipmentHolder,JumpingMount,Leashable,Mount,RideableInventory,Tameable,Targeter,ScoreHolder,HeldItemContext,Nameable,DebugTrackable,EntityLike,UniquelyIdentifiable,ServerWaypoint,Waypoint
- Direct Known Subclasses:
AbstractDonkeyEntity,CamelEntity,HorseEntity,SkeletonHorseEntity,ZombieHorseEntity
- Mappings:
Namespace Name named net/minecraft/entity/passive/AbstractHorseEntityintermediary net/minecraft/class_1496official cvr
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.passive.PassiveEntity
PassiveEntity.PassiveDataNested classes/interfaces inherited from class net.minecraft.entity.LivingEntity
LivingEntity.FallSoundsNested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReasonNested classes/interfaces inherited from interface net.minecraft.world.debug.DebugTrackable
DebugTrackable.DebugDataSupplier<T>, DebugTrackable.TrackerNested classes/interfaces inherited from interface net.minecraft.util.HeldItemContext
HeldItemContext.OffsetNested classes/interfaces inherited from interface net.minecraft.entity.Leashable
Leashable.Elasticity, Leashable.LeashDataNested classes/interfaces inherited from interface net.minecraft.world.waypoint.ServerWaypoint
ServerWaypoint.AzimuthWaypointTracker, ServerWaypoint.ChebyshevDistanceValidatedTracker, ServerWaypoint.ChunkWaypointTracker, ServerWaypoint.ManhattanDistanceValidatedTracker, ServerWaypoint.PositionalWaypointTracker, ServerWaypoint.WaypointTrackerNested classes/interfaces inherited from interface net.minecraft.world.waypoint.Waypoint
Waypoint.Config -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate floatprivate intprivate static final intprivate static final booleanprivate static final booleanprivate static final booleanprivate static final intprivate static final intprivate static final intprivate floatprivate floatprivate intprivate intstatic final intstatic final intstatic final doubleprivate static final floatprivate static final floatstatic final intintprivate static final TrackedData<Byte> private static final TargetPredicate.EntityPredicateprotected SimpleInventoryprotected booleanprotected floatprivate floatprivate floatprivate floatprivate static final floatprivate static final floatprivate static final floatprivate static final floatprivate static final floatprivate static final floatprivate @Nullable LazyEntityReference<LivingEntity> private static final TargetPredicateprotected booleanprotected intintprivate static final intprotected intFields inherited from class net.minecraft.entity.passive.AnimalEntity
BREEDING_COOLDOWNFields inherited from class net.minecraft.entity.passive.PassiveEntity
BABY_AGE, breedingAge, DEFAULT_AGE, DEFAULT_FORCED_AGE, forcedAge, happyTicksRemainingFields inherited from class net.minecraft.entity.mob.PathAwareEntity
DEFAULT_PATHFINDING_FAVORFields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, ARMOR_UPGRADE_CHANCE, ARMOR_UPGRADE_ROLLS, 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, targetSelectorFields 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, 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, field_63293, field_63294, forwardSpeed, glidingTicks, GRAVITY, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, HEALTH_KEY, HURT_BY_TIMESTAMP_KEY, HURT_TIME_KEY, hurtTime, interpolator, itemUseTimeLeft, lastBodyYaw, lastDamageTaken, lastHandSwingProgress, lastHeadYaw, limbAnimator, LIVING_FLAGS, maxHurtTime, NOT_WEARING_GAZE_DISGUISE_PREDICATE, OFF_HAND_ACTIVE_FLAG, piercingCooldowns, playerHitTimer, preferredHand, riptideAttackDamage, riptideStack, riptideTicks, serverHeadYaw, sidewaysSpeed, SLEEPING_DIMENSIONS, SLEEPING_POS_KEY, stuckArrowTimer, stuckStingerTimer, ticksSinceHandEquipping, ticksSinceLastAttack, upwardSpeed, USING_ITEM_FLAG, USING_RIPTIDE_FLAGFields inherited from class net.minecraft.entity.Entity
age, AIR_KEY, collidedSoftly, CUSTOM_DATA_KEY, CUSTOM_NAME_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, wasInPowderSnowFields 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_POINTSFields inherited from interface net.minecraft.scoreboard.ScoreHolder
WILDCARD, WILDCARD_NAMEFields inherited from interface net.minecraft.world.waypoint.ServerWaypoint
AZIMUTH_THRESHOLDFields inherited from interface net.minecraft.world.waypoint.Waypoint
DEFAULT_PLAYER_RANGE, DISABLE_TRACKING -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractHorseEntity(EntityType<? extends AbstractHorseEntity> type, World world) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddPassenger(Entity passenger) Addspassengeras a passenger.intaddTemper(int difference) booleanareInventoriesDifferent(Inventory inventory) booleanbondWithPlayer(PlayerEntity player) (package private) static doublecalculateAttributeBaseValue(double parentBase, double otherParentBase, double min, double max, Random random) protected booleancanBreed()booleancanBreedWith(AnimalEntity other) protected booleanbooleancanJump()booleanbooleancanUseSlot(EquipmentSlot slot) createChild(ServerWorld world, PassiveEntity entity) booleandamage(ServerWorld world, DamageSource source, float amount) Applies a damage to this entity.protected voiddropInventory(ServerWorld world) booleanvoidequipHorseArmor(PlayerEntity player, ItemStack stack) floatgetAngryAnimationProgress(float tickProgress) protected @Nullable SoundEventprotected static floatgetChildHealthBonus(IntUnaryOperator randomIntGetter) protected static doublegetChildJumpStrengthBonus(DoubleSupplier randomDoubleGetter) protected static doublegetChildMovementSpeedBonus(DoubleSupplier randomDoubleGetter) protected Vec3dgetControlledMovementInput(PlayerEntity controllingPlayer, Vec3d movementInput) protected Vec2fgetControlledRotation(LivingEntity controllingPassenger) Returns the passenger in control of this entity, ornullif there is none.floatgetEatingAnimationProgress(float tickProgress) floatgetEatingGrassAnimationProgress(float tickProgress) protected @Nullable SoundEventprotected RegistryEntry<SoundEvent> getEquipSound(EquipmentSlot slot, ItemStack stack, EquippableComponent equippableComponent) protected booleangetHorseFlag(int bitmask) intfinal intstatic intgetInventorySize(int columns) intintintintprotected Vec3dgetPassengerAttachmentPos(Entity passenger, EntityDimensions dimensions, float scaleFactor) Vec3d[]protected floatgetSaddledSpeed(PlayerEntity controllingPlayer) protected floatgetStackReference(int mappedIndex) Obtains a stack reference to be modified.intbooleanhandleFallDamage(double fallDistance, float damagePerDistance, DamageSource damageSource) Called when an entity falls.voidhandleStatus(byte status) Called on the client when the entity receives an entity status from the server.protected voidinitAttributes(Random random) protected voidprotected voidinitDataTracker(DataTracker.Builder builder) Initializes data tracker.protected voidinitialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) interactHorse(PlayerEntity player, ItemStack stack) interactMob(PlayerEntity player, Hand hand) booleanisAngry()booleanisBred()booleanisBreedingItem(ItemStack stack) booleanbooleanbooleanbooleanbooleanReturns whether the entity can be pushed by other entities.booleanisTame()private booleanisWooden(BlockSoundGroup soundGroup) protected voidlocateSafeDismountingPos(Vec3d offset, LivingEntity passenger) protected voidvoidvoidopenInventory(PlayerEntity player) voidprivate voidprotected voidprotected voidplayStepSound(BlockPos pos, BlockState state) protected voidplayWalkSound(BlockSoundGroup group) protected voidputPlayerOnBack(PlayerEntity player) protected voidreadCustomData(ReadView view) protected booleanreceiveFood(PlayerEntity player, ItemStack item) voidsetAngry(int ticks) voidsetBred(boolean bred) private voidsetChildAttribute(PassiveEntity other, AbstractHorseEntity child, RegistryEntry<EntityAttribute> attribute, double min, double max) protected voidsetChildAttributes(PassiveEntity other, AbstractHorseEntity child) private voidvoidsetEatingGrass(boolean eatingGrass) protected voidsetHorseFlag(int bitmask, boolean flag) voidsetJumpStrength(int strength) voidvoidsetOwner(@Nullable LivingEntity entity) voidsetTame(boolean tame) voidsetTemper(int temper) protected booleanprotected voidspawnPlayerReactionParticles(boolean positive) voidstartJumping(int height) voidvoidtick()Ticks this entity.protected voidtickControlled(PlayerEntity controllingPlayer, Vec3d movementInput) voidvoidupdatePassengerForDismount(LivingEntity passenger) Returns the position of the dismountedpassenger.protected voidupdatePassengerPosition(Entity passenger, Entity.PositionUpdater positionUpdater) private voidwagTail()protected voidwalkToParent(ServerWorld world) protected voidwriteCustomData(WriteView view) Methods inherited from class net.minecraft.entity.passive.AnimalEntity
applyDamage, breed, breed, canEat, canImmediatelyDespawn, createAnimalAttributes, getExperienceToDrop, getLoveTicks, getLovingPlayer, getPathfindingFavor, isInLove, isLightLevelValidForNaturalSpawn, isValidNaturalSpawn, lovePlayer, mobTick, playEatSound, resetLoveTicks, setLoveTicksMethods inherited from class net.minecraft.entity.passive.PassiveEntity
getBreedingAge, getForcedAge, getHappyTicksRemaining, growUp, growUp, isBaby, isReadyToBreed, onGrowUp, onTrackedDataSet, setBaby, setBreedingAge, toGrowUpAgeMethods inherited from class net.minecraft.entity.mob.PathAwareEntity
beforeLeashTick, canSpawn, getFollowLeashSpeed, getPathfindingFavor, isNavigating, isPanicking, onShortLeashTick, shouldFollowLeashMethods 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, eat, enchantEquipment, enchantMainHandItem, equipBodyArmor, equipLootStack, getAmbientSound, getAttackBox, getBodyArmor, getDaylightProtectionSlot, 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, isAiDisabled, isAttacking, isInAttackRange, isInPositionTargetRange, isInPositionTargetRange, isInPositionTargetRange, isLeftHanded, isPersistent, isWearingBodyArmor, lookAtEntity, loot, movesIndependently, onEatingGrass, onFinishPathfinding, onLeashRemoved, onPlayerSpawnedChild, onStartPathfinding, playAmbientSound, playHurtSound, playSpawnEffects, prefersNewDamageableItem, prefersNewEquipment, registerTracking, removeFromDimension, 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, updateGoalControlsMethods inherited from class net.minecraft.entity.LivingEntity
addDeathParticles, addPowderSnowSlowIfNeeded, addStatusEffect, addStatusEffect, animateDamage, applyArmorToDamage, applyFluidMovingSpeed, applyMovementEffects, areItemsDifferent, attackLivingEntity, becomeAngry, beforePlayerAttack, 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, dropLoot, endCombat, enterCombat, equipStack, fall, forEachBrushedItem, forEachGeneratedItem, forEachGiftedItem, forEachShearedItem, generateLoot, 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, getEntity, getEquippedStack, getExperienceToDrop, getFallSounds, getGlidingTicks, getGravity, getHandSwingProgress, getHeadYaw, getHealth, getHitbox, getHurtSound, getInterpolator, getItemUseTime, 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, 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, isInPiercingCooldown, isInsideWall, isInSwimmingPose, isInvulnerableTo, isJumping, isMobOrPlayer, isPartOfGame, isSleeping, isUsingItem, isUsingRiptide, jump, kill, knockback, knockbackTarget, knockDownwards, lerpHeadYaw, lerpYaw, lookAt, markEffectsDirty, method_75725, modifyAppliedDamage, onAttack, onAttacking, onDamaged, onDeath, onEquipStack, onKilledBy, onRemoval, onRemove, onSpawnPacket, onStatusEffectApplied, onStatusEffectsRemoved, onStatusEffectUpgraded, pierce, playAttackSound, 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, shouldDrown, shouldRenderName, shouldSwimInFluids, sleep, spawnItemParticles, startPiercingCooldown, 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, wouldNotSuffocateInPoseMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addCommandTag, addFlapEffects, addPortalChunkTicketAt, addVelocity, addVelocity, addVelocityInternal, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyBubbleColumnEffects, applyBubbleColumnSurfaceEffects, applyGravity, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calcDistanceFromBottomCollision, 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, dropStack, dropStack, dropStack, emitGameEvent, emitGameEvent, equals, extinguish, extinguishWithSound, findCollisions, 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, getEntityPos, getEntityWorld, getErrorReporterContext, getEyeHeight, getEyePos, getEyeY, getFacing, getFinalGravity, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeadRotationVector, 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, getPose, getPosWithYOffset, getProjectileDeflection, getRandom, getRandomBodyY, getRegistryManager, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTeam, getSoundCategory, getSplashSound, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSwimSound, getSyncedPos, getTargetingMargin, getTeamColorValue, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVehicleAttachmentPos, getVelocity, getVelocityAffectingPos, getWidth, 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, isInteractable, isInterpolating, isInvisible, isInvisibleTo, isInvulnerable, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isOnRail, isPartlyTouchingWater, 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, 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, updateTrackedAngles, updateTrackedPosition, updateTrackedPosition, updateTrackedPositionAndAngles, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, writeDataMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.component.ComponentsAccess
getOrDefault, getTypedMethods inherited from interface net.minecraft.entity.EquipmentHolder
equipStack, getEquippedStack, getSlotForStack, setEquipmentFromTable, setEquipmentFromTable, setEquipmentFromTableMethods inherited from interface net.minecraft.entity.JumpingMount
clampJumpStrength, getJumpCooldownMethods inherited from interface net.minecraft.entity.Leashable
applyElasticity, attachLeash, canBeLeashedTo, detachLeash, detachLeashWithoutDrop, getDistanceToCenter, getElasticLeashDistance, getLeashHolder, getLeashOffset, getLeashOffset, getLeashSnappingDistance, isLeashed, mightBeLeashed, readLeashData, setUnresolvedLeashHolderId, writeLeashDataMethods inherited from interface net.minecraft.util.Nameable
getStringifiedNameMethods inherited from interface net.minecraft.scoreboard.ScoreHolder
getStyledDisplayNameMethods inherited from interface net.minecraft.entity.Tameable
getEntityWorld, getOwner, getTopLevelOwner
-
Field Details
-
field_30414
public static final int field_30414- See Also:
- Mappings:
Namespace Name Mixin selector named field_30414Lnet/minecraft/entity/passive/AbstractHorseEntity;field_30414:Iintermediary field_30414Lnet/minecraft/class_1496;field_30414:Iofficial cGLcvr;cG:I
-
field_30415
public static final int field_30415- See Also:
- Mappings:
Namespace Name Mixin selector named field_30415Lnet/minecraft/entity/passive/AbstractHorseEntity;field_30415:Iintermediary field_30415Lnet/minecraft/class_1496;field_30415:Iofficial cHLcvr;cH:I
-
field_42647
public static final double field_42647- See Also:
- Mappings:
Namespace Name Mixin selector named field_42647Lnet/minecraft/entity/passive/AbstractHorseEntity;field_42647:Dintermediary field_42647Lnet/minecraft/class_1496;field_42647:Dofficial cILcvr;cI:D
-
MIN_MOVEMENT_SPEED_BONUS
private static final float MIN_MOVEMENT_SPEED_BONUS- Mappings:
Namespace Name Mixin selector named MIN_MOVEMENT_SPEED_BONUSLnet/minecraft/entity/passive/AbstractHorseEntity;MIN_MOVEMENT_SPEED_BONUS:Fintermediary field_42641Lnet/minecraft/class_1496;field_42641:Fofficial cvLcvr;cv:F
-
MAX_MOVEMENT_SPEED_BONUS
private static final float MAX_MOVEMENT_SPEED_BONUS- Mappings:
Namespace Name Mixin selector named MAX_MOVEMENT_SPEED_BONUSLnet/minecraft/entity/passive/AbstractHorseEntity;MAX_MOVEMENT_SPEED_BONUS:Fintermediary field_42642Lnet/minecraft/class_1496;field_42642:Fofficial cwLcvr;cw:F
-
MIN_JUMP_STRENGTH_BONUS
private static final float MIN_JUMP_STRENGTH_BONUS- Mappings:
Namespace Name Mixin selector named MIN_JUMP_STRENGTH_BONUSLnet/minecraft/entity/passive/AbstractHorseEntity;MIN_JUMP_STRENGTH_BONUS:Fintermediary field_42643Lnet/minecraft/class_1496;field_42643:Fofficial cxLcvr;cx:F
-
MAX_JUMP_STRENGTH_BONUS
private static final float MAX_JUMP_STRENGTH_BONUS- Mappings:
Namespace Name Mixin selector named MAX_JUMP_STRENGTH_BONUSLnet/minecraft/entity/passive/AbstractHorseEntity;MAX_JUMP_STRENGTH_BONUS:Fintermediary field_42644Lnet/minecraft/class_1496;field_42644:Fofficial czLcvr;cz:F
-
MIN_HEALTH_BONUS
private static final float MIN_HEALTH_BONUS- Mappings:
Namespace Name Mixin selector named MIN_HEALTH_BONUSLnet/minecraft/entity/passive/AbstractHorseEntity;MIN_HEALTH_BONUS:Fintermediary field_42645Lnet/minecraft/class_1496;field_42645:Fofficial cALcvr;cA:F
-
MAX_HEALTH_BONUS
private static final float MAX_HEALTH_BONUS- Mappings:
Namespace Name Mixin selector named MAX_HEALTH_BONUSLnet/minecraft/entity/passive/AbstractHorseEntity;MAX_HEALTH_BONUS:Fintermediary field_42646Lnet/minecraft/class_1496;field_42646:Fofficial cBLcvr;cB:F
-
field_42979
private static final float field_42979- See Also:
- Mappings:
Namespace Name Mixin selector named field_42979Lnet/minecraft/entity/passive/AbstractHorseEntity;field_42979:Fintermediary field_42979Lnet/minecraft/class_1496;field_42979:Fofficial cCLcvr;cC:F
-
field_42980
private static final float field_42980- See Also:
- Mappings:
Namespace Name Mixin selector named field_42980Lnet/minecraft/entity/passive/AbstractHorseEntity;field_42980:Fintermediary field_42980Lnet/minecraft/class_1496;field_42980:Fofficial cDLcvr;cD:F
-
IS_BRED_HORSE
- Mappings:
Namespace Name Mixin selector named IS_BRED_HORSELnet/minecraft/entity/passive/AbstractHorseEntity;IS_BRED_HORSE:Lnet/minecraft/entity/ai/TargetPredicate$EntityPredicate;intermediary field_6956Lnet/minecraft/class_1496;field_6956:Lnet/minecraft/class_4051$class_10254;official cELcvr;cE:Lcrz$a;
-
PARENT_HORSE_PREDICATE
- Mappings:
Namespace Name Mixin selector named PARENT_HORSE_PREDICATELnet/minecraft/entity/passive/AbstractHorseEntity;PARENT_HORSE_PREDICATE:Lnet/minecraft/entity/ai/TargetPredicate;intermediary field_18118Lnet/minecraft/class_1496;field_18118:Lnet/minecraft/class_4051;official cFLcvr;cF:Lcrz;
-
HORSE_FLAGS
- Mappings:
Namespace Name Mixin selector named HORSE_FLAGSLnet/minecraft/entity/passive/AbstractHorseEntity;HORSE_FLAGS:Lnet/minecraft/entity/data/TrackedData;intermediary field_6959Lnet/minecraft/class_1496;field_6959:Lnet/minecraft/class_2940;official cULcvr;cU:Lamb;
-
TAMED_FLAG
private static final int TAMED_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector named TAMED_FLAGLnet/minecraft/entity/passive/AbstractHorseEntity;TAMED_FLAG:Iintermediary field_30419Lnet/minecraft/class_1496;field_30419:Iofficial cVLcvr;cV:I
-
BRED_FLAG
private static final int BRED_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector named BRED_FLAGLnet/minecraft/entity/passive/AbstractHorseEntity;BRED_FLAG:Iintermediary field_30421Lnet/minecraft/class_1496;field_30421:Iofficial cWLcvr;cW:I
-
EATING_GRASS_FLAG
private static final int EATING_GRASS_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector named EATING_GRASS_FLAGLnet/minecraft/entity/passive/AbstractHorseEntity;EATING_GRASS_FLAG:Iintermediary field_30422Lnet/minecraft/class_1496;field_30422:Iofficial cXLcvr;cX:I
-
ANGRY_FLAG
private static final int ANGRY_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector named ANGRY_FLAGLnet/minecraft/entity/passive/AbstractHorseEntity;ANGRY_FLAG:Iintermediary field_30423Lnet/minecraft/class_1496;field_30423:Iofficial cYLcvr;cY:I
-
EATING_FLAG
private static final int EATING_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector named EATING_FLAGLnet/minecraft/entity/passive/AbstractHorseEntity;EATING_FLAG:Iintermediary field_30424Lnet/minecraft/class_1496;field_30424:Iofficial cZLcvr;cZ:I
-
field_52488
public static final int field_52488- See Also:
- Mappings:
Namespace Name Mixin selector named field_52488Lnet/minecraft/entity/passive/AbstractHorseEntity;field_52488:Iintermediary field_52488Lnet/minecraft/class_1496;field_52488:Iofficial cJLcvr;cJ:I
-
DEFAULT_TEMPER
private static final int DEFAULT_TEMPER- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_TEMPERLnet/minecraft/entity/passive/AbstractHorseEntity;DEFAULT_TEMPER:Iintermediary field_57630Lnet/minecraft/class_1496;field_57630:Iofficial daLcvr;da:I
-
DEFAULT_EATING_GRASS
private static final boolean DEFAULT_EATING_GRASS- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_EATING_GRASSLnet/minecraft/entity/passive/AbstractHorseEntity;DEFAULT_EATING_GRASS:Zintermediary field_57631Lnet/minecraft/class_1496;field_57631:Zofficial dbLcvr;db:Z
-
DEFAULT_BRED
private static final boolean DEFAULT_BRED- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_BREDLnet/minecraft/entity/passive/AbstractHorseEntity;DEFAULT_BRED:Zintermediary field_57632Lnet/minecraft/class_1496;field_57632:Zofficial dcLcvr;dc:Z
-
DEFAULT_TAME
private static final boolean DEFAULT_TAME- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_TAMELnet/minecraft/entity/passive/AbstractHorseEntity;DEFAULT_TAME:Zintermediary field_57633Lnet/minecraft/class_1496;field_57633:Zofficial ddLcvr;dd:Z
-
eatingGrassTicks
private int eatingGrassTicks- Mappings:
Namespace Name Mixin selector named eatingGrassTicksLnet/minecraft/entity/passive/AbstractHorseEntity;eatingGrassTicks:Iintermediary field_6971Lnet/minecraft/class_1496;field_6971:Iofficial deLcvr;de:I
-
eatingTicks
private int eatingTicks- Mappings:
Namespace Name Mixin selector named eatingTicksLnet/minecraft/entity/passive/AbstractHorseEntity;eatingTicks:Iintermediary field_6973Lnet/minecraft/class_1496;field_6973:Iofficial dfLcvr;df:I
-
angryTicks
private int angryTicks- Mappings:
Namespace Name Mixin selector named angryTicksLnet/minecraft/entity/passive/AbstractHorseEntity;angryTicks:Iintermediary field_6970Lnet/minecraft/class_1496;field_6970:Iofficial dgLcvr;dg:I
-
tailWagTicks
public int tailWagTicks- Mappings:
Namespace Name Mixin selector named tailWagTicksLnet/minecraft/entity/passive/AbstractHorseEntity;tailWagTicks:Iintermediary field_6957Lnet/minecraft/class_1496;field_6957:Iofficial cKLcvr;cK:I
-
field_6958
public int field_6958- Mappings:
Namespace Name Mixin selector named field_6958Lnet/minecraft/entity/passive/AbstractHorseEntity;field_6958:Iintermediary field_6958Lnet/minecraft/class_1496;field_6958:Iofficial cLLcvr;cL:I
-
items
- Mappings:
Namespace Name Mixin selector named itemsLnet/minecraft/entity/passive/AbstractHorseEntity;items:Lnet/minecraft/inventory/SimpleInventory;intermediary field_6962Lnet/minecraft/class_1496;field_6962:Lnet/minecraft/class_1277;official cMLcvr;cM:Lcdf;
-
temper
protected int temper- Mappings:
Namespace Name Mixin selector named temperLnet/minecraft/entity/passive/AbstractHorseEntity;temper:Iintermediary field_6955Lnet/minecraft/class_1496;field_6955:Iofficial cNLcvr;cN:I
-
jumpStrength
protected float jumpStrength- Mappings:
Namespace Name Mixin selector named jumpStrengthLnet/minecraft/entity/passive/AbstractHorseEntity;jumpStrength:Fintermediary field_6976Lnet/minecraft/class_1496;field_6976:Fofficial cOLcvr;cO:F
-
jumping
protected boolean jumping- Mappings:
Namespace Name Mixin selector named jumpingLnet/minecraft/entity/passive/AbstractHorseEntity;jumping:Zintermediary field_6960Lnet/minecraft/class_1496;field_6960:Zofficial cPLcvr;cP:Z
-
eatingGrassAnimationProgress
private float eatingGrassAnimationProgress- Mappings:
Namespace Name Mixin selector named eatingGrassAnimationProgressLnet/minecraft/entity/passive/AbstractHorseEntity;eatingGrassAnimationProgress:Fintermediary field_6969Lnet/minecraft/class_1496;field_6969:Fofficial dhLcvr;dh:F
-
lastEatingGrassAnimationProgress
private float lastEatingGrassAnimationProgress- Mappings:
Namespace Name Mixin selector named lastEatingGrassAnimationProgressLnet/minecraft/entity/passive/AbstractHorseEntity;lastEatingGrassAnimationProgress:Fintermediary field_6966Lnet/minecraft/class_1496;field_6966:Fofficial diLcvr;di:F
-
angryAnimationProgress
private float angryAnimationProgress- Mappings:
Namespace Name Mixin selector named angryAnimationProgressLnet/minecraft/entity/passive/AbstractHorseEntity;angryAnimationProgress:Fintermediary field_6967Lnet/minecraft/class_1496;field_6967:Fofficial djLcvr;dj:F
-
lastAngryAnimationProgress
private float lastAngryAnimationProgress- Mappings:
Namespace Name Mixin selector named lastAngryAnimationProgressLnet/minecraft/entity/passive/AbstractHorseEntity;lastAngryAnimationProgress:Fintermediary field_6963Lnet/minecraft/class_1496;field_6963:Fofficial dkLcvr;dk:F
-
eatingAnimationProgress
private float eatingAnimationProgress- Mappings:
Namespace Name Mixin selector named eatingAnimationProgressLnet/minecraft/entity/passive/AbstractHorseEntity;eatingAnimationProgress:Fintermediary field_6965Lnet/minecraft/class_1496;field_6965:Fofficial dlLcvr;dl:F
-
lastEatingAnimationProgress
private float lastEatingAnimationProgress- Mappings:
Namespace Name Mixin selector named lastEatingAnimationProgressLnet/minecraft/entity/passive/AbstractHorseEntity;lastEatingAnimationProgress:Fintermediary field_6961Lnet/minecraft/class_1496;field_6961:Fofficial dmLcvr;dm:F
-
playExtraHorseSounds
protected boolean playExtraHorseSounds- Mappings:
Namespace Name Mixin selector named playExtraHorseSoundsLnet/minecraft/entity/passive/AbstractHorseEntity;playExtraHorseSounds:Zintermediary field_6964Lnet/minecraft/class_1496;field_6964:Zofficial cQLcvr;cQ:Z
-
soundTicks
protected int soundTicks- Mappings:
Namespace Name Mixin selector named soundTicksLnet/minecraft/entity/passive/AbstractHorseEntity;soundTicks:Iintermediary field_6975Lnet/minecraft/class_1496;field_6975:Iofficial cRLcvr;cR:I
-
ownerReference
- Mappings:
Namespace Name Mixin selector named ownerReferenceLnet/minecraft/entity/passive/AbstractHorseEntity;ownerReference:Lnet/minecraft/entity/LazyEntityReference;intermediary field_55705Lnet/minecraft/class_1496;field_55705:Lnet/minecraft/class_10583;official dnLcvr;dn:Lcgj;
-
-
Constructor Details
-
AbstractHorseEntity
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)Vintermediary <init>Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Vofficial <init>Lcgd;<init>(Lcgm;Ldun;)V
-
-
Method Details
-
initGoals
protected void initGoals() -
initCustomGoals
protected void initCustomGoals()- Mappings:
Namespace Name Mixin selector named initCustomGoalsLnet/minecraft/entity/passive/AbstractHorseEntity;initCustomGoals()Vintermediary method_6764Lnet/minecraft/class_1496;method_6764()Vofficial heLcvr;he()V
-
initDataTracker
Initializes data tracker.- Overrides:
initDataTrackerin 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 initDataTrackerLnet/minecraft/entity/Entity;initDataTracker(Lnet/minecraft/entity/data/DataTracker$Builder;)Vintermediary method_5693Lnet/minecraft/class_1297;method_5693(Lnet/minecraft/class_2945$class_9222;)Vofficial aLcgd;a(Lamf$a;)V
-
getHorseFlag
protected boolean getHorseFlag(int bitmask) - Mappings:
Namespace Name Mixin selector named getHorseFlagLnet/minecraft/entity/passive/AbstractHorseEntity;getHorseFlag(I)Zintermediary method_6730Lnet/minecraft/class_1496;method_6730(I)Zofficial sLcvr;s(I)Z
-
setHorseFlag
protected void setHorseFlag(int bitmask, boolean flag) - Mappings:
Namespace Name Mixin selector named setHorseFlagLnet/minecraft/entity/passive/AbstractHorseEntity;setHorseFlag(IZ)Vintermediary method_6769Lnet/minecraft/class_1496;method_6769(IZ)Vofficial dLcvr;d(IZ)V
-
isTame
public boolean isTame()- Mappings:
Namespace Name Mixin selector named isTameLnet/minecraft/entity/passive/AbstractHorseEntity;isTame()Zintermediary method_6727Lnet/minecraft/class_1496;method_6727()Zofficial hdLcvr;hd()Z
-
getOwnerReference
- Specified by:
getOwnerReferencein interfaceTameable- Mappings:
Namespace Name Mixin selector named getOwnerReferenceLnet/minecraft/entity/Tameable;getOwnerReference()Lnet/minecraft/entity/LazyEntityReference;intermediary method_66287Lnet/minecraft/class_6025;method_66287()Lnet/minecraft/class_10583;official dLchl;d()Lcgj;
-
setOwner
- Mappings:
Namespace Name Mixin selector named setOwnerLnet/minecraft/entity/passive/AbstractHorseEntity;setOwner(Lnet/minecraft/entity/LivingEntity;)Vintermediary method_66323Lnet/minecraft/class_1496;method_66323(Lnet/minecraft/class_1309;)Vofficial jLcvr;j(Lche;)V
-
setTame
public void setTame(boolean tame) - Mappings:
Namespace Name Mixin selector named setTameLnet/minecraft/entity/passive/AbstractHorseEntity;setTame(Z)Vintermediary method_6766Lnet/minecraft/class_1496;method_6766(Z)Vofficial yLcvr;y(Z)V
-
onLongLeashTick
public void onLongLeashTick()- Specified by:
onLongLeashTickin interfaceLeashable- Mappings:
Namespace Name Mixin selector named onLongLeashTickLnet/minecraft/entity/Leashable;onLongLeashTick()Vintermediary method_71006Lnet/minecraft/class_9817;method_71006()Vofficial zLchc;z()V
-
canUseQuadLeashAttachmentPoint
public boolean canUseQuadLeashAttachmentPoint()- Specified by:
canUseQuadLeashAttachmentPointin interfaceLeashable- Mappings:
Namespace Name Mixin selector named canUseQuadLeashAttachmentPointLnet/minecraft/entity/Leashable;canUseQuadLeashAttachmentPoint()Zintermediary method_70991Lnet/minecraft/class_9817;method_70991()Zofficial DLchc;D()Z
-
getQuadLeashOffsets
- Specified by:
getQuadLeashOffsetsin interfaceLeashable- Mappings:
Namespace Name Mixin selector named getQuadLeashOffsetsLnet/minecraft/entity/Leashable;getQuadLeashOffsets()[Lnet/minecraft/util/math/Vec3d;intermediary method_70992Lnet/minecraft/class_9817;method_70992()[Lnet/minecraft/class_243;official ELchc;E()[Lfrd;
-
isEatingGrass
public boolean isEatingGrass()- Mappings:
Namespace Name Mixin selector named isEatingGrassLnet/minecraft/entity/passive/AbstractHorseEntity;isEatingGrass()Zintermediary method_6724Lnet/minecraft/class_1496;method_6724()Zofficial hfLcvr;hf()Z
-
isAngry
public boolean isAngry()- Mappings:
Namespace Name Mixin selector named isAngryLnet/minecraft/entity/passive/AbstractHorseEntity;isAngry()Zintermediary method_6736Lnet/minecraft/class_1496;method_6736()Zofficial hgLcvr;hg()Z
-
isBred
public boolean isBred()- Mappings:
Namespace Name Mixin selector named isBredLnet/minecraft/entity/passive/AbstractHorseEntity;isBred()Zintermediary method_6744Lnet/minecraft/class_1496;method_6744()Zofficial hhLcvr;hh()Z
-
setBred
public void setBred(boolean bred) - Mappings:
Namespace Name Mixin selector named setBredLnet/minecraft/entity/passive/AbstractHorseEntity;setBred(Z)Vintermediary method_6751Lnet/minecraft/class_1496;method_6751(Z)Vofficial zLcvr;z(Z)V
-
canUseSlot
- Overrides:
canUseSlotin classLivingEntity- Mappings:
Namespace Name Mixin selector named canUseSlotLnet/minecraft/entity/LivingEntity;canUseSlot(Lnet/minecraft/entity/EquipmentSlot;)Zintermediary method_56991Lnet/minecraft/class_1309;method_56991(Lnet/minecraft/class_1304;)Zofficial eLche;e(Lcgn;)Z
-
equipHorseArmor
- Mappings:
Namespace Name Mixin selector named equipHorseArmorLnet/minecraft/entity/passive/AbstractHorseEntity;equipHorseArmor(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)Vintermediary method_45375Lnet/minecraft/class_1496;method_45375(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)Vofficial bLcvr;b(Ldcb;Ldkf;)V
-
canDispenserEquipSlot
- Overrides:
canDispenserEquipSlotin classMobEntity- Mappings:
Namespace Name Mixin selector named canDispenserEquipSlotLnet/minecraft/entity/LivingEntity;canDispenserEquipSlot(Lnet/minecraft/entity/EquipmentSlot;)Zintermediary method_63626Lnet/minecraft/class_1309;method_63626(Lnet/minecraft/class_1304;)Zofficial fLche;f(Lcgn;)Z
-
getTemper
public int getTemper()- Mappings:
Namespace Name Mixin selector named getTemperLnet/minecraft/entity/passive/AbstractHorseEntity;getTemper()Iintermediary method_6729Lnet/minecraft/class_1496;method_6729()Iofficial hiLcvr;hi()I
-
setTemper
public void setTemper(int temper) - Mappings:
Namespace Name Mixin selector named setTemperLnet/minecraft/entity/passive/AbstractHorseEntity;setTemper(I)Vintermediary method_6749Lnet/minecraft/class_1496;method_6749(I)Vofficial tLcvr;t(I)V
-
addTemper
public int addTemper(int difference) - Mappings:
Namespace Name Mixin selector named addTemperLnet/minecraft/entity/passive/AbstractHorseEntity;addTemper(I)Iintermediary method_6745Lnet/minecraft/class_1496;method_6745(I)Iofficial uLcvr;u(I)I
-
isPushable
public boolean isPushable()Returns whether the entity can be pushed by other entities.- Overrides:
isPushablein classLivingEntity- Returns:
- whether the entity can be pushed by other entities
- Mappings:
Namespace Name Mixin selector named isPushableLnet/minecraft/entity/Entity;isPushable()Zintermediary method_5810Lnet/minecraft/class_1297;method_5810()Zofficial bVLcgd;bV()Z
-
playEatingAnimation
private void playEatingAnimation()- Mappings:
Namespace Name Mixin selector named playEatingAnimationLnet/minecraft/entity/passive/AbstractHorseEntity;playEatingAnimation()Vintermediary method_6733Lnet/minecraft/class_1496;method_6733()Vofficial mLcvr;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:
handleFallDamagein classLivingEntity- Returns:
- whether to play the sound when falling on honey block;
falsefor all entities except horses and llamas - Mappings:
Namespace Name Mixin selector named handleFallDamageLnet/minecraft/entity/Entity;handleFallDamage(DFLnet/minecraft/entity/damage/DamageSource;)Zintermediary method_5747Lnet/minecraft/class_1297;method_5747(DFLnet/minecraft/class_1282;)Zofficial aLcgd;a(DFLceq;)Z
-
getInventorySize
public final int getInventorySize()- Mappings:
Namespace Name Mixin selector named getInventorySizeLnet/minecraft/entity/passive/AbstractHorseEntity;getInventorySize()Iintermediary method_6750Lnet/minecraft/class_1496;method_6750()Iofficial hjLcvr;hj()I
-
getInventorySize
public static int getInventorySize(int columns) - Mappings:
Namespace Name Mixin selector named getInventorySizeLnet/minecraft/entity/passive/AbstractHorseEntity;getInventorySize(I)Iintermediary method_60977Lnet/minecraft/class_1496;method_60977(I)Iofficial vLcvr;v(I)I
-
onChestedStatusChanged
protected void onChestedStatusChanged()- Mappings:
Namespace Name Mixin selector named onChestedStatusChangedLnet/minecraft/entity/passive/AbstractHorseEntity;onChestedStatusChanged()Vintermediary method_6721Lnet/minecraft/class_1496;method_6721()Vofficial hkLcvr;hk()V
-
getEquipSound
protected RegistryEntry<SoundEvent> getEquipSound(EquipmentSlot slot, ItemStack stack, EquippableComponent equippableComponent) - Overrides:
getEquipSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector named getEquipSoundLnet/minecraft/entity/LivingEntity;getEquipSound(Lnet/minecraft/entity/EquipmentSlot;Lnet/minecraft/item/ItemStack;Lnet/minecraft/component/type/EquippableComponent;)Lnet/minecraft/registry/entry/RegistryEntry;intermediary method_66667Lnet/minecraft/class_1309;method_66667(Lnet/minecraft/class_1304;Lnet/minecraft/class_1799;Lnet/minecraft/class_10192;)Lnet/minecraft/class_6880;official aLche;a(Lcgn;Ldkf;Ldsx;)Ljj;
-
damage
Applies a damage to this entity. The exact implementation differs between subclasses.LivingEntityhas 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
ItemEntityalso 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:
damagein classLivingEntity- Returns:
- whether the entity was actually damaged
- See Also:
- Mappings:
Namespace Name Mixin selector named damageLnet/minecraft/entity/Entity;damage(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/damage/DamageSource;F)Zintermediary method_64397Lnet/minecraft/class_1297;method_64397(Lnet/minecraft/class_3218;Lnet/minecraft/class_1282;F)Zofficial aLcgd;a(Laxl;Lceq;F)Z
-
shouldAmbientStand
protected boolean shouldAmbientStand()- Mappings:
Namespace Name Mixin selector named shouldAmbientStandLnet/minecraft/entity/passive/AbstractHorseEntity;shouldAmbientStand()Zintermediary method_45349Lnet/minecraft/class_1496;method_45349()Zofficial gNLcvr;gN()Z
-
getEatSound
- Mappings:
Namespace Name Mixin selector named getEatSoundLnet/minecraft/entity/passive/AbstractHorseEntity;getEatSound()Lnet/minecraft/sound/SoundEvent;intermediary method_28368Lnet/minecraft/class_1496;method_28368()Lnet/minecraft/class_3414;official gOLcvr;gO()Lbdd;
-
getAngrySound
- Mappings:
Namespace Name Mixin selector named getAngrySoundLnet/minecraft/entity/passive/AbstractHorseEntity;getAngrySound()Lnet/minecraft/sound/SoundEvent;intermediary method_6747Lnet/minecraft/class_1496;method_6747()Lnet/minecraft/class_3414;official hlLcvr;hl()Lbdd;
-
playStepSound
- Overrides:
playStepSoundin classEntity- Mappings:
Namespace Name Mixin selector named playStepSoundLnet/minecraft/entity/Entity;playStepSound(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Vintermediary method_5712Lnet/minecraft/class_1297;method_5712(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vofficial bLcgd;b(Liz;Lemh;)V
-
isWooden
- Mappings:
Namespace Name Mixin selector named isWoodenLnet/minecraft/entity/passive/AbstractHorseEntity;isWooden(Lnet/minecraft/sound/BlockSoundGroup;)Zintermediary method_49996Lnet/minecraft/class_1496;method_49996(Lnet/minecraft/class_2498;)Zofficial bLcvr;b(Lefs;)Z
-
playWalkSound
- Mappings:
Namespace Name Mixin selector named playWalkSoundLnet/minecraft/entity/passive/AbstractHorseEntity;playWalkSound(Lnet/minecraft/sound/BlockSoundGroup;)Vintermediary method_6761Lnet/minecraft/class_1496;method_6761(Lnet/minecraft/class_2498;)Vofficial aLcvr;a(Lefs;)V
-
createBaseHorseAttributes
- Mappings:
Namespace Name Mixin selector named createBaseHorseAttributesLnet/minecraft/entity/passive/AbstractHorseEntity;createBaseHorseAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;intermediary method_26899Lnet/minecraft/class_1496;method_26899()Lnet/minecraft/class_5132$class_5133;official hmLcvr;hm()Lcij$a;
-
getLimitPerChunk
public int getLimitPerChunk()- Overrides:
getLimitPerChunkin classMobEntity- Mappings:
Namespace Name Mixin selector named getLimitPerChunkLnet/minecraft/entity/mob/MobEntity;getLimitPerChunk()Iintermediary method_5945Lnet/minecraft/class_1308;method_5945()Iofficial alLchg;al()I
-
getMaxTemper
public int getMaxTemper()- Mappings:
Namespace Name Mixin selector named getMaxTemperLnet/minecraft/entity/passive/AbstractHorseEntity;getMaxTemper()Iintermediary method_6755Lnet/minecraft/class_1496;method_6755()Iofficial hnLcvr;hn()I
-
getSoundVolume
protected float getSoundVolume()- Overrides:
getSoundVolumein classLivingEntity- Mappings:
Namespace Name Mixin selector named getSoundVolumeLnet/minecraft/entity/LivingEntity;getSoundVolume()Fintermediary method_6107Lnet/minecraft/class_1309;method_6107()Fofficial fwLche;fw()F
-
getMinAmbientSoundDelay
public int getMinAmbientSoundDelay()- Overrides:
getMinAmbientSoundDelayin classAnimalEntity- Mappings:
Namespace Name Mixin selector named getMinAmbientSoundDelayLnet/minecraft/entity/mob/MobEntity;getMinAmbientSoundDelay()Iintermediary method_5970Lnet/minecraft/class_1308;method_5970()Iofficial WLchg;W()I
-
openInventory
- Specified by:
openInventoryin interfaceRideableInventory- Mappings:
Namespace Name Mixin selector named openInventoryLnet/minecraft/entity/RideableInventory;openInventory(Lnet/minecraft/entity/player/PlayerEntity;)Vintermediary method_6722Lnet/minecraft/class_7248;method_6722(Lnet/minecraft/class_1657;)Vofficial bLcgt;b(Ldcb;)V
-
interactHorse
- Mappings:
Namespace Name Mixin selector named interactHorseLnet/minecraft/entity/passive/AbstractHorseEntity;interactHorse(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)Lnet/minecraft/util/ActionResult;intermediary method_30009Lnet/minecraft/class_1496;method_30009(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)Lnet/minecraft/class_1269;official cLcvr;c(Ldcb;Ldkf;)Lccx;
-
receiveFood
- Mappings:
Namespace Name Mixin selector named receiveFoodLnet/minecraft/entity/passive/AbstractHorseEntity;receiveFood(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)Zintermediary method_6742Lnet/minecraft/class_1496;method_6742(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)Zofficial aLcvr;a(Ldcb;Ldkf;)Z
-
putPlayerOnBack
- Mappings:
Namespace Name Mixin selector named putPlayerOnBackLnet/minecraft/entity/passive/AbstractHorseEntity;putPlayerOnBack(Lnet/minecraft/entity/player/PlayerEntity;)Vintermediary method_6726Lnet/minecraft/class_1496;method_6726(Lnet/minecraft/class_1657;)Vofficial gLcvr;g(Ldcb;)V
-
isImmobile
public boolean isImmobile()- Overrides:
isImmobilein classLivingEntity- Mappings:
Namespace Name Mixin selector named isImmobileLnet/minecraft/entity/LivingEntity;isImmobile()Zintermediary method_6062Lnet/minecraft/class_1309;method_6062()Zofficial fyLche;fy()Z
-
isBreedingItem
- Specified by:
isBreedingItemin classAnimalEntity- Mappings:
Namespace Name Mixin selector named isBreedingItemLnet/minecraft/entity/passive/AnimalEntity;isBreedingItem(Lnet/minecraft/item/ItemStack;)Zintermediary method_6481Lnet/minecraft/class_1429;method_6481(Lnet/minecraft/class_1799;)Zofficial iLcta;i(Ldkf;)Z
-
wagTail
private void wagTail()- Mappings:
Namespace Name Mixin selector named wagTailLnet/minecraft/entity/passive/AbstractHorseEntity;wagTail()Vintermediary method_6759Lnet/minecraft/class_1496;method_6759()Vofficial nLcvr;n()V
-
dropInventory
- Overrides:
dropInventoryin classLivingEntity- Mappings:
Namespace Name Mixin selector named dropInventoryLnet/minecraft/entity/LivingEntity;dropInventory(Lnet/minecraft/server/world/ServerWorld;)Vintermediary method_16078Lnet/minecraft/class_1309;method_16078(Lnet/minecraft/class_3218;)Vofficial gLche;g(Laxl;)V
-
tickMovement
public void tickMovement()- Overrides:
tickMovementin classAnimalEntity- Mappings:
Namespace Name Mixin selector named tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()Vintermediary method_6007Lnet/minecraft/class_1309;method_6007()Vofficial d_Lche;d_()V
-
walkToParent
- Mappings:
Namespace Name Mixin selector named walkToParentLnet/minecraft/entity/passive/AbstractHorseEntity;walkToParent(Lnet/minecraft/server/world/ServerWorld;)Vintermediary method_6746Lnet/minecraft/class_1496;method_6746(Lnet/minecraft/class_3218;)Vofficial hLcvr;h(Laxl;)V
-
eatsGrass
public boolean eatsGrass()- Mappings:
Namespace Name Mixin selector named eatsGrassLnet/minecraft/entity/passive/AbstractHorseEntity;eatsGrass()Zintermediary method_6762Lnet/minecraft/class_1496;method_6762()Zofficial hoLcvr;ho()Z
-
tick
public void tick()Ticks this entity.- Overrides:
tickin 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 tickLnet/minecraft/entity/Entity;tick()Vintermediary method_5773Lnet/minecraft/class_1297;method_5773()Vofficial gLcgd;g()V
-
interactMob
- Overrides:
interactMobin classAnimalEntity- Mappings:
Namespace Name Mixin selector named interactMobLnet/minecraft/entity/mob/MobEntity;interactMob(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;intermediary method_5992Lnet/minecraft/class_1308;method_5992(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;official bLchg;b(Ldcb;Lccw;)Lccx;
-
setEating
private void setEating()- Mappings:
Namespace Name Mixin selector named setEatingLnet/minecraft/entity/passive/AbstractHorseEntity;setEating()Vintermediary method_6738Lnet/minecraft/class_1496;method_6738()Vofficial sLcvr;s()V
-
setEatingGrass
public void setEatingGrass(boolean eatingGrass) - Mappings:
Namespace Name Mixin selector named setEatingGrassLnet/minecraft/entity/passive/AbstractHorseEntity;setEatingGrass(Z)Vintermediary method_6740Lnet/minecraft/class_1496;method_6740(Z)Vofficial ALcvr;A(Z)V
-
setAngry
public void setAngry(int ticks) - Mappings:
Namespace Name Mixin selector named setAngryLnet/minecraft/entity/passive/AbstractHorseEntity;setAngry(I)Vintermediary method_6737Lnet/minecraft/class_1496;method_6737(I)Vofficial wLcvr;w(I)V
-
setNotAngry
public void setNotAngry()- Mappings:
Namespace Name Mixin selector named setNotAngryLnet/minecraft/entity/passive/AbstractHorseEntity;setNotAngry()Vintermediary method_71769Lnet/minecraft/class_1496;method_71769()Vofficial hpLcvr;hp()V
-
getAmbientStandSound
- Mappings:
Namespace Name Mixin selector named getAmbientStandSoundLnet/minecraft/entity/passive/AbstractHorseEntity;getAmbientStandSound()Lnet/minecraft/sound/SoundEvent;intermediary method_45376Lnet/minecraft/class_1496;method_45376()Lnet/minecraft/class_3414;official hqLcvr;hq()Lbdd;
-
updateAnger
public void updateAnger()- Mappings:
Namespace Name Mixin selector named updateAngerLnet/minecraft/entity/passive/AbstractHorseEntity;updateAnger()Vintermediary method_6748Lnet/minecraft/class_1496;method_6748()Vofficial hrLcvr;hr()V
-
playAngrySound
public void playAngrySound()- Mappings:
Namespace Name Mixin selector named playAngrySoundLnet/minecraft/entity/passive/AbstractHorseEntity;playAngrySound()Vintermediary method_6757Lnet/minecraft/class_1496;method_6757()Vofficial hsLcvr;hs()V
-
bondWithPlayer
- Mappings:
Namespace Name Mixin selector named bondWithPlayerLnet/minecraft/entity/passive/AbstractHorseEntity;bondWithPlayer(Lnet/minecraft/entity/player/PlayerEntity;)Zintermediary method_6752Lnet/minecraft/class_1496;method_6752(Lnet/minecraft/class_1657;)Zofficial iLcvr;i(Ldcb;)Z
-
tickControlled
- Overrides:
tickControlledin classLivingEntity- Mappings:
Namespace Name Mixin selector named tickControlledLnet/minecraft/entity/LivingEntity;tickControlled(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/Vec3d;)Vintermediary method_49481Lnet/minecraft/class_1309;method_49481(Lnet/minecraft/class_1657;Lnet/minecraft/class_243;)Vofficial aLche;a(Ldcb;Lfrd;)V
-
getControlledRotation
- Mappings:
Namespace Name Mixin selector named getControlledRotationLnet/minecraft/entity/passive/AbstractHorseEntity;getControlledRotation(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/util/math/Vec2f;intermediary method_49489Lnet/minecraft/class_1496;method_49489(Lnet/minecraft/class_1309;)Lnet/minecraft/class_241;official iLcvr;i(Lche;)Lfrc;
-
addPassenger
Addspassengeras a passenger. This should not be called normally; callEntity.startRiding(Entity)instead. (Note that the entity to pass and the entity to call are swapped in this case;entity.startRiding(vehicle)is the equivalent ofvehicle.addPassenger(entity).)- Overrides:
addPassengerin classEntity- Throws:
IllegalStateException- when the method is called directly- Mappings:
Namespace Name Mixin selector named addPassengerLnet/minecraft/entity/Entity;addPassenger(Lnet/minecraft/entity/Entity;)Vintermediary method_5627Lnet/minecraft/class_1297;method_5627(Lnet/minecraft/class_1297;)Vofficial qLcgd;q(Lcgd;)V
-
getControlledMovementInput
- Overrides:
getControlledMovementInputin classLivingEntity- Mappings:
Namespace Name Mixin selector named getControlledMovementInputLnet/minecraft/entity/LivingEntity;getControlledMovementInput(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;intermediary method_49482Lnet/minecraft/class_1309;method_49482(Lnet/minecraft/class_1657;Lnet/minecraft/class_243;)Lnet/minecraft/class_243;official bLche;b(Ldcb;Lfrd;)Lfrd;
-
getSaddledSpeed
- Overrides:
getSaddledSpeedin classLivingEntity- Mappings:
Namespace Name Mixin selector named getSaddledSpeedLnet/minecraft/entity/LivingEntity;getSaddledSpeed(Lnet/minecraft/entity/player/PlayerEntity;)Fintermediary method_49485Lnet/minecraft/class_1309;method_49485(Lnet/minecraft/class_1657;)Fofficial fLche;f(Ldcb;)F
-
jump
- Mappings:
Namespace Name Mixin selector named jumpLnet/minecraft/entity/passive/AbstractHorseEntity;jump(FLnet/minecraft/util/math/Vec3d;)Vintermediary method_45343Lnet/minecraft/class_1496;method_45343(FLnet/minecraft/class_243;)Vofficial bLcvr;b(FLfrd;)V
-
playJumpSound
protected void playJumpSound()- Mappings:
Namespace Name Mixin selector named playJumpSoundLnet/minecraft/entity/passive/AbstractHorseEntity;playJumpSound()Vintermediary method_6723Lnet/minecraft/class_1496;method_6723()Vofficial htLcvr;ht()V
-
writeCustomData
- Overrides:
writeCustomDatain classAnimalEntity- Mappings:
Namespace Name Mixin selector named writeCustomDataLnet/minecraft/entity/Entity;writeCustomData(Lnet/minecraft/storage/WriteView;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_11372;)Vofficial aLcgd;a(Lflm;)V
-
readCustomData
- Overrides:
readCustomDatain classAnimalEntity- Mappings:
Namespace Name Mixin selector named readCustomDataLnet/minecraft/entity/Entity;readCustomData(Lnet/minecraft/storage/ReadView;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_11368;)Vofficial aLcgd;a(Lflk;)V
-
canBreedWith
- Overrides:
canBreedWithin classAnimalEntity- Mappings:
Namespace Name Mixin selector named canBreedWithLnet/minecraft/entity/passive/AnimalEntity;canBreedWith(Lnet/minecraft/entity/passive/AnimalEntity;)Zintermediary method_6474Lnet/minecraft/class_1429;method_6474(Lnet/minecraft/class_1429;)Zofficial aLcta;a(Lcta;)Z
-
canBreed
protected boolean canBreed()- Mappings:
Namespace Name Mixin selector named canBreedLnet/minecraft/entity/passive/AbstractHorseEntity;canBreed()Zintermediary method_6734Lnet/minecraft/class_1496;method_6734()Zofficial huLcvr;hu()Z
-
isControlledByMob
public boolean isControlledByMob()- Mappings:
Namespace Name Mixin selector named isControlledByMobLnet/minecraft/entity/passive/AbstractHorseEntity;isControlledByMob()Zintermediary method_75147Lnet/minecraft/class_1496;method_75147()Zofficial hvLcvr;hv()Z
-
createChild
- Specified by:
createChildin classPassiveEntity- Mappings:
Namespace Name Mixin selector named createChildLnet/minecraft/entity/passive/PassiveEntity;createChild(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/PassiveEntity;intermediary method_5613Lnet/minecraft/class_1296;method_5613(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_1296;official aLcfr;a(Laxl;Lcfr;)Lcfr;
-
setChildAttributes
- Mappings:
Namespace Name Mixin selector named setChildAttributesLnet/minecraft/entity/passive/AbstractHorseEntity;setChildAttributes(Lnet/minecraft/entity/passive/PassiveEntity;Lnet/minecraft/entity/passive/AbstractHorseEntity;)Vintermediary method_6743Lnet/minecraft/class_1496;method_6743(Lnet/minecraft/class_1296;Lnet/minecraft/class_1496;)Vofficial aLcvr;a(Lcfr;Lcvr;)V
-
setChildAttribute
private void setChildAttribute(PassiveEntity other, AbstractHorseEntity child, RegistryEntry<EntityAttribute> attribute, double min, double max) - Mappings:
Namespace Name Mixin selector named setChildAttributeLnet/minecraft/entity/passive/AbstractHorseEntity;setChildAttribute(Lnet/minecraft/entity/passive/PassiveEntity;Lnet/minecraft/entity/passive/AbstractHorseEntity;Lnet/minecraft/registry/entry/RegistryEntry;DD)Vintermediary method_49124Lnet/minecraft/class_1496;method_49124(Lnet/minecraft/class_1296;Lnet/minecraft/class_1496;Lnet/minecraft/class_6880;DD)Vofficial aLcvr;a(Lcfr;Lcvr;Ljj;DD)V
-
calculateAttributeBaseValue
static double calculateAttributeBaseValue(double parentBase, double otherParentBase, double min, double max, Random random) - Mappings:
Namespace Name Mixin selector named calculateAttributeBaseValueLnet/minecraft/entity/passive/AbstractHorseEntity;calculateAttributeBaseValue(DDDDLnet/minecraft/util/math/random/Random;)Dintermediary method_49123Lnet/minecraft/class_1496;method_49123(DDDDLnet/minecraft/class_5819;)Dofficial aLcvr;a(DDDDLbgq;)D
-
getEatingGrassAnimationProgress
public float getEatingGrassAnimationProgress(float tickProgress) - Mappings:
Namespace Name Mixin selector named getEatingGrassAnimationProgressLnet/minecraft/entity/passive/AbstractHorseEntity;getEatingGrassAnimationProgress(F)Fintermediary method_6739Lnet/minecraft/class_1496;method_6739(F)Fofficial KLcvr;K(F)F
-
getAngryAnimationProgress
public float getAngryAnimationProgress(float tickProgress) - Mappings:
Namespace Name Mixin selector named getAngryAnimationProgressLnet/minecraft/entity/passive/AbstractHorseEntity;getAngryAnimationProgress(F)Fintermediary method_6767Lnet/minecraft/class_1496;method_6767(F)Fofficial LLcvr;L(F)F
-
getEatingAnimationProgress
public float getEatingAnimationProgress(float tickProgress) - Mappings:
Namespace Name Mixin selector named getEatingAnimationProgressLnet/minecraft/entity/passive/AbstractHorseEntity;getEatingAnimationProgress(F)Fintermediary method_6772Lnet/minecraft/class_1496;method_6772(F)Fofficial MLcvr;M(F)F
-
setJumpStrength
public void setJumpStrength(int strength) - Specified by:
setJumpStrengthin interfaceJumpingMount- Mappings:
Namespace Name Mixin selector named setJumpStrengthLnet/minecraft/entity/JumpingMount;setJumpStrength(I)Vintermediary method_6154Lnet/minecraft/class_1316;method_6154(I)Vofficial bLcho;b(I)V
-
canJump
public boolean canJump()- Specified by:
canJumpin interfaceJumpingMount- Mappings:
Namespace Name Mixin selector named canJumpLnet/minecraft/entity/JumpingMount;canJump()Zintermediary method_6153Lnet/minecraft/class_1316;method_6153()Zofficial aLcho;a()Z
-
startJumping
public void startJumping(int height) - Specified by:
startJumpingin interfaceJumpingMount- Mappings:
Namespace Name Mixin selector named startJumpingLnet/minecraft/entity/JumpingMount;startJumping(I)Vintermediary method_6155Lnet/minecraft/class_1316;method_6155(I)Vofficial cLcho;c(I)V
-
stopJumping
public void stopJumping()- Specified by:
stopJumpingin interfaceJumpingMount- Mappings:
Namespace Name Mixin selector named stopJumpingLnet/minecraft/entity/JumpingMount;stopJumping()Vintermediary method_6156Lnet/minecraft/class_1316;method_6156()Vofficial bLcho;b()V
-
spawnPlayerReactionParticles
protected void spawnPlayerReactionParticles(boolean positive) - Mappings:
Namespace Name Mixin selector named spawnPlayerReactionParticlesLnet/minecraft/entity/passive/AbstractHorseEntity;spawnPlayerReactionParticles(Z)Vintermediary method_6760Lnet/minecraft/class_1496;method_6760(Z)Vofficial BLcvr;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:
handleStatusin classAnimalEntity- See Also:
- API Note:
- To send an entity status, use
World.sendEntityStatus(net.minecraft.entity.Entity, byte). - Mappings:
Namespace Name Mixin selector named handleStatusLnet/minecraft/entity/Entity;handleStatus(B)Vintermediary method_5711Lnet/minecraft/class_1297;method_5711(B)Vofficial bLcgd;b(B)V
-
updatePassengerPosition
- Overrides:
updatePassengerPositionin classEntity- Mappings:
Namespace Name Mixin selector named updatePassengerPositionLnet/minecraft/entity/Entity;updatePassengerPosition(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity$PositionUpdater;)Vintermediary method_5865Lnet/minecraft/class_1297;method_5865(Lnet/minecraft/class_1297;Lnet/minecraft/class_1297$class_4738;)Vofficial aLcgd;a(Lcgd;Lcgd$b;)V
-
getChildHealthBonus
- Mappings:
Namespace Name Mixin selector named getChildHealthBonusLnet/minecraft/entity/passive/AbstractHorseEntity;getChildHealthBonus(Ljava/util/function/IntUnaryOperator;)Fintermediary method_6754Lnet/minecraft/class_1496;method_6754(Ljava/util/function/IntUnaryOperator;)Fofficial aLcvr;a(Ljava/util/function/IntUnaryOperator;)F
-
getChildJumpStrengthBonus
- Mappings:
Namespace Name Mixin selector named getChildJumpStrengthBonusLnet/minecraft/entity/passive/AbstractHorseEntity;getChildJumpStrengthBonus(Ljava/util/function/DoubleSupplier;)Dintermediary method_6774Lnet/minecraft/class_1496;method_6774(Ljava/util/function/DoubleSupplier;)Dofficial aLcvr;a(Ljava/util/function/DoubleSupplier;)D
-
getChildMovementSpeedBonus
- Mappings:
Namespace Name Mixin selector named getChildMovementSpeedBonusLnet/minecraft/entity/passive/AbstractHorseEntity;getChildMovementSpeedBonus(Ljava/util/function/DoubleSupplier;)Dintermediary method_6728Lnet/minecraft/class_1496;method_6728(Ljava/util/function/DoubleSupplier;)Dofficial bLcvr;b(Ljava/util/function/DoubleSupplier;)D
-
isClimbing
public boolean isClimbing()- Overrides:
isClimbingin classLivingEntity- Mappings:
Namespace Name Mixin selector named isClimbingLnet/minecraft/entity/LivingEntity;isClimbing()Zintermediary method_6101Lnet/minecraft/class_1309;method_6101()Zofficial fhLche;fh()Z
-
getStackReference
Obtains a stack reference to be modified. Used by commands like/lootor/item.- Overrides:
getStackReferencein classLivingEntity- Parameters:
mappedIndex- the mapped index as given by the item slot argument- See Also:
- Mappings:
Namespace Name Mixin selector named getStackReferenceLnet/minecraft/entity/Entity;getStackReference(I)Lnet/minecraft/inventory/StackReference;intermediary method_32318Lnet/minecraft/class_1297;method_32318(I)Lnet/minecraft/class_5630;official a_Lcgd;a_(I)Lchv;
-
getControllingPassenger
Returns the passenger in control of this entity, ornullif there is none.Rideable entities should override this to return the entity. This is usually
#getFirstPassenger.- Overrides:
getControllingPassengerin classMobEntity- Returns:
- the passenger in control of this entity, or
nullif there is none - See Also:
- Mappings:
Namespace Name Mixin selector named getControllingPassengerLnet/minecraft/entity/Entity;getControllingPassenger()Lnet/minecraft/entity/LivingEntity;intermediary method_5642Lnet/minecraft/class_1297;method_5642()Lnet/minecraft/class_1309;official diLcgd;di()Lche;
-
locateSafeDismountingPos
- Mappings:
Namespace Name Mixin selector named locateSafeDismountingPosLnet/minecraft/entity/passive/AbstractHorseEntity;locateSafeDismountingPos(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/util/math/Vec3d;intermediary method_27930Lnet/minecraft/class_1496;method_27930(Lnet/minecraft/class_243;Lnet/minecraft/class_1309;)Lnet/minecraft/class_243;official aLcvr;a(Lfrd;Lche;)Lfrd;
-
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:
updatePassengerForDismountin classEntity- Returns:
- the position of the dismounted
passenger - See Also:
- Mappings:
Namespace Name Mixin selector named updatePassengerForDismountLnet/minecraft/entity/Entity;updatePassengerForDismount(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/util/math/Vec3d;intermediary method_24829Lnet/minecraft/class_1297;method_24829(Lnet/minecraft/class_1309;)Lnet/minecraft/class_243;official bLcgd;b(Lche;)Lfrd;
-
initAttributes
- Mappings:
Namespace Name Mixin selector named initAttributesLnet/minecraft/entity/passive/AbstractHorseEntity;initAttributes(Lnet/minecraft/util/math/random/Random;)Vintermediary method_6001Lnet/minecraft/class_1496;method_6001(Lnet/minecraft/class_5819;)Vofficial aLcvr;a(Lbgq;)V
-
initialize
@Nullable public @Nullable EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable @Nullable EntityData entityData) - Overrides:
initializein classPassiveEntity- Mappings:
Namespace Name Mixin selector named initializeLnet/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_5943Lnet/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 aLchg;a(Ldvf;Lccv;Lcgl;Lchw;)Lchw;
-
areInventoriesDifferent
- Mappings:
Namespace Name Mixin selector named areInventoriesDifferentLnet/minecraft/entity/passive/AbstractHorseEntity;areInventoriesDifferent(Lnet/minecraft/inventory/Inventory;)Zintermediary method_33338Lnet/minecraft/class_1496;method_33338(Lnet/minecraft/class_1263;)Zofficial aLcvr;a(Lccq;)Z
-
getMinAmbientStandDelay
public int getMinAmbientStandDelay()- Mappings:
Namespace Name Mixin selector named getMinAmbientStandDelayLnet/minecraft/entity/passive/AbstractHorseEntity;getMinAmbientStandDelay()Iintermediary method_45377Lnet/minecraft/class_1496;method_45377()Iofficial hwLcvr;hw()I
-
getPassengerAttachmentPos
protected Vec3d getPassengerAttachmentPos(Entity passenger, EntityDimensions dimensions, float scaleFactor) - Overrides:
getPassengerAttachmentPosin classEntity- Mappings:
Namespace Name Mixin selector named getPassengerAttachmentPosLnet/minecraft/entity/Entity;getPassengerAttachmentPos(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/EntityDimensions;F)Lnet/minecraft/util/math/Vec3d;intermediary method_52533Lnet/minecraft/class_1297;method_52533(Lnet/minecraft/class_1297;Lnet/minecraft/class_4048;F)Lnet/minecraft/class_243;official aLcgd;a(Lcgd;Lcgg;F)Lfrd;
-
getInventoryColumns
public int getInventoryColumns()- Mappings:
Namespace Name Mixin selector named getInventoryColumnsLnet/minecraft/entity/passive/AbstractHorseEntity;getInventoryColumns()Iintermediary method_6702Lnet/minecraft/class_1496;method_6702()Iofficial ae_Lcvr;ae_()I
-