Class AbstractHorseEntity
- All Implemented Interfaces:
Attackable,DataTracked,JumpingMount,Mount,RideableInventory,Saddleable,Tameable,Targeter,InventoryChangedListener,ScoreHolder,CommandOutput,Nameable,EntityLike
- Direct Known Subclasses:
AbstractDonkeyEntity,CamelEntity,HorseEntity,SkeletonHorseEntity,ZombieHorseEntity
- Mappings:
Namespace Name official cdgintermediary net/minecraft/class_1496named net/minecraft/entity/passive/AbstractHorseEntity
-
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.RemovalReason -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate floatprivate intprivate static final intprivate static final Ingredientprivate static final intprivate static final intprivate floatprivate floatprivate intprivate intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final doubleprivate static final floatprivate static final floatintprivate static final TrackedData<Byte> protected booleanprivate final Inventoryprivate static final Predicate<LivingEntity> protected SimpleInventoryprotected booleanprotected floatprivate floatprivate floatprivate floatprivate static final floatprivate static final floatprivate static final floatprivate static final floatprivate static final floatprivate static final floatprivate static final TargetPredicateprotected booleanprivate static final intprotected 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, forcedAge, happyTicksRemainingFields inherited from class net.minecraft.entity.mob.PathAwareEntity
DEFAULT_PATHFINDING_FAVORFields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, BASE_ENCHANTED_ARMOR_CHANCE, BASE_ENCHANTED_MAIN_HAND_EQUIPMENT_CHANCE, BASE_SPAWN_EQUIPMENT_CHANCE, bodyArmorDropChance, DEFAULT_CAN_PICKUP_LOOT_CHANCE, DEFAULT_DROP_CHANCE, experiencePoints, field_35039, field_38932, goalSelector, handDropChances, jumpControl, LEASH_KEY, lookControl, MINIMUM_DROPPED_XP_PER_EQUIPMENT, moveControl, navigation, targetSelectorFields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, attackingPlayer, BABY_SCALE_FACTOR, bodyTrackingIncrements, bodyYaw, brain, dead, DEATH_TICKS, deathTime, defaultMaxHealth, despawnCounter, EQUIPMENT_SLOT_ID, field_30063, field_30069, field_30070, field_30072, field_30074, field_30075, field_44874, field_47756, field_47757, field_48827, field_6215, forwardSpeed, GLOWING_FLAG, GRAVITY, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, hurtTime, itemUseTimeLeft, lastAttackedTicks, lastDamageTaken, lastHandSwingProgress, limbAnimator, LIVING_FLAGS, lookDirection, maxHurtTime, OFF_HAND_ACTIVE_FLAG, playerHitTimer, preferredHand, prevBodyYaw, prevHeadYaw, prevLookDirection, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, riptideTicks, roll, scoreAmount, serverHeadYaw, serverPitch, serverX, serverY, serverYaw, serverZ, sidewaysSpeed, SLEEPING_DIMENSIONS, stepBobbingAmount, stuckArrowTimer, stuckStingerTimer, upwardSpeed, USING_ITEM_FLAG, USING_RIPTIDE_FLAGFields inherited from class net.minecraft.entity.Entity
age, collidedSoftly, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, FALL_FLYING_FLAG_INDEX, fallDistance, field_44870, field_44871, field_44872, field_49073, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLOWING_FLAG_INDEX, groundCollision, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inNetherPortal, inPowderSnow, intersectionChecked, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, MAX_COMMAND_TAGS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, netherPortalTime, noClip, ON_FIRE_FLAG_INDEX, PASSENGERS_KEY, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, submergedInWater, supportingBlockPos, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFireFields inherited from interface net.minecraft.server.command.CommandOutput
DUMMYFields inherited from interface net.minecraft.scoreboard.ScoreHolder
WILDCARD, WILDCARD_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractHorseEntity(EntityType<? extends AbstractHorseEntity> type, World world) -
Method Summary
Modifier and TypeMethodDescriptionintaddTemper(int difference) booleanareInventoriesDifferent(Inventory inventory) booleanbondWithPlayer(PlayerEntity player) (package private) static doublecalculateAttributeBaseValue(double parentBase, double otherParentBase, double min, double max, Random random) booleanprotected booleancanBreed()booleancanBreedWith(AnimalEntity other) booleancanJump()protected intcomputeFallDamage(float fallDistance, float damageMultiplier) createChild(ServerWorld world, PassiveEntity entity) booleandamage(DamageSource source, float amount) Applies a damage to this entity.protected voidbooleanvoidequipHorseArmor(PlayerEntity player, ItemStack stack) floatgetAngryAnimationProgress(float tickDelta) 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 tickDelta) floatgetEatingGrassAnimationProgress(float tickDelta) protected @Nullable SoundEventprotected booleangetHorseFlag(int bitmask) final Inventoryprotected intintintintintprotected Vec3dgetPassengerAttachmentPos(Entity passenger, EntityDimensions dimensions, float scaleFactor) protected floatgetSaddledSpeed(PlayerEntity controllingPlayer) protected floatgetStackReference(int mappedIndex) Obtains a stack reference to be modified.intbooleanhandleFallDamage(float fallDistance, float damageMultiplier, 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) booleanbooleanbooleanbooleanisInAir()booleanReturns whether the entity can be pushed by other entities.booleanbooleanisTame()private booleanisWooden(BlockSoundGroup soundGroup) protected voidlocateSafeDismountingPos(Vec3d offset, LivingEntity passenger) protected voidvoidonInventoryChanged(Inventory sender) voidopenInventory(PlayerEntity player) voidprivate voidprotected voidprotected voidplayStepSound(BlockPos pos, BlockState state) protected voidplayWalkSound(BlockSoundGroup group) protected voidputPlayerOnBack(PlayerEntity player) voidReads custom data fromnbt.protected booleanreceiveFood(PlayerEntity player, ItemStack item) voidsaddle(@Nullable SoundCategory sound) voidsetAngry(boolean angry) 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) voidsetInAir(boolean inAir) voidsetJumpStrength(int strength) voidsetOwnerUuid(@Nullable UUID ownerUuid) voidsetTame(boolean tame) voidsetTemper(int temper) protected booleanprotected voidspawnPlayerReactionParticles(boolean positive) voidstartJumping(int height) voidvoidtick()Ticks this entity.protected voidtickControlled(PlayerEntity controllingPlayer, Vec3d movementInput) voidvoidprotected voidupdateForLeashLength(float leashLength) updatePassengerForDismount(LivingEntity passenger) Returns the position of the dismountedpassenger.protected voidupdatePassengerPosition(Entity passenger, Entity.PositionUpdater positionUpdater) protected voidprivate voidwagTail()protected voidvoidWrites custom data tonbt.Methods inherited from class net.minecraft.entity.passive.AnimalEntity
breed, breed, canEat, canImmediatelyDespawn, eat, getLoveTicks, getLovingPlayer, getPathfindingFavor, getXpToDrop, isInLove, isLightLevelValidForNaturalSpawn, isValidNaturalSpawn, lovePlayer, mobTick, resetLoveTicks, setLoveTicksMethods inherited from class net.minecraft.entity.passive.PassiveEntity
getBreedingAge, growUp, growUp, isBaby, isReadyToBreed, onGrowUp, onTrackedDataSet, setBaby, setBreedingAge, toGrowUpAgeMethods inherited from class net.minecraft.entity.mob.PathAwareEntity
canSpawn, getFollowLeashSpeed, getPathfindingFavor, isNavigating, isPanicking, shouldFollowLeash, updateLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canBeLeashedBy, canEquip, canGather, canMobSpawn, canMoveVoluntarily, cannotDespawn, canPickupItem, canPickUpLoot, canSpawn, canTarget, canUseRangedWeapon, canUseSlot, checkDespawn, clampHeadYaw, clearGoals, clearGoalsAndTasks, clearPositionTarget, convertTo, createBodyControl, createMobAttributes, createNavigation, detachLeash, dropEquipment, dropLoot, enchantEquipment, enchantMainHandItem, equipBodyArmor, equipLootStack, equipStack, getAllArmorItems, getAmbientSound, getArmorItems, getAttackBox, getBodyArmor, getDropChance, getEquipmentForSlot, getEquippedStack, getHandItems, getHoldingEntity, getItemPickUpRangeExpander, getJumpControl, getLookControl, getLootTable, getLootTableId, getLootTableSeed, getMainArm, getMaxHeadRotation, getMaxLookPitchChange, getMaxLookYawChange, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getSafeFallDistance, getTarget, getVisibilityCache, hasArmorSlot, hasPositionTarget, initEquipment, interact, isAffectedByDaylight, isAiDisabled, isAttacking, isDisallowedInPeaceful, isHorseArmor, isInAttackRange, isInWalkTargetRange, isInWalkTargetRange, isLeashed, isLeftHanded, isPersistent, isWearingBodyArmor, lookAtEntity, loot, movesIndependently, onEatingGrass, onFinishPathfinding, onPlayerSpawnedChild, onStartPathfinding, playAmbientSound, playHurtSound, playSpawnEffects, prefersNewDamageableItem, prefersNewEquipment, removeFromDimension, sendAiDebugData, setAiDisabled, setAttacking, setCanPickUpLoot, setEquipmentDropChance, setForwardSpeed, setHoldingEntityId, setLeftHanded, setMovementSpeed, setPathfindingPenalty, setPersistent, setPositionTarget, setSidewaysSpeed, setTarget, setUpwardSpeed, spawnsTooManyForEachTry, startRiding, stopMovement, swimUpward, tickNewAi, tryAttack, tryEquip, turnHead, updateDropChances, updateEnchantments, updateGoalControlsMethods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, addStatusEffect, animateDamage, applyArmorToDamage, applyDamage, applyFluidMovingSpeed, applyMovementEffects, applyMovementInput, areItemsDifferent, attackLivingEntity, blockedByShield, canBreatheInWater, canFreeze, canHaveStatusEffect, canHit, canSee, canTakeDamage, canTarget, canUsePortals, canWalkOnFluid, clampScale, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, damageArmor, damageHelmet, damageShield, deserializeBrain, disableExperienceDropping, disablesShield, displaySoulSpeedEffects, drop, dropXp, eatFood, endCombat, enterCombat, fall, getAbsorptionAmount, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseDimensions, getBaseMovementSpeedMultiplier, getBodyYaw, getBoundingBox, getBrain, getClimbingPos, getDamageTiltYaw, getDamageTracker, getDeathSound, getDespawnCounter, getDimensions, getDrinkSound, getEatSound, getEquippedItems, getFallSounds, getGravity, getHandSwingProgress, getHeadYaw, getHealth, getHitbox, getHurtSound, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, getJumpVelocity, getJumpVelocity, getLastAttackedTime, getLastAttacker, getLastAttackTime, getLeaningPitch, getLerpTargetPitch, getLerpTargetX, getLerpTargetY, getLerpTargetYaw, getLerpTargetZ, getMainHandStack, getMaxAbsorption, getMaxHealth, getMaxRelativeHeadRotation, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffGroundSpeed, getOffHandStack, getPassengerRidingPos, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getProjectileType, getRandom, getRecentDamageSource, getRoll, getSafeFallDistance, getScale, getScaleFactor, getSleepingDirection, getSleepingPosition, getSlotForHand, getSoundPitch, getStackInHand, getStatusEffect, getStatusEffects, getStepHeight, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getVisibilityBoundingBox, getYaw, hasInvertedHealingAndHarm, hasNoDrag, hasStackEquipped, hasStatusEffect, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isArmorSlot, isBlocking, isDead, isExperienceDroppingDisabled, isFallFlying, isGlowing, isHolding, isHolding, isHoldingOntoLadder, isInCreativeMode, isInsideWall, isInSwimmingPose, isMobOrPlayer, isOnSoulSpeedBlock, isPartOfGame, isSleeping, isTarget, isUsingItem, isUsingRiptide, jump, kill, knockback, knockDownwards, lerpHeadYaw, lookAt, markEffectsDirty, modifyAppliedDamage, onAttacking, onDamaged, onDeath, onEquipStack, onKilledBy, onSpawnPacket, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, playBlockFallSound, playSound, positionInPortal, positionInPortal, processEquippedStack, pushAway, pushAwayFrom, remove, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, removeStatusEffectInternal, sendEffectToControllingPlayer, sendEquipmentBreakStatus, sendPickup, setAbsorptionAmount, setAbsorptionAmountUnclamped, setAttacker, setAttacking, setBodyYaw, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setNearbySongPlaying, setNoDrag, setOnFireForTicks, setSleepingPosition, setSprinting, setStackInHand, setStatusEffect, setStingerCount, setStuckArrowCount, shouldAlwaysDropXp, shouldDisplaySoulSpeedEffects, shouldDropLoot, shouldDropXp, shouldRemoveSoulSpeedBoost, shouldRenderName, shouldSwimInFluids, sleep, spawnConsumptionEffects, stopRiding, stopUsingItem, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickCramming, tickHandSwing, tickInVoid, tickItemStackUsage, tickRiding, tickRiptide, tickStatusEffects, tiltScreen, travel, triggerItemPickedUpByEntityCriteria, updateLimbs, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wakeUp, wouldNotSuffocateInPoseMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addVelocity, addVelocity, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyDamageEffects, applyGravity, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeHitByProjectile, canBeSpectated, canExplosionDestroyBlock, canModifyAt, canSprintAsVehicle, canStartRiding, changeLookDirection, checkBlockCollision, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, extinguishWithSound, getAir, getAttachments, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCommandTags, getControllingVehicle, getCustomName, getDamageSources, getDataTracker, getDefaultName, getDefaultPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFinalGravity, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeight, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashOffset, getLeashOffset, getLeashPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMoveEffect, getMovementDirection, getName, getNameForScoreboard, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerAttachmentPos, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPitch, getPlayerPassengers, getPortalCooldown, getPortalRect, getPos, getPose, getPosWithYOffset, getProjectileDeflector, getRandomBodyY, getRegistryManager, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSwimSound, getSyncedPos, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVehicleAttachmentPos, getVelocity, getVelocityAffectingPos, getWidth, getWorld, getX, getY, getYaw, getZ, handleAttack, hasCollidedSoftly, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPermissionLevel, hasPlayerRider, hasPortalCooldown, hasVehicle, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, isFrozen, isGlowingLocal, isImmuneToExplosion, isInFluid, isInLava, isInPose, isInRange, isInRange, isInsideWaterOrBubbleColumn, isInSneakingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isOnRail, isPartOf, isPlayer, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSupportedBy, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, lerpPosAndRotation, limitFallDistance, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDataTrackerUpdate, onExplodedBy, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSound, playSoundIfNotSilent, playSwimSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, removeAllPassengers, removeCommandTag, removePassenger, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetPortalCooldown, resetPosition, saveNbt, saveSelfNbt, scheduleVelocityUpdate, sendMessage, setAir, setBoundingBox, setChangeListener, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setId, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setOnGround, setOnGround, setPitch, setPortalCooldown, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setWorld, setYaw, shouldBroadcastConsoleToOps, shouldControlVehicles, shouldDismountUnderwater, shouldEscapePowderSnow, shouldReceiveFeedback, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleport, tickPortal, tickPortalCooldown, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSupportingBlockPos, updateSwimming, updateTrackedPosition, updateVelocity, updateWaterState, writeNbtMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.server.command.CommandOutput
cannotBeSilencedMethods inherited from interface net.minecraft.entity.JumpingMount
getJumpCooldownMethods inherited from interface net.minecraft.entity.Saddleable
getSaddleSoundMethods inherited from interface net.minecraft.scoreboard.ScoreHolder
getStyledDisplayNameMethods inherited from interface net.minecraft.entity.Tameable
getOwner, method_48926
-
Field Details
-
field_30413
public static final int field_30413- See Also:
- Mappings:
Namespace Name Mixin selector official cjLcdg;cj:Iintermediary field_30413Lnet/minecraft/class_1496;field_30413:Inamed field_30413Lnet/minecraft/entity/passive/AbstractHorseEntity;field_30413:I
-
field_30414
public static final int field_30414- See Also:
- Mappings:
Namespace Name Mixin selector official ckLcdg;ck:Iintermediary field_30414Lnet/minecraft/class_1496;field_30414:Inamed field_30414Lnet/minecraft/entity/passive/AbstractHorseEntity;field_30414:I
-
field_30415
public static final int field_30415- See Also:
- Mappings:
Namespace Name Mixin selector official clLcdg;cl:Iintermediary field_30415Lnet/minecraft/class_1496;field_30415:Inamed field_30415Lnet/minecraft/entity/passive/AbstractHorseEntity;field_30415:I
-
field_42647
public static final double field_42647- See Also:
- Mappings:
Namespace Name Mixin selector official cmLcdg;cm:Dintermediary field_42647Lnet/minecraft/class_1496;field_42647:Dnamed field_42647Lnet/minecraft/entity/passive/AbstractHorseEntity;field_42647:D
-
MIN_MOVEMENT_SPEED_BONUS
private static final float MIN_MOVEMENT_SPEED_BONUS- Mappings:
Namespace Name Mixin selector official bXLcdg;bX:Fintermediary field_42641Lnet/minecraft/class_1496;field_42641:Fnamed MIN_MOVEMENT_SPEED_BONUSLnet/minecraft/entity/passive/AbstractHorseEntity;MIN_MOVEMENT_SPEED_BONUS:F
-
MAX_MOVEMENT_SPEED_BONUS
private static final float MAX_MOVEMENT_SPEED_BONUS- Mappings:
Namespace Name Mixin selector official bYLcdg;bY:Fintermediary field_42642Lnet/minecraft/class_1496;field_42642:Fnamed MAX_MOVEMENT_SPEED_BONUSLnet/minecraft/entity/passive/AbstractHorseEntity;MAX_MOVEMENT_SPEED_BONUS:F
-
MIN_JUMP_STRENGTH_BONUS
private static final float MIN_JUMP_STRENGTH_BONUS- Mappings:
Namespace Name Mixin selector official caLcdg;ca:Fintermediary field_42643Lnet/minecraft/class_1496;field_42643:Fnamed MIN_JUMP_STRENGTH_BONUSLnet/minecraft/entity/passive/AbstractHorseEntity;MIN_JUMP_STRENGTH_BONUS:F
-
MAX_JUMP_STRENGTH_BONUS
private static final float MAX_JUMP_STRENGTH_BONUS- Mappings:
Namespace Name Mixin selector official cbLcdg;cb:Fintermediary field_42644Lnet/minecraft/class_1496;field_42644:Fnamed MAX_JUMP_STRENGTH_BONUSLnet/minecraft/entity/passive/AbstractHorseEntity;MAX_JUMP_STRENGTH_BONUS:F
-
MIN_HEALTH_BONUS
private static final float MIN_HEALTH_BONUS- Mappings:
Namespace Name Mixin selector official ccLcdg;cc:Fintermediary field_42645Lnet/minecraft/class_1496;field_42645:Fnamed MIN_HEALTH_BONUSLnet/minecraft/entity/passive/AbstractHorseEntity;MIN_HEALTH_BONUS:F
-
MAX_HEALTH_BONUS
private static final float MAX_HEALTH_BONUS- Mappings:
Namespace Name Mixin selector official cdLcdg;cd:Fintermediary field_42646Lnet/minecraft/class_1496;field_42646:Fnamed MAX_HEALTH_BONUSLnet/minecraft/entity/passive/AbstractHorseEntity;MAX_HEALTH_BONUS:F
-
field_42979
private static final float field_42979- See Also:
- Mappings:
Namespace Name Mixin selector official ceLcdg;ce:Fintermediary field_42979Lnet/minecraft/class_1496;field_42979:Fnamed field_42979Lnet/minecraft/entity/passive/AbstractHorseEntity;field_42979:F
-
field_42980
private static final float field_42980- See Also:
- Mappings:
Namespace Name Mixin selector official cfLcdg;cf:Fintermediary field_42980Lnet/minecraft/class_1496;field_42980:Fnamed field_42980Lnet/minecraft/entity/passive/AbstractHorseEntity;field_42980:F
-
IS_BRED_HORSE
- Mappings:
Namespace Name Mixin selector official cgLcdg;cg:Ljava/util/function/Predicate;intermediary field_6956Lnet/minecraft/class_1496;field_6956:Ljava/util/function/Predicate;named IS_BRED_HORSELnet/minecraft/entity/passive/AbstractHorseEntity;IS_BRED_HORSE:Ljava/util/function/Predicate;
-
PARENT_HORSE_PREDICATE
- Mappings:
Namespace Name Mixin selector official chLcdg;ch:Lcaf;intermediary field_18118Lnet/minecraft/class_1496;field_18118:Lnet/minecraft/class_4051;named PARENT_HORSE_PREDICATELnet/minecraft/entity/passive/AbstractHorseEntity;PARENT_HORSE_PREDICATE:Lnet/minecraft/entity/ai/TargetPredicate;
-
BREEDING_INGREDIENT
- Mappings:
Namespace Name Mixin selector official ciLcdg;ci:Lctm;intermediary field_25374Lnet/minecraft/class_1496;field_25374:Lnet/minecraft/class_1856;named BREEDING_INGREDIENTLnet/minecraft/entity/passive/AbstractHorseEntity;BREEDING_INGREDIENT:Lnet/minecraft/recipe/Ingredient;
-
HORSE_FLAGS
- Mappings:
Namespace Name Mixin selector official czLcdg;cz:Laim;intermediary field_6959Lnet/minecraft/class_1496;field_6959:Lnet/minecraft/class_2940;named HORSE_FLAGSLnet/minecraft/entity/passive/AbstractHorseEntity;HORSE_FLAGS:Lnet/minecraft/entity/data/TrackedData;
-
TAMED_FLAG
private static final int TAMED_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official cALcdg;cA:Iintermediary field_30419Lnet/minecraft/class_1496;field_30419:Inamed TAMED_FLAGLnet/minecraft/entity/passive/AbstractHorseEntity;TAMED_FLAG:I
-
SADDLED_FLAG
private static final int SADDLED_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official cBLcdg;cB:Iintermediary field_30420Lnet/minecraft/class_1496;field_30420:Inamed SADDLED_FLAGLnet/minecraft/entity/passive/AbstractHorseEntity;SADDLED_FLAG:I
-
BRED_FLAG
private static final int BRED_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official cCLcdg;cC:Iintermediary field_30421Lnet/minecraft/class_1496;field_30421:Inamed BRED_FLAGLnet/minecraft/entity/passive/AbstractHorseEntity;BRED_FLAG:I
-
EATING_GRASS_FLAG
private static final int EATING_GRASS_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official cDLcdg;cD:Iintermediary field_30422Lnet/minecraft/class_1496;field_30422:Inamed EATING_GRASS_FLAGLnet/minecraft/entity/passive/AbstractHorseEntity;EATING_GRASS_FLAG:I
-
ANGRY_FLAG
private static final int ANGRY_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official cELcdg;cE:Iintermediary field_30423Lnet/minecraft/class_1496;field_30423:Inamed ANGRY_FLAGLnet/minecraft/entity/passive/AbstractHorseEntity;ANGRY_FLAG:I
-
EATING_FLAG
private static final int EATING_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official cFLcdg;cF:Iintermediary field_30424Lnet/minecraft/class_1496;field_30424:Inamed EATING_FLAGLnet/minecraft/entity/passive/AbstractHorseEntity;EATING_FLAG:I
-
field_30416
public static final int field_30416- See Also:
- Mappings:
Namespace Name Mixin selector official cnLcdg;cn:Iintermediary field_30416Lnet/minecraft/class_1496;field_30416:Inamed field_30416Lnet/minecraft/entity/passive/AbstractHorseEntity;field_30416:I
-
field_30418
public static final int field_30418- See Also:
- Mappings:
Namespace Name Mixin selector official coLcdg;co:Iintermediary field_30418Lnet/minecraft/class_1496;field_30418:Inamed field_30418Lnet/minecraft/entity/passive/AbstractHorseEntity;field_30418:I
-
eatingGrassTicks
private int eatingGrassTicks- Mappings:
Namespace Name Mixin selector official cGLcdg;cG:Iintermediary field_6971Lnet/minecraft/class_1496;field_6971:Inamed eatingGrassTicksLnet/minecraft/entity/passive/AbstractHorseEntity;eatingGrassTicks:I
-
eatingTicks
private int eatingTicks- Mappings:
Namespace Name Mixin selector official cHLcdg;cH:Iintermediary field_6973Lnet/minecraft/class_1496;field_6973:Inamed eatingTicksLnet/minecraft/entity/passive/AbstractHorseEntity;eatingTicks:I
-
angryTicks
private int angryTicks- Mappings:
Namespace Name Mixin selector official cILcdg;cI:Iintermediary field_6970Lnet/minecraft/class_1496;field_6970:Inamed angryTicksLnet/minecraft/entity/passive/AbstractHorseEntity;angryTicks:I
-
tailWagTicks
public int tailWagTicks- Mappings:
Namespace Name Mixin selector official cpLcdg;cp:Iintermediary field_6957Lnet/minecraft/class_1496;field_6957:Inamed tailWagTicksLnet/minecraft/entity/passive/AbstractHorseEntity;tailWagTicks:I
-
field_6958
public int field_6958- Mappings:
Namespace Name Mixin selector official cqLcdg;cq:Iintermediary field_6958Lnet/minecraft/class_1496;field_6958:Inamed field_6958Lnet/minecraft/entity/passive/AbstractHorseEntity;field_6958:I
-
inAir
protected boolean inAir- Mappings:
Namespace Name Mixin selector official crLcdg;cr:Zintermediary field_6968Lnet/minecraft/class_1496;field_6968:Znamed inAirLnet/minecraft/entity/passive/AbstractHorseEntity;inAir:Z
-
items
- Mappings:
Namespace Name Mixin selector official csLcdg;cs:Lbnm;intermediary field_6962Lnet/minecraft/class_1496;field_6962:Lnet/minecraft/class_1277;named itemsLnet/minecraft/entity/passive/AbstractHorseEntity;items:Lnet/minecraft/inventory/SimpleInventory;
-
temper
protected int temper- Mappings:
Namespace Name Mixin selector official ctLcdg;ct:Iintermediary field_6955Lnet/minecraft/class_1496;field_6955:Inamed temperLnet/minecraft/entity/passive/AbstractHorseEntity;temper:I
-
jumpStrength
protected float jumpStrength- Mappings:
Namespace Name Mixin selector official cuLcdg;cu:Fintermediary field_6976Lnet/minecraft/class_1496;field_6976:Fnamed jumpStrengthLnet/minecraft/entity/passive/AbstractHorseEntity;jumpStrength:F
-
jumping
protected boolean jumping- Mappings:
Namespace Name Mixin selector official cvLcdg;cv:Zintermediary field_6960Lnet/minecraft/class_1496;field_6960:Znamed jumpingLnet/minecraft/entity/passive/AbstractHorseEntity;jumping:Z
-
eatingGrassAnimationProgress
private float eatingGrassAnimationProgress- Mappings:
Namespace Name Mixin selector official cJLcdg;cJ:Fintermediary field_6969Lnet/minecraft/class_1496;field_6969:Fnamed eatingGrassAnimationProgressLnet/minecraft/entity/passive/AbstractHorseEntity;eatingGrassAnimationProgress:F
-
lastEatingGrassAnimationProgress
private float lastEatingGrassAnimationProgress- Mappings:
Namespace Name Mixin selector official cKLcdg;cK:Fintermediary field_6966Lnet/minecraft/class_1496;field_6966:Fnamed lastEatingGrassAnimationProgressLnet/minecraft/entity/passive/AbstractHorseEntity;lastEatingGrassAnimationProgress:F
-
angryAnimationProgress
private float angryAnimationProgress- Mappings:
Namespace Name Mixin selector official cLLcdg;cL:Fintermediary field_6967Lnet/minecraft/class_1496;field_6967:Fnamed angryAnimationProgressLnet/minecraft/entity/passive/AbstractHorseEntity;angryAnimationProgress:F
-
lastAngryAnimationProgress
private float lastAngryAnimationProgress- Mappings:
Namespace Name Mixin selector official cMLcdg;cM:Fintermediary field_6963Lnet/minecraft/class_1496;field_6963:Fnamed lastAngryAnimationProgressLnet/minecraft/entity/passive/AbstractHorseEntity;lastAngryAnimationProgress:F
-
eatingAnimationProgress
private float eatingAnimationProgress- Mappings:
Namespace Name Mixin selector official cNLcdg;cN:Fintermediary field_6965Lnet/minecraft/class_1496;field_6965:Fnamed eatingAnimationProgressLnet/minecraft/entity/passive/AbstractHorseEntity;eatingAnimationProgress:F
-
lastEatingAnimationProgress
private float lastEatingAnimationProgress- Mappings:
Namespace Name Mixin selector official cOLcdg;cO:Fintermediary field_6961Lnet/minecraft/class_1496;field_6961:Fnamed lastEatingAnimationProgressLnet/minecraft/entity/passive/AbstractHorseEntity;lastEatingAnimationProgress:F
-
playExtraHorseSounds
protected boolean playExtraHorseSounds- Mappings:
Namespace Name Mixin selector official cwLcdg;cw:Zintermediary field_6964Lnet/minecraft/class_1496;field_6964:Znamed playExtraHorseSoundsLnet/minecraft/entity/passive/AbstractHorseEntity;playExtraHorseSounds:Z
-
soundTicks
protected int soundTicks- Mappings:
Namespace Name Mixin selector official cxLcdg;cx:Iintermediary field_6975Lnet/minecraft/class_1496;field_6975:Inamed soundTicksLnet/minecraft/entity/passive/AbstractHorseEntity;soundTicks:I
-
ownerUuid
- Mappings:
Namespace Name Mixin selector official cPLcdg;cP:Ljava/util/UUID;intermediary field_42462Lnet/minecraft/class_1496;field_42462:Ljava/util/UUID;named ownerUuidLnet/minecraft/entity/passive/AbstractHorseEntity;ownerUuid:Ljava/util/UUID;
-
inventory
- Mappings:
Namespace Name Mixin selector official cQLcdg;cQ:Lbmw;intermediary field_48830Lnet/minecraft/class_1496;field_48830:Lnet/minecraft/class_1263;named inventoryLnet/minecraft/entity/passive/AbstractHorseEntity;inventory:Lnet/minecraft/inventory/Inventory;
-
-
Constructor Details
-
AbstractHorseEntity
- Mappings:
Namespace Name Mixin selector official <init>Lbox;<init>(Lbpd;Lcxb;)Vintermediary <init>Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
-
-
Method Details
-
initGoals
protected void initGoals() -
initCustomGoals
protected void initCustomGoals()- Mappings:
Namespace Name Mixin selector official gDLcdg;gD()Vintermediary method_6764Lnet/minecraft/class_1496;method_6764()Vnamed initCustomGoalsLnet/minecraft/entity/passive/AbstractHorseEntity;initCustomGoals()V
-
initDataTracker
Initializes data tracker.- Overrides:
initDataTrackerin classPassiveEntity- Mappings:
Namespace Name Mixin selector official aLbox;a(Laiq$a;)Vintermediary method_5693Lnet/minecraft/class_1297;method_5693(Lnet/minecraft/class_2945$class_9222;)Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker(Lnet/minecraft/entity/data/DataTracker$Builder;)V
-
getHorseFlag
protected boolean getHorseFlag(int bitmask) - Mappings:
Namespace Name Mixin selector official uLcdg;u(I)Zintermediary method_6730Lnet/minecraft/class_1496;method_6730(I)Znamed getHorseFlagLnet/minecraft/entity/passive/AbstractHorseEntity;getHorseFlag(I)Z
-
setHorseFlag
protected void setHorseFlag(int bitmask, boolean flag) - Mappings:
Namespace Name Mixin selector official dLcdg;d(IZ)Vintermediary method_6769Lnet/minecraft/class_1496;method_6769(IZ)Vnamed setHorseFlagLnet/minecraft/entity/passive/AbstractHorseEntity;setHorseFlag(IZ)V
-
isTame
public boolean isTame()- Mappings:
Namespace Name Mixin selector official gCLcdg;gC()Zintermediary method_6727Lnet/minecraft/class_1496;method_6727()Znamed isTameLnet/minecraft/entity/passive/AbstractHorseEntity;isTame()Z
-
getOwnerUuid
- Specified by:
getOwnerUuidin interfaceTameable- Mappings:
Namespace Name Mixin selector official dLbpw;d()Ljava/util/UUID;intermediary method_6139Lnet/minecraft/class_6025;method_6139()Ljava/util/UUID;named getOwnerUuidLnet/minecraft/entity/Tameable;getOwnerUuid()Ljava/util/UUID;
-
setOwnerUuid
- Mappings:
Namespace Name Mixin selector official bLcdg;b(Ljava/util/UUID;)Vintermediary method_6732Lnet/minecraft/class_1496;method_6732(Ljava/util/UUID;)Vnamed setOwnerUuidLnet/minecraft/entity/passive/AbstractHorseEntity;setOwnerUuid(Ljava/util/UUID;)V
-
isInAir
public boolean isInAir()- Mappings:
Namespace Name Mixin selector official gELcdg;gE()Zintermediary method_6763Lnet/minecraft/class_1496;method_6763()Znamed isInAirLnet/minecraft/entity/passive/AbstractHorseEntity;isInAir()Z
-
setTame
public void setTame(boolean tame) - Mappings:
Namespace Name Mixin selector official xLcdg;x(Z)Vintermediary method_6766Lnet/minecraft/class_1496;method_6766(Z)Vnamed setTameLnet/minecraft/entity/passive/AbstractHorseEntity;setTame(Z)V
-
setInAir
public void setInAir(boolean inAir) - Mappings:
Namespace Name Mixin selector official yLcdg;y(Z)Vintermediary method_6758Lnet/minecraft/class_1496;method_6758(Z)Vnamed setInAirLnet/minecraft/entity/passive/AbstractHorseEntity;setInAir(Z)V
-
updateForLeashLength
protected void updateForLeashLength(float leashLength) - Overrides:
updateForLeashLengthin classPathAwareEntity- Mappings:
Namespace Name Mixin selector official FLbpx;F(F)Vintermediary method_6142Lnet/minecraft/class_1314;method_6142(F)Vnamed updateForLeashLengthLnet/minecraft/entity/mob/PathAwareEntity;updateForLeashLength(F)V
-
isEatingGrass
public boolean isEatingGrass()- Mappings:
Namespace Name Mixin selector official gFLcdg;gF()Zintermediary method_6724Lnet/minecraft/class_1496;method_6724()Znamed isEatingGrassLnet/minecraft/entity/passive/AbstractHorseEntity;isEatingGrass()Z
-
isAngry
public boolean isAngry()- Mappings:
Namespace Name Mixin selector official gGLcdg;gG()Zintermediary method_6736Lnet/minecraft/class_1496;method_6736()Znamed isAngryLnet/minecraft/entity/passive/AbstractHorseEntity;isAngry()Z
-
isBred
public boolean isBred()- Mappings:
Namespace Name Mixin selector official gHLcdg;gH()Zintermediary method_6744Lnet/minecraft/class_1496;method_6744()Znamed isBredLnet/minecraft/entity/passive/AbstractHorseEntity;isBred()Z
-
setBred
public void setBred(boolean bred) - Mappings:
Namespace Name Mixin selector official zLcdg;z(Z)Vintermediary method_6751Lnet/minecraft/class_1496;method_6751(Z)Vnamed setBredLnet/minecraft/entity/passive/AbstractHorseEntity;setBred(Z)V
-
canBeSaddled
public boolean canBeSaddled()- Specified by:
canBeSaddledin interfaceSaddleable- Mappings:
Namespace Name Mixin selector official fLbqe;f()Zintermediary method_6765Lnet/minecraft/class_5146;method_6765()Znamed canBeSaddledLnet/minecraft/entity/Saddleable;canBeSaddled()Z
-
saddle
- Specified by:
saddlein interfaceSaddleable- Mappings:
Namespace Name Mixin selector official aLbqe;a(Latz;)Vintermediary method_6576Lnet/minecraft/class_5146;method_6576(Lnet/minecraft/class_3419;)Vnamed saddleLnet/minecraft/entity/Saddleable;saddle(Lnet/minecraft/sound/SoundCategory;)V
-
equipHorseArmor
- Mappings:
Namespace Name Mixin selector official bLcdg;b(Lciu;Lcqm;)Vintermediary method_45375Lnet/minecraft/class_1496;method_45375(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)Vnamed equipHorseArmorLnet/minecraft/entity/passive/AbstractHorseEntity;equipHorseArmor(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)V
-
isSaddled
public boolean isSaddled()- Specified by:
isSaddledin interfaceSaddleable- Mappings:
Namespace Name Mixin selector official iLbqe;i()Zintermediary method_6725Lnet/minecraft/class_5146;method_6725()Znamed isSaddledLnet/minecraft/entity/Saddleable;isSaddled()Z
-
getTemper
public int getTemper()- Mappings:
Namespace Name Mixin selector official gILcdg;gI()Iintermediary method_6729Lnet/minecraft/class_1496;method_6729()Inamed getTemperLnet/minecraft/entity/passive/AbstractHorseEntity;getTemper()I
-
setTemper
public void setTemper(int temper) - Mappings:
Namespace Name Mixin selector official vLcdg;v(I)Vintermediary method_6749Lnet/minecraft/class_1496;method_6749(I)Vnamed setTemperLnet/minecraft/entity/passive/AbstractHorseEntity;setTemper(I)V
-
addTemper
public int addTemper(int difference) - Mappings:
Namespace Name Mixin selector official wLcdg;w(I)Iintermediary method_6745Lnet/minecraft/class_1496;method_6745(I)Inamed addTemperLnet/minecraft/entity/passive/AbstractHorseEntity;addTemper(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 official bxLbox;bx()Zintermediary method_5810Lnet/minecraft/class_1297;method_5810()Znamed isPushableLnet/minecraft/entity/Entity;isPushable()Z
-
playEatingAnimation
private void playEatingAnimation()- Mappings:
Namespace Name Mixin selector official rLcdg;r()Vintermediary method_6733Lnet/minecraft/class_1496;method_6733()Vnamed playEatingAnimationLnet/minecraft/entity/passive/AbstractHorseEntity;playEatingAnimation()V
-
handleFallDamage
public boolean handleFallDamage(float fallDistance, float damageMultiplier, 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 official aLbox;a(FFLbnw;)Zintermediary method_5747Lnet/minecraft/class_1297;method_5747(FFLnet/minecraft/class_1282;)Znamed handleFallDamageLnet/minecraft/entity/Entity;handleFallDamage(FFLnet/minecraft/entity/damage/DamageSource;)Z
-
computeFallDamage
protected int computeFallDamage(float fallDistance, float damageMultiplier) - Overrides:
computeFallDamagein classLivingEntity- Mappings:
Namespace Name Mixin selector official dLbpp;d(FF)Iintermediary method_23329Lnet/minecraft/class_1309;method_23329(FF)Inamed computeFallDamageLnet/minecraft/entity/LivingEntity;computeFallDamage(FF)I
-
getInventorySize
protected int getInventorySize()- Mappings:
Namespace Name Mixin selector official aa_Lcdg;aa_()Iintermediary method_6750Lnet/minecraft/class_1496;method_6750()Inamed getInventorySizeLnet/minecraft/entity/passive/AbstractHorseEntity;getInventorySize()I
-
onChestedStatusChanged
protected void onChestedStatusChanged()- Mappings:
Namespace Name Mixin selector official gJLcdg;gJ()Vintermediary method_6721Lnet/minecraft/class_1496;method_6721()Vnamed onChestedStatusChangedLnet/minecraft/entity/passive/AbstractHorseEntity;onChestedStatusChanged()V
-
updateSaddledFlag
protected void updateSaddledFlag()- Mappings:
Namespace Name Mixin selector official gKLcdg;gK()Vintermediary method_56679Lnet/minecraft/class_1496;method_56679()Vnamed updateSaddledFlagLnet/minecraft/entity/passive/AbstractHorseEntity;updateSaddledFlag()V
-
onInventoryChanged
- Specified by:
onInventoryChangedin interfaceInventoryChangedListener- Mappings:
Namespace Name Mixin selector official aLbmy;a(Lbmw;)Vintermediary method_5453Lnet/minecraft/class_1265;method_5453(Lnet/minecraft/class_1263;)Vnamed onInventoryChangedLnet/minecraft/inventory/InventoryChangedListener;onInventoryChanged(Lnet/minecraft/inventory/Inventory;)V
-
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
Entity.isInvulnerableTo(net.minecraft.entity.damage.DamageSource)and return early.- Overrides:
damagein classAnimalEntity- Returns:
- whether the entity was actually damaged
- See Also:
- Mappings:
Namespace Name Mixin selector official aLbox;a(Lbnw;F)Zintermediary method_5643Lnet/minecraft/class_1297;method_5643(Lnet/minecraft/class_1282;F)Znamed damageLnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
-
shouldAmbientStand
protected boolean shouldAmbientStand()- Mappings:
Namespace Name Mixin selector official gtLcdg;gt()Zintermediary method_45349Lnet/minecraft/class_1496;method_45349()Znamed shouldAmbientStandLnet/minecraft/entity/passive/AbstractHorseEntity;shouldAmbientStand()Z
-
getEatSound
- Mappings:
Namespace Name Mixin selector official guLcdg;gu()Latx;intermediary method_28368Lnet/minecraft/class_1496;method_28368()Lnet/minecraft/class_3414;named getEatSoundLnet/minecraft/entity/passive/AbstractHorseEntity;getEatSound()Lnet/minecraft/sound/SoundEvent;
-
getAngrySound
- Mappings:
Namespace Name Mixin selector official gLLcdg;gL()Latx;intermediary method_6747Lnet/minecraft/class_1496;method_6747()Lnet/minecraft/class_3414;named getAngrySoundLnet/minecraft/entity/passive/AbstractHorseEntity;getAngrySound()Lnet/minecraft/sound/SoundEvent;
-
playStepSound
- Overrides:
playStepSoundin classEntity- Mappings:
Namespace Name Mixin selector official bLbox;b(Lib;Ldnb;)Vintermediary method_5712Lnet/minecraft/class_1297;method_5712(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vnamed playStepSoundLnet/minecraft/entity/Entity;playStepSound(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
isWooden
- Mappings:
Namespace Name Mixin selector official bLcdg;b(Ldho;)Zintermediary method_49996Lnet/minecraft/class_1496;method_49996(Lnet/minecraft/class_2498;)Znamed isWoodenLnet/minecraft/entity/passive/AbstractHorseEntity;isWooden(Lnet/minecraft/sound/BlockSoundGroup;)Z
-
playWalkSound
- Mappings:
Namespace Name Mixin selector official aLcdg;a(Ldho;)Vintermediary method_6761Lnet/minecraft/class_1496;method_6761(Lnet/minecraft/class_2498;)Vnamed playWalkSoundLnet/minecraft/entity/passive/AbstractHorseEntity;playWalkSound(Lnet/minecraft/sound/BlockSoundGroup;)V
-
createBaseHorseAttributes
- Mappings:
Namespace Name Mixin selector official gMLcdg;gM()Lbqv$a;intermediary method_26899Lnet/minecraft/class_1496;method_26899()Lnet/minecraft/class_5132$class_5133;named createBaseHorseAttributesLnet/minecraft/entity/passive/AbstractHorseEntity;createBaseHorseAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
-
getLimitPerChunk
public int getLimitPerChunk()- Overrides:
getLimitPerChunkin classMobEntity- Mappings:
Namespace Name Mixin selector official fOLbpr;fO()Iintermediary method_5945Lnet/minecraft/class_1308;method_5945()Inamed getLimitPerChunkLnet/minecraft/entity/mob/MobEntity;getLimitPerChunk()I
-
getMaxTemper
public int getMaxTemper()- Mappings:
Namespace Name Mixin selector official gNLcdg;gN()Iintermediary method_6755Lnet/minecraft/class_1496;method_6755()Inamed getMaxTemperLnet/minecraft/entity/passive/AbstractHorseEntity;getMaxTemper()I
-
getSoundVolume
protected float getSoundVolume()- Overrides:
getSoundVolumein classLivingEntity- Mappings:
Namespace Name Mixin selector official fbLbpp;fb()Fintermediary method_6107Lnet/minecraft/class_1309;method_6107()Fnamed getSoundVolumeLnet/minecraft/entity/LivingEntity;getSoundVolume()F
-
getMinAmbientSoundDelay
public int getMinAmbientSoundDelay()- Overrides:
getMinAmbientSoundDelayin classAnimalEntity- Mappings:
Namespace Name Mixin selector official OLbpr;O()Iintermediary method_5970Lnet/minecraft/class_1308;method_5970()Inamed getMinAmbientSoundDelayLnet/minecraft/entity/mob/MobEntity;getMinAmbientSoundDelay()I
-
openInventory
- Specified by:
openInventoryin interfaceRideableInventory- Mappings:
Namespace Name Mixin selector official bLbpi;b(Lciu;)Vintermediary method_6722Lnet/minecraft/class_7248;method_6722(Lnet/minecraft/class_1657;)Vnamed openInventoryLnet/minecraft/entity/RideableInventory;openInventory(Lnet/minecraft/entity/player/PlayerEntity;)V
-
interactHorse
- Mappings:
Namespace Name Mixin selector official cLcdg;c(Lciu;Lcqm;)Lbnd;intermediary method_30009Lnet/minecraft/class_1496;method_30009(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)Lnet/minecraft/class_1269;named interactHorseLnet/minecraft/entity/passive/AbstractHorseEntity;interactHorse(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)Lnet/minecraft/util/ActionResult;
-
receiveFood
- Mappings:
Namespace Name Mixin selector official aLcdg;a(Lciu;Lcqm;)Zintermediary method_6742Lnet/minecraft/class_1496;method_6742(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)Znamed receiveFoodLnet/minecraft/entity/passive/AbstractHorseEntity;receiveFood(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)Z
-
putPlayerOnBack
- Mappings:
Namespace Name Mixin selector official fLcdg;f(Lciu;)Vintermediary method_6726Lnet/minecraft/class_1496;method_6726(Lnet/minecraft/class_1657;)Vnamed putPlayerOnBackLnet/minecraft/entity/passive/AbstractHorseEntity;putPlayerOnBack(Lnet/minecraft/entity/player/PlayerEntity;)V
-
isImmobile
public boolean isImmobile()- Overrides:
isImmobilein classLivingEntity- Mappings:
Namespace Name Mixin selector official fdLbpp;fd()Zintermediary method_6062Lnet/minecraft/class_1309;method_6062()Znamed isImmobileLnet/minecraft/entity/LivingEntity;isImmobile()Z
-
isBreedingItem
- Overrides:
isBreedingItemin classAnimalEntity- Mappings:
Namespace Name Mixin selector official oLcbe;o(Lcqm;)Zintermediary method_6481Lnet/minecraft/class_1429;method_6481(Lnet/minecraft/class_1799;)Znamed isBreedingItemLnet/minecraft/entity/passive/AnimalEntity;isBreedingItem(Lnet/minecraft/item/ItemStack;)Z
-
wagTail
private void wagTail()- Mappings:
Namespace Name Mixin selector official sLcdg;s()Vintermediary method_6759Lnet/minecraft/class_1496;method_6759()Vnamed wagTailLnet/minecraft/entity/passive/AbstractHorseEntity;wagTail()V
-
dropInventory
protected void dropInventory()- Overrides:
dropInventoryin classLivingEntity- Mappings:
Namespace Name Mixin selector official eALbpp;eA()Vintermediary method_16078Lnet/minecraft/class_1309;method_16078()Vnamed dropInventoryLnet/minecraft/entity/LivingEntity;dropInventory()V
-
tickMovement
public void tickMovement()- Overrides:
tickMovementin classAnimalEntity- Mappings:
Namespace Name Mixin selector official m_Lbpp;m_()Vintermediary method_6007Lnet/minecraft/class_1309;method_6007()Vnamed tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()V
-
walkToParent
protected void walkToParent()- Mappings:
Namespace Name Mixin selector official gOLcdg;gO()Vintermediary method_6746Lnet/minecraft/class_1496;method_6746()Vnamed walkToParentLnet/minecraft/entity/passive/AbstractHorseEntity;walkToParent()V
-
eatsGrass
public boolean eatsGrass()- Mappings:
Namespace Name Mixin selector official gPLcdg;gP()Zintermediary method_6762Lnet/minecraft/class_1496;method_6762()Znamed eatsGrassLnet/minecraft/entity/passive/AbstractHorseEntity;eatsGrass()Z
-
tick
public void tick()Ticks this entity. -
interactMob
- Overrides:
interactMobin classAnimalEntity- Mappings:
Namespace Name Mixin selector official bLbpr;b(Lciu;Lbnc;)Lbnd;intermediary method_5992Lnet/minecraft/class_1308;method_5992(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;named interactMobLnet/minecraft/entity/mob/MobEntity;interactMob(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
-
setEating
private void setEating()- Mappings:
Namespace Name Mixin selector official gnLcdg;gn()Vintermediary method_6738Lnet/minecraft/class_1496;method_6738()Vnamed setEatingLnet/minecraft/entity/passive/AbstractHorseEntity;setEating()V
-
setEatingGrass
public void setEatingGrass(boolean eatingGrass) - Mappings:
Namespace Name Mixin selector official ALcdg;A(Z)Vintermediary method_6740Lnet/minecraft/class_1496;method_6740(Z)Vnamed setEatingGrassLnet/minecraft/entity/passive/AbstractHorseEntity;setEatingGrass(Z)V
-
setAngry
public void setAngry(boolean angry) - Mappings:
Namespace Name Mixin selector official BLcdg;B(Z)Vintermediary method_6737Lnet/minecraft/class_1496;method_6737(Z)Vnamed setAngryLnet/minecraft/entity/passive/AbstractHorseEntity;setAngry(Z)V
-
getAmbientStandSound
- Mappings:
Namespace Name Mixin selector official gQLcdg;gQ()Latx;intermediary method_45376Lnet/minecraft/class_1496;method_45376()Lnet/minecraft/class_3414;named getAmbientStandSoundLnet/minecraft/entity/passive/AbstractHorseEntity;getAmbientStandSound()Lnet/minecraft/sound/SoundEvent;
-
updateAnger
public void updateAnger()- Mappings:
Namespace Name Mixin selector official gRLcdg;gR()Vintermediary method_6748Lnet/minecraft/class_1496;method_6748()Vnamed updateAngerLnet/minecraft/entity/passive/AbstractHorseEntity;updateAnger()V
-
playAngrySound
public void playAngrySound()- Mappings:
Namespace Name Mixin selector official gSLcdg;gS()Vintermediary method_6757Lnet/minecraft/class_1496;method_6757()Vnamed playAngrySoundLnet/minecraft/entity/passive/AbstractHorseEntity;playAngrySound()V
-
bondWithPlayer
- Mappings:
Namespace Name Mixin selector official hLcdg;h(Lciu;)Zintermediary method_6752Lnet/minecraft/class_1496;method_6752(Lnet/minecraft/class_1657;)Znamed bondWithPlayerLnet/minecraft/entity/passive/AbstractHorseEntity;bondWithPlayer(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
tickControlled
- Overrides:
tickControlledin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLbpp;a(Lciu;Lept;)Vintermediary method_49481Lnet/minecraft/class_1309;method_49481(Lnet/minecraft/class_1657;Lnet/minecraft/class_243;)Vnamed tickControlledLnet/minecraft/entity/LivingEntity;tickControlled(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/Vec3d;)V
-
getControlledRotation
- Mappings:
Namespace Name Mixin selector official jLcdg;j(Lbpp;)Leps;intermediary method_49489Lnet/minecraft/class_1496;method_49489(Lnet/minecraft/class_1309;)Lnet/minecraft/class_241;named getControlledRotationLnet/minecraft/entity/passive/AbstractHorseEntity;getControlledRotation(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/util/math/Vec2f;
-
getControlledMovementInput
- Overrides:
getControlledMovementInputin classLivingEntity- Mappings:
Namespace Name Mixin selector official bLbpp;b(Lciu;Lept;)Lept;intermediary method_49482Lnet/minecraft/class_1309;method_49482(Lnet/minecraft/class_1657;Lnet/minecraft/class_243;)Lnet/minecraft/class_243;named getControlledMovementInputLnet/minecraft/entity/LivingEntity;getControlledMovementInput(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;
-
getSaddledSpeed
- Overrides:
getSaddledSpeedin classLivingEntity- Mappings:
Namespace Name Mixin selector official eLbpp;e(Lciu;)Fintermediary method_49485Lnet/minecraft/class_1309;method_49485(Lnet/minecraft/class_1657;)Fnamed getSaddledSpeedLnet/minecraft/entity/LivingEntity;getSaddledSpeed(Lnet/minecraft/entity/player/PlayerEntity;)F
-
jump
- Mappings:
Namespace Name Mixin selector official bLcdg;b(FLept;)Vintermediary method_45343Lnet/minecraft/class_1496;method_45343(FLnet/minecraft/class_243;)Vnamed jumpLnet/minecraft/entity/passive/AbstractHorseEntity;jump(FLnet/minecraft/util/math/Vec3d;)V
-
playJumpSound
protected void playJumpSound()- Mappings:
Namespace Name Mixin selector official gTLcdg;gT()Vintermediary method_6723Lnet/minecraft/class_1496;method_6723()Vnamed playJumpSoundLnet/minecraft/entity/passive/AbstractHorseEntity;playJumpSound()V
-
writeCustomDataToNbt
Writes custom data tonbt. Subclasses have to implement this.NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.
- Overrides:
writeCustomDataToNbtin classAnimalEntity- See Also:
- Mappings:
Namespace Name Mixin selector official bLbox;b(Lta;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
Reads custom data fromnbt. Subclasses have to implement this.NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.
nbtmight not have all expected keys, or might have a key whose value does not meet the requirement (such as the type or the range). This method should fall back to a reasonable default value instead of throwing an exception.- Overrides:
readCustomDataFromNbtin classAnimalEntity- See Also:
- Mappings:
Namespace Name Mixin selector official aLbox;a(Lta;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
canBreedWith
- Overrides:
canBreedWithin classAnimalEntity- Mappings:
Namespace Name Mixin selector official aLcbe;a(Lcbe;)Zintermediary method_6474Lnet/minecraft/class_1429;method_6474(Lnet/minecraft/class_1429;)Znamed canBreedWithLnet/minecraft/entity/passive/AnimalEntity;canBreedWith(Lnet/minecraft/entity/passive/AnimalEntity;)Z
-
canBreed
protected boolean canBreed()- Mappings:
Namespace Name Mixin selector official gULcdg;gU()Zintermediary method_6734Lnet/minecraft/class_1496;method_6734()Znamed canBreedLnet/minecraft/entity/passive/AbstractHorseEntity;canBreed()Z
-
createChild
- Specified by:
createChildin classPassiveEntity- Mappings:
Namespace Name Mixin selector official aLbos;a(Lapf;Lbos;)Lbos;intermediary method_5613Lnet/minecraft/class_1296;method_5613(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_1296;named createChildLnet/minecraft/entity/passive/PassiveEntity;createChild(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/PassiveEntity;
-
setChildAttributes
- Mappings:
Namespace Name Mixin selector official aLcdg;a(Lbos;Lcdg;)Vintermediary method_6743Lnet/minecraft/class_1496;method_6743(Lnet/minecraft/class_1296;Lnet/minecraft/class_1496;)Vnamed setChildAttributesLnet/minecraft/entity/passive/AbstractHorseEntity;setChildAttributes(Lnet/minecraft/entity/passive/PassiveEntity;Lnet/minecraft/entity/passive/AbstractHorseEntity;)V
-
setChildAttribute
private void setChildAttribute(PassiveEntity other, AbstractHorseEntity child, RegistryEntry<EntityAttribute> attribute, double min, double max) - Mappings:
Namespace Name Mixin selector official aLcdg;a(Lbos;Lcdg;Lil;DD)Vintermediary method_49124Lnet/minecraft/class_1496;method_49124(Lnet/minecraft/class_1296;Lnet/minecraft/class_1496;Lnet/minecraft/class_6880;DD)Vnamed setChildAttributeLnet/minecraft/entity/passive/AbstractHorseEntity;setChildAttribute(Lnet/minecraft/entity/passive/PassiveEntity;Lnet/minecraft/entity/passive/AbstractHorseEntity;Lnet/minecraft/registry/entry/RegistryEntry;DD)V
-
calculateAttributeBaseValue
static double calculateAttributeBaseValue(double parentBase, double otherParentBase, double min, double max, Random random) - Mappings:
Namespace Name Mixin selector official aLcdg;a(DDDDLaxd;)Dintermediary method_49123Lnet/minecraft/class_1496;method_49123(DDDDLnet/minecraft/class_5819;)Dnamed calculateAttributeBaseValueLnet/minecraft/entity/passive/AbstractHorseEntity;calculateAttributeBaseValue(DDDDLnet/minecraft/util/math/random/Random;)D
-
getEatingGrassAnimationProgress
public float getEatingGrassAnimationProgress(float tickDelta) - Mappings:
Namespace Name Mixin selector official GLcdg;G(F)Fintermediary method_6739Lnet/minecraft/class_1496;method_6739(F)Fnamed getEatingGrassAnimationProgressLnet/minecraft/entity/passive/AbstractHorseEntity;getEatingGrassAnimationProgress(F)F
-
getAngryAnimationProgress
public float getAngryAnimationProgress(float tickDelta) - Mappings:
Namespace Name Mixin selector official HLcdg;H(F)Fintermediary method_6767Lnet/minecraft/class_1496;method_6767(F)Fnamed getAngryAnimationProgressLnet/minecraft/entity/passive/AbstractHorseEntity;getAngryAnimationProgress(F)F
-
getEatingAnimationProgress
public float getEatingAnimationProgress(float tickDelta) - Mappings:
Namespace Name Mixin selector official ILcdg;I(F)Fintermediary method_6772Lnet/minecraft/class_1496;method_6772(F)Fnamed getEatingAnimationProgressLnet/minecraft/entity/passive/AbstractHorseEntity;getEatingAnimationProgress(F)F
-
setJumpStrength
public void setJumpStrength(int strength) - Specified by:
setJumpStrengthin interfaceJumpingMount- Mappings:
Namespace Name Mixin selector official bLbpz;b(I)Vintermediary method_6154Lnet/minecraft/class_1316;method_6154(I)Vnamed setJumpStrengthLnet/minecraft/entity/JumpingMount;setJumpStrength(I)V
-
canJump
public boolean canJump()- Specified by:
canJumpin interfaceJumpingMount- Mappings:
Namespace Name Mixin selector official aLbpz;a()Zintermediary method_6153Lnet/minecraft/class_1316;method_6153()Znamed canJumpLnet/minecraft/entity/JumpingMount;canJump()Z
-
startJumping
public void startJumping(int height) - Specified by:
startJumpingin interfaceJumpingMount- Mappings:
Namespace Name Mixin selector official cLbpz;c(I)Vintermediary method_6155Lnet/minecraft/class_1316;method_6155(I)Vnamed startJumpingLnet/minecraft/entity/JumpingMount;startJumping(I)V
-
stopJumping
public void stopJumping()- Specified by:
stopJumpingin interfaceJumpingMount- Mappings:
Namespace Name Mixin selector official bLbpz;b()Vintermediary method_6156Lnet/minecraft/class_1316;method_6156()Vnamed stopJumpingLnet/minecraft/entity/JumpingMount;stopJumping()V
-
spawnPlayerReactionParticles
protected void spawnPlayerReactionParticles(boolean positive) - Mappings:
Namespace Name Mixin selector official CLcdg;C(Z)Vintermediary method_6760Lnet/minecraft/class_1496;method_6760(Z)Vnamed spawnPlayerReactionParticlesLnet/minecraft/entity/passive/AbstractHorseEntity;spawnPlayerReactionParticles(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:
- Mappings:
Namespace Name Mixin selector official bLbox;b(B)Vintermediary method_5711Lnet/minecraft/class_1297;method_5711(B)Vnamed handleStatusLnet/minecraft/entity/Entity;handleStatus(B)V
-
updatePassengerPosition
- Overrides:
updatePassengerPositionin classEntity- Mappings:
Namespace Name Mixin selector official aLbox;a(Lbox;Lbox$a;)Vintermediary method_5865Lnet/minecraft/class_1297;method_5865(Lnet/minecraft/class_1297;Lnet/minecraft/class_1297$class_4738;)Vnamed updatePassengerPositionLnet/minecraft/entity/Entity;updatePassengerPosition(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity$PositionUpdater;)V
-
getChildHealthBonus
- Mappings:
Namespace Name Mixin selector official aLcdg;a(Ljava/util/function/IntUnaryOperator;)Fintermediary method_6754Lnet/minecraft/class_1496;method_6754(Ljava/util/function/IntUnaryOperator;)Fnamed getChildHealthBonusLnet/minecraft/entity/passive/AbstractHorseEntity;getChildHealthBonus(Ljava/util/function/IntUnaryOperator;)F
-
getChildJumpStrengthBonus
- Mappings:
Namespace Name Mixin selector official aLcdg;a(Ljava/util/function/DoubleSupplier;)Dintermediary method_6774Lnet/minecraft/class_1496;method_6774(Ljava/util/function/DoubleSupplier;)Dnamed getChildJumpStrengthBonusLnet/minecraft/entity/passive/AbstractHorseEntity;getChildJumpStrengthBonus(Ljava/util/function/DoubleSupplier;)D
-
getChildMovementSpeedBonus
- Mappings:
Namespace Name Mixin selector official bLcdg;b(Ljava/util/function/DoubleSupplier;)Dintermediary method_6728Lnet/minecraft/class_1496;method_6728(Ljava/util/function/DoubleSupplier;)Dnamed getChildMovementSpeedBonusLnet/minecraft/entity/passive/AbstractHorseEntity;getChildMovementSpeedBonus(Ljava/util/function/DoubleSupplier;)D
-
isClimbing
public boolean isClimbing()- Overrides:
isClimbingin classLivingEntity- Mappings:
Namespace Name Mixin selector official p_Lbpp;p_()Zintermediary method_6101Lnet/minecraft/class_1309;method_6101()Znamed isClimbingLnet/minecraft/entity/LivingEntity;isClimbing()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 official a_Lbox;a_(I)Lbqg;intermediary method_32318Lnet/minecraft/class_1297;method_32318(I)Lnet/minecraft/class_5630;named getStackReferenceLnet/minecraft/entity/Entity;getStackReference(I)Lnet/minecraft/inventory/StackReference;
-
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 official cNLbox;cN()Lbpp;intermediary method_5642Lnet/minecraft/class_1297;method_5642()Lnet/minecraft/class_1309;named getControllingPassengerLnet/minecraft/entity/Entity;getControllingPassenger()Lnet/minecraft/entity/LivingEntity;
-
locateSafeDismountingPos
- Mappings:
Namespace Name Mixin selector official aLcdg;a(Lept;Lbpp;)Lept;intermediary method_27930Lnet/minecraft/class_1496;method_27930(Lnet/minecraft/class_243;Lnet/minecraft/class_1309;)Lnet/minecraft/class_243;named locateSafeDismountingPosLnet/minecraft/entity/passive/AbstractHorseEntity;locateSafeDismountingPos(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/util/math/Vec3d;
-
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 official bLbox;b(Lbpp;)Lept;intermediary method_24829Lnet/minecraft/class_1297;method_24829(Lnet/minecraft/class_1309;)Lnet/minecraft/class_243;named updatePassengerForDismountLnet/minecraft/entity/Entity;updatePassengerForDismount(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/util/math/Vec3d;
-
initAttributes
- Mappings:
Namespace Name Mixin selector official aLcdg;a(Laxd;)Vintermediary method_6001Lnet/minecraft/class_1496;method_6001(Lnet/minecraft/class_5819;)Vnamed initAttributesLnet/minecraft/entity/passive/AbstractHorseEntity;initAttributes(Lnet/minecraft/util/math/random/Random;)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 official aLbpr;a(Lcxq;Lbnb;Lbpt;Lbqh;)Lbqh;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;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;
-
areInventoriesDifferent
- Mappings:
Namespace Name Mixin selector official bLcdg;b(Lbmw;)Zintermediary method_33338Lnet/minecraft/class_1496;method_33338(Lnet/minecraft/class_1263;)Znamed areInventoriesDifferentLnet/minecraft/entity/passive/AbstractHorseEntity;areInventoriesDifferent(Lnet/minecraft/inventory/Inventory;)Z
-
getMinAmbientStandDelay
public int getMinAmbientStandDelay()- Mappings:
Namespace Name Mixin selector official gVLcdg;gV()Iintermediary method_45377Lnet/minecraft/class_1496;method_45377()Inamed getMinAmbientStandDelayLnet/minecraft/entity/passive/AbstractHorseEntity;getMinAmbientStandDelay()I
-
getPassengerAttachmentPos
protected Vec3d getPassengerAttachmentPos(Entity passenger, EntityDimensions dimensions, float scaleFactor) - Overrides:
getPassengerAttachmentPosin classEntity- Mappings:
Namespace Name Mixin selector official aLbox;a(Lbox;Lbpa;F)Lept;intermediary method_52533Lnet/minecraft/class_1297;method_52533(Lnet/minecraft/class_1297;Lnet/minecraft/class_4048;F)Lnet/minecraft/class_243;named getPassengerAttachmentPosLnet/minecraft/entity/Entity;getPassengerAttachmentPos(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/EntityDimensions;F)Lnet/minecraft/util/math/Vec3d;
-
getInventory
- Mappings:
Namespace Name Mixin selector official gWLcdg;gW()Lbmw;intermediary method_56680Lnet/minecraft/class_1496;method_56680()Lnet/minecraft/class_1263;named getInventoryLnet/minecraft/entity/passive/AbstractHorseEntity;getInventory()Lnet/minecraft/inventory/Inventory;
-