Package net.minecraft.entity.passive
Class HorseBaseEntity
- All Implemented Interfaces:
JumpingMount
,Mount
,Saddleable
,InventoryChangedListener
,CommandOutput
,Nameable
,EntityLike
- Direct Known Subclasses:
AbstractDonkeyEntity
,HorseEntity
,SkeletonHorseEntity
,ZombieHorseEntity
public abstract class HorseBaseEntity
extends AnimalEntity
implements InventoryChangedListener, JumpingMount, Saddleable
- Mappings:
Namespace Name official biw
intermediary net/minecraft/class_1496
named net/minecraft/entity/passive/HorseBaseEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.passive.PassiveEntity
PassiveEntity.PassiveData
Nested classes/interfaces inherited from class net.minecraft.entity.LivingEntity
LivingEntity.FallSounds
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private float
private int
private static final int
private static final Ingredient
private static final int
private static final int
private float
private float
private int
private int
static final int
static final int
static final int
static final int
static final int
static final int
int
private static final TrackedData<Byte>
protected boolean
private static final Predicate<LivingEntity>
protected SimpleInventory
private boolean
protected float
private float
private float
private float
private static final TrackedData<Optional<UUID>>
private static final TargetPredicate
protected boolean
private static final int
protected int
int
private static final int
protected int
Fields inherited from class net.minecraft.entity.passive.AnimalEntity
BREEDING_COOLDOWN
Fields inherited from class net.minecraft.entity.passive.PassiveEntity
BABY_AGE, breedingAge, forcedAge, happyTicksRemaining
Fields inherited from class net.minecraft.entity.mob.PathAwareEntity
field_35670
Fields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, BASE_ENCHANTED_ARMOR_CHANCE, BASE_ENCHANTED_MAIN_HAND_EQUIPMENT_CHANCE, BASE_SPAWN_EQUIPMENT_CHANCE, DEFAULT_CAN_PICKUP_LOOT_CHANCE, DEFAULT_DROP_CHANCE, experiencePoints, field_35039, goalSelector, handDropChances, jumpControl, LEASH_KEY, lookControl, moveControl, navigation, targetSelector
Fields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, airStrafingSpeed, attackingPlayer, bodyTrackingIncrements, bodyYaw, brain, dead, deathTime, defaultMaxHealth, despawnCounter, field_30063, field_30067, field_30068, field_30069, field_30070, field_30071, field_30072, field_30073, field_30074, field_30075, field_30076, field_30077, field_6215, forwardSpeed, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, hurtTime, itemUseTimeLeft, knockbackVelocity, lastAttackedTicks, lastDamageTaken, lastHandSwingProgress, lastLimbDistance, limbAngle, limbDistance, 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_FLAG
Fields 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_29974, field_29991, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLOWING_FLAG_INDEX, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inanimate, inNetherPortal, inPowderSnow, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, LOGGER, MAX_RIDING_COOLDOWN, MAX_SCOREBOARD_TAGS, movementMultiplier, netherPortalTime, noClip, ON_FIRE_FLAG_INDEX, onGround, PASSENGERS_KEY, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, stepHeight, submergedFluidTag, submergedInWater, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, VELOCITY_AFFECTING_POS_Y_OFFSET, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire, world
Fields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY
-
Constructor Summary
ModifierConstructorDescriptionprotected
HorseBaseEntity
(EntityType<? extends HorseBaseEntity> type, World world) -
Method Summary
Modifier and TypeMethodDescriptionint
addTemper
(int difference) boolean
areInventoriesDifferent
(Inventory inventory) boolean
bondWithPlayer
(PlayerEntity player) boolean
boolean
protected boolean
canBreed()
boolean
canBreedWith
(AnimalEntity other) boolean
canJump()
protected int
computeFallDamage
(float fallDistance, float damageMultiplier) createChild
(ServerWorld world, PassiveEntity entity) private StackReference
createInventoryStackReference
(int slot, Predicate<ItemStack> predicate) protected void
boolean
protected float
getActiveEyeHeight
(EntityPose pose, EntityDimensions dimensions) protected @Nullable SoundEvent
float
getAngryAnimationProgress
(float tickDelta) protected @Nullable SoundEvent
protected float
protected double
protected double
protected @Nullable SoundEvent
float
getEatingAnimationProgress
(float tickDelta) float
getEatingGrassAnimationProgress
(float tickDelta) protected @Nullable SoundEvent
protected boolean
getHorseFlag
(int bitmask) protected @Nullable SoundEvent
getHurtSound
(DamageSource source) protected int
double
int
int
int
protected float
getStackReference
(int mappedIndex) Obtains a stack reference to be modified.int
boolean
handleFallDamage
(float fallDistance, float damageMultiplier, DamageSource damageSource) void
handleStatus
(byte status) boolean
Whether this horse already has an item stack in its horse armor slot.boolean
Whether this horse has a slot for custom equipment besides a saddle.protected void
protected void
protected void
protected void
initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) interactHorse
(PlayerEntity player, ItemStack stack) boolean
isAngry()
boolean
isBred()
boolean
isBreedingItem
(ItemStack stack) boolean
boolean
boolean
isHorseArmor
(ItemStack item) Whether the given item stack is valid for this horse's armor slot.protected boolean
boolean
isInAir()
boolean
boolean
boolean
isTame()
locateSafeDismountingPos
(Vec3d offset, LivingEntity passenger) protected void
void
onInventoryChanged
(Inventory sender) void
openInventory
(PlayerEntity player) void
private void
protected void
protected void
playStepSound
(BlockPos pos, BlockState state) protected void
playWalkSound
(BlockSoundGroup group) protected void
putPlayerOnBack
(PlayerEntity player) void
protected boolean
receiveFood
(PlayerEntity player, ItemStack item) void
saddle
(@Nullable SoundCategory sound) void
setAngry
(boolean angry) void
setBred
(boolean bred) protected void
setChildAttributes
(PassiveEntity mate, HorseBaseEntity child) private void
void
setEatingGrass
(boolean eatingGrass) protected void
setHorseFlag
(int bitmask, boolean flag) void
setInAir
(boolean inAir) void
setJumpStrength
(int strength) void
setOwnerUuid
(@Nullable UUID uuid) void
setTame
(boolean tame) void
setTemper
(int temper) protected void
spawnPlayerReactionParticles
(boolean positive) void
startJumping
(int height) void
void
tick()
void
void
Allows you to do certain speed and velocity calculations.private void
protected void
updateForLeashLength
(float leashLength) updatePassengerForDismount
(LivingEntity passenger) void
updatePassengerPosition
(Entity passenger) protected void
private void
wagTail()
protected void
void
Methods inherited from class net.minecraft.entity.passive.AnimalEntity
breed, canEat, canImmediatelyDespawn, damage, eat, getHeightOffset, getLoveTicks, getLovingPlayer, getPathfindingFavor, getXpToDrop, interactMob, isInLove, isLightLevelValidForNaturalSpawn, isValidNaturalSpawn, lovePlayer, mobTick, resetLoveTicks, setLoveTicks
Methods inherited from class net.minecraft.entity.passive.PassiveEntity
getBreedingAge, growUp, growUp, isBaby, isReadyToBreed, onGrowUp, onTrackedDataSet, setBaby, setBreedingAge
Methods inherited from class net.minecraft.entity.mob.PathAwareEntity
canSpawn, getPathfindingFavor, getRunFromLeashSpeed, isNavigating, updateLeash
Methods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canBeLeashedBy, canEquip, canGather, canJumpToNextPathNode, canMobSpawn, canMoveVoluntarily, cannotDespawn, canPickupItem, canPickUpLoot, canSpawn, canTarget, canUseRangedWeapon, checkDespawn, clearGoalsAndTasks, clearPositionTarget, convertTo, createBodyControl, createMobAttributes, createNavigation, detachLeash, dropEquipment, dropLoot, enchantEquipment, enchantMainHandItem, equipLootStack, equipStack, getArmorItems, getDropChance, getEquipmentForSlot, getEquippedStack, getHoldingEntity, getItemsHand, getJumpControl, getLookControl, getLootContextBuilder, getLootTable, getLootTableId, getMainArm, getMaxHeadRotation, getMaxLookPitchChange, getMaxLookYawChange, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getSafeFallDistance, getTarget, getVisibilityCache, hasPositionTarget, initEquipment, interact, isAffectedByDaylight, isAiDisabled, isAttacking, isDisallowedInPeaceful, isInWalkTargetRange, isInWalkTargetRange, isLeashed, isLeftHanded, isLogicalSideForUpdatingMovement, isPersistent, lookAtEntity, loot, movesIndependently, onEatingGrass, onPlayerSpawnedChild, playAmbientSound, playHurtSound, playSpawnEffects, prefersNewDamageableItem, prefersNewEquipment, removeFromDimension, sendAiDebugData, setAiDisabled, setAttacking, setCanPickUpLoot, setEquipmentDropChance, setForwardSpeed, setHoldingEntityId, setLeftHanded, setMovementSpeed, setPathfindingPenalty, setPersistent, setPositionTarget, setSidewaysSpeed, setTarget, setUpwardSpeed, spawnsTooManyForEachTry, squaredAttackRange, startRiding, swimUpward, tickNewAi, tryAttack, tryEquip, turnHead, updateDropChances, updateEnchantments, updateGoalControls
Methods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, addStatusEffect, animateDamage, applyArmorToDamage, applyDamage, applyEnchantmentsToDamage, applyMovementEffects, applyMovementInput, attackLivingEntity, blockedByShield, canBeRiddenInWater, canBreatheInWater, canFreeze, canHaveStatusEffect, canSee, canTakeDamage, canTarget, canWalkOnFluid, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, collides, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, createSpawnPacket, damageArmor, damageHelmet, damageShield, deserializeBrain, displaySoulSpeedEffects, drop, dropXp, eatFood, endCombat, enterCombat, fall, getAbsorptionAmount, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getArrowType, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseMovementSpeedMultiplier, getBoundingBox, getBrain, getClimbingPos, getDamageTracker, getDespawnCounter, getDimensions, getDrinkSound, getEatSound, getEyeHeight, getFallSounds, getGroup, getHandSwingProgress, getHeadYaw, getHealth, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, getJumpVelocity, getLastAttackedTime, getLastAttackTime, getLeaningPitch, getMainHandStack, getMaxHealth, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffHandStack, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getRandom, getRecentDamageSource, getRoll, getScaleFactor, getSleepingDirection, getSleepingPosition, getSoundPitch, getStackInHand, getStatusEffect, getStatusEffects, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getVisibilityBoundingBox, getYaw, hasNoDrag, hasStackEquipped, hasStatusEffect, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isBlocking, isDead, isFallFlying, isGlowing, isHolding, isHolding, isHoldingOntoLadder, isInsideWall, isInSwimmingPose, isMobOrPlayer, isOnSoulSpeedBlock, isPartOfGame, isSleeping, isTarget, isUndead, isUsingItem, isUsingRiptide, jump, kill, knockback, knockDownwards, lookAt, markEffectsDirty, method_26317, onAttacking, onDeath, onEquipStack, onKilledBy, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, playBlockFallSound, positionInPortal, positionInPortal, processEquippedStack, pushAway, pushAwayFrom, readFromPacket, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, removeStatusEffectInternal, scheduleVelocityUpdate, sendEquipmentBreakStatus, sendPickup, sendToolBreakStatus, setAbsorptionAmount, setAttacker, setAttacking, setBodyYaw, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setNearbySongPlaying, setNoDrag, setOnGround, setRiptideTicks, 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, triggerItemPickedUpByEntityCriteria, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wakeUp
Methods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addFlapEffects, addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyDamageEffects, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeSpectated, canExplosionDestroyBlock, canModifyAt, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, getAir, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraBlockPos, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultNetherPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getGameEventHandler, getHeight, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashOffset, getLeashPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMountedHeightOffset, getMoveEffect, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPitch, getPortalRect, getPos, getPose, getRandomBodyY, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSwimHeight, getSwimSound, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getWidth, getWorld, getX, getY, getYaw, getZ, handleAttack, hasCollidedSoftly, hasCustomName, hashCode, hasNetherPortalCooldown, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, hasPassengerType, hasPermissionLevel, hasPlayerRider, hasVehicle, hasWings, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCustomNameVisible, isDescending, isFireImmune, isFreezing, isGlowingLocal, isImmuneToExplosion, isInLava, isInRange, isInsideWaterOrBubbleColumn, isInSneakingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isOnFire, isOnGround, isPartOf, isPlayer, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playExtinguishSound, playSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, resetNetherPortalCooldown, resetPosition, saveNbt, saveSelfNbt, sendSystemMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setId, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setListener, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setPitch, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setYaw, shouldBroadcastConsoleToOps, shouldLeaveSwimmingPose, shouldReceiveFeedback, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, tickNetherPortal, tickNetherPortalCooldown, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedPosition, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbt
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.server.command.CommandOutput
cannotBeSilenced
-
Field Details
-
field_30413
public static final int field_30413- See Also:
- Mappings:
Namespace Name Mixin selector official bX
Lbiw;bX:I
intermediary field_30413
Lnet/minecraft/class_1496;field_30413:I
named field_30413
Lnet/minecraft/entity/passive/HorseBaseEntity;field_30413:I
-
field_30414
public static final int field_30414- See Also:
- Mappings:
Namespace Name Mixin selector official bZ
Lbiw;bZ:I
intermediary field_30414
Lnet/minecraft/class_1496;field_30414:I
named field_30414
Lnet/minecraft/entity/passive/HorseBaseEntity;field_30414:I
-
field_30415
public static final int field_30415- See Also:
- Mappings:
Namespace Name Mixin selector official ca
Lbiw;ca:I
intermediary field_30415
Lnet/minecraft/class_1496;field_30415:I
named field_30415
Lnet/minecraft/entity/passive/HorseBaseEntity;field_30415:I
-
IS_BRED_HORSE
- Mappings:
Namespace Name Mixin selector official bW
Lbiw;bW:Ljava/util/function/Predicate;
intermediary field_6956
Lnet/minecraft/class_1496;field_6956:Ljava/util/function/Predicate;
named IS_BRED_HORSE
Lnet/minecraft/entity/passive/HorseBaseEntity;IS_BRED_HORSE:Ljava/util/function/Predicate;
-
PARENT_HORSE_PREDICATE
- Mappings:
Namespace Name Mixin selector official cm
Lbiw;cm:Lbgn;
intermediary field_18118
Lnet/minecraft/class_1496;field_18118:Lnet/minecraft/class_4051;
named PARENT_HORSE_PREDICATE
Lnet/minecraft/entity/passive/HorseBaseEntity;PARENT_HORSE_PREDICATE:Lnet/minecraft/entity/ai/TargetPredicate;
-
BREEDING_INGREDIENT
- Mappings:
Namespace Name Mixin selector official cn
Lbiw;cn:Lbwt;
intermediary field_25374
Lnet/minecraft/class_1496;field_25374:Lnet/minecraft/class_1856;
named BREEDING_INGREDIENT
Lnet/minecraft/entity/passive/HorseBaseEntity;BREEDING_INGREDIENT:Lnet/minecraft/recipe/Ingredient;
-
HORSE_FLAGS
- Mappings:
Namespace Name Mixin selector official co
Lbiw;co:Lxp;
intermediary field_6959
Lnet/minecraft/class_1496;field_6959:Lnet/minecraft/class_2940;
named HORSE_FLAGS
Lnet/minecraft/entity/passive/HorseBaseEntity;HORSE_FLAGS:Lnet/minecraft/entity/data/TrackedData;
-
OWNER_UUID
- Mappings:
Namespace Name Mixin selector official cp
Lbiw;cp:Lxp;
intermediary field_6972
Lnet/minecraft/class_1496;field_6972:Lnet/minecraft/class_2940;
named OWNER_UUID
Lnet/minecraft/entity/passive/HorseBaseEntity;OWNER_UUID:Lnet/minecraft/entity/data/TrackedData;
-
TAMED_FLAG
private static final int TAMED_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official cq
Lbiw;cq:I
intermediary field_30419
Lnet/minecraft/class_1496;field_30419:I
named TAMED_FLAG
Lnet/minecraft/entity/passive/HorseBaseEntity;TAMED_FLAG:I
-
SADDLED_FLAG
private static final int SADDLED_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official cr
Lbiw;cr:I
intermediary field_30420
Lnet/minecraft/class_1496;field_30420:I
named SADDLED_FLAG
Lnet/minecraft/entity/passive/HorseBaseEntity;SADDLED_FLAG:I
-
BRED_FLAG
private static final int BRED_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official cs
Lbiw;cs:I
intermediary field_30421
Lnet/minecraft/class_1496;field_30421:I
named BRED_FLAG
Lnet/minecraft/entity/passive/HorseBaseEntity;BRED_FLAG:I
-
EATING_GRASS_FLAG
private static final int EATING_GRASS_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official ct
Lbiw;ct:I
intermediary field_30422
Lnet/minecraft/class_1496;field_30422:I
named EATING_GRASS_FLAG
Lnet/minecraft/entity/passive/HorseBaseEntity;EATING_GRASS_FLAG:I
-
ANGRY_FLAG
private static final int ANGRY_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official cu
Lbiw;cu:I
intermediary field_30423
Lnet/minecraft/class_1496;field_30423:I
named ANGRY_FLAG
Lnet/minecraft/entity/passive/HorseBaseEntity;ANGRY_FLAG:I
-
EATING_FLAG
private static final int EATING_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official cv
Lbiw;cv:I
intermediary field_30424
Lnet/minecraft/class_1496;field_30424:I
named EATING_FLAG
Lnet/minecraft/entity/passive/HorseBaseEntity;EATING_FLAG:I
-
field_30416
public static final int field_30416- See Also:
- Mappings:
Namespace Name Mixin selector official cb
Lbiw;cb:I
intermediary field_30416
Lnet/minecraft/class_1496;field_30416:I
named field_30416
Lnet/minecraft/entity/passive/HorseBaseEntity;field_30416:I
-
field_30417
public static final int field_30417- See Also:
- Mappings:
Namespace Name Mixin selector official cc
Lbiw;cc:I
intermediary field_30417
Lnet/minecraft/class_1496;field_30417:I
named field_30417
Lnet/minecraft/entity/passive/HorseBaseEntity;field_30417:I
-
field_30418
public static final int field_30418- See Also:
- Mappings:
Namespace Name Mixin selector official cd
Lbiw;cd:I
intermediary field_30418
Lnet/minecraft/class_1496;field_30418:I
named field_30418
Lnet/minecraft/entity/passive/HorseBaseEntity;field_30418:I
-
eatingGrassTicks
private int eatingGrassTicks- Mappings:
Namespace Name Mixin selector official cw
Lbiw;cw:I
intermediary field_6971
Lnet/minecraft/class_1496;field_6971:I
named eatingGrassTicks
Lnet/minecraft/entity/passive/HorseBaseEntity;eatingGrassTicks:I
-
eatingTicks
private int eatingTicks- Mappings:
Namespace Name Mixin selector official cx
Lbiw;cx:I
intermediary field_6973
Lnet/minecraft/class_1496;field_6973:I
named eatingTicks
Lnet/minecraft/entity/passive/HorseBaseEntity;eatingTicks:I
-
angryTicks
private int angryTicks- Mappings:
Namespace Name Mixin selector official cy
Lbiw;cy:I
intermediary field_6970
Lnet/minecraft/class_1496;field_6970:I
named angryTicks
Lnet/minecraft/entity/passive/HorseBaseEntity;angryTicks:I
-
tailWagTicks
public int tailWagTicks- Mappings:
Namespace Name Mixin selector official ce
Lbiw;ce:I
intermediary field_6957
Lnet/minecraft/class_1496;field_6957:I
named tailWagTicks
Lnet/minecraft/entity/passive/HorseBaseEntity;tailWagTicks:I
-
field_6958
public int field_6958- Mappings:
Namespace Name Mixin selector official cf
Lbiw;cf:I
intermediary field_6958
Lnet/minecraft/class_1496;field_6958:I
named field_6958
Lnet/minecraft/entity/passive/HorseBaseEntity;field_6958:I
-
inAir
protected boolean inAir- Mappings:
Namespace Name Mixin selector official cg
Lbiw;cg:Z
intermediary field_6968
Lnet/minecraft/class_1496;field_6968:Z
named inAir
Lnet/minecraft/entity/passive/HorseBaseEntity;inAir:Z
-
items
- Mappings:
Namespace Name Mixin selector official ch
Lbiw;ch:Lavv;
intermediary field_6962
Lnet/minecraft/class_1496;field_6962:Lnet/minecraft/class_1277;
named items
Lnet/minecraft/entity/passive/HorseBaseEntity;items:Lnet/minecraft/inventory/SimpleInventory;
-
temper
protected int temper- Mappings:
Namespace Name Mixin selector official ci
Lbiw;ci:I
intermediary field_6955
Lnet/minecraft/class_1496;field_6955:I
named temper
Lnet/minecraft/entity/passive/HorseBaseEntity;temper:I
-
jumpStrength
protected float jumpStrength- Mappings:
Namespace Name Mixin selector official cj
Lbiw;cj:F
intermediary field_6976
Lnet/minecraft/class_1496;field_6976:F
named jumpStrength
Lnet/minecraft/entity/passive/HorseBaseEntity;jumpStrength:F
-
jumping
private boolean jumping- Mappings:
Namespace Name Mixin selector official cz
Lbiw;cz:Z
intermediary field_6960
Lnet/minecraft/class_1496;field_6960:Z
named jumping
Lnet/minecraft/entity/passive/HorseBaseEntity;jumping:Z
-
eatingGrassAnimationProgress
private float eatingGrassAnimationProgress- Mappings:
Namespace Name Mixin selector official cA
Lbiw;cA:F
intermediary field_6969
Lnet/minecraft/class_1496;field_6969:F
named eatingGrassAnimationProgress
Lnet/minecraft/entity/passive/HorseBaseEntity;eatingGrassAnimationProgress:F
-
lastEatingGrassAnimationProgress
private float lastEatingGrassAnimationProgress- Mappings:
Namespace Name Mixin selector official cB
Lbiw;cB:F
intermediary field_6966
Lnet/minecraft/class_1496;field_6966:F
named lastEatingGrassAnimationProgress
Lnet/minecraft/entity/passive/HorseBaseEntity;lastEatingGrassAnimationProgress:F
-
angryAnimationProgress
private float angryAnimationProgress- Mappings:
Namespace Name Mixin selector official cC
Lbiw;cC:F
intermediary field_6967
Lnet/minecraft/class_1496;field_6967:F
named angryAnimationProgress
Lnet/minecraft/entity/passive/HorseBaseEntity;angryAnimationProgress:F
-
lastAngryAnimationProgress
private float lastAngryAnimationProgress- Mappings:
Namespace Name Mixin selector official cD
Lbiw;cD:F
intermediary field_6963
Lnet/minecraft/class_1496;field_6963:F
named lastAngryAnimationProgress
Lnet/minecraft/entity/passive/HorseBaseEntity;lastAngryAnimationProgress:F
-
eatingAnimationProgress
private float eatingAnimationProgress- Mappings:
Namespace Name Mixin selector official cE
Lbiw;cE:F
intermediary field_6965
Lnet/minecraft/class_1496;field_6965:F
named eatingAnimationProgress
Lnet/minecraft/entity/passive/HorseBaseEntity;eatingAnimationProgress:F
-
lastEatingAnimationProgress
private float lastEatingAnimationProgress- Mappings:
Namespace Name Mixin selector official cF
Lbiw;cF:F
intermediary field_6961
Lnet/minecraft/class_1496;field_6961:F
named lastEatingAnimationProgress
Lnet/minecraft/entity/passive/HorseBaseEntity;lastEatingAnimationProgress:F
-
playExtraHorseSounds
protected boolean playExtraHorseSounds- Mappings:
Namespace Name Mixin selector official ck
Lbiw;ck:Z
intermediary field_6964
Lnet/minecraft/class_1496;field_6964:Z
named playExtraHorseSounds
Lnet/minecraft/entity/passive/HorseBaseEntity;playExtraHorseSounds:Z
-
soundTicks
protected int soundTicks- Mappings:
Namespace Name Mixin selector official cl
Lbiw;cl:I
intermediary field_6975
Lnet/minecraft/class_1496;field_6975:I
named soundTicks
Lnet/minecraft/entity/passive/HorseBaseEntity;soundTicks:I
-
-
Constructor Details
-
HorseBaseEntity
- Mappings:
Namespace Name Mixin selector official <init>
Lawt;<init>(Lawx;Lcad;)V
intermediary <init>
Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
named <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 fH
Lbiw;fH()V
intermediary method_6764
Lnet/minecraft/class_1496;method_6764()V
named initCustomGoals
Lnet/minecraft/entity/passive/HorseBaseEntity;initCustomGoals()V
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTracker
in classPassiveEntity
- Mappings:
Namespace Name Mixin selector official a_
Lawt;a_()V
intermediary method_5693
Lnet/minecraft/class_1297;method_5693()V
named initDataTracker
Lnet/minecraft/entity/Entity;initDataTracker()V
-
getHorseFlag
protected boolean getHorseFlag(int bitmask) - Mappings:
Namespace Name Mixin selector official t
Lbiw;t(I)Z
intermediary method_6730
Lnet/minecraft/class_1496;method_6730(I)Z
named getHorseFlag
Lnet/minecraft/entity/passive/HorseBaseEntity;getHorseFlag(I)Z
-
setHorseFlag
protected void setHorseFlag(int bitmask, boolean flag) - Mappings:
Namespace Name Mixin selector official d
Lbiw;d(IZ)V
intermediary method_6769
Lnet/minecraft/class_1496;method_6769(IZ)V
named setHorseFlag
Lnet/minecraft/entity/passive/HorseBaseEntity;setHorseFlag(IZ)V
-
isTame
public boolean isTame()- Mappings:
Namespace Name Mixin selector official fI
Lbiw;fI()Z
intermediary method_6727
Lnet/minecraft/class_1496;method_6727()Z
named isTame
Lnet/minecraft/entity/passive/HorseBaseEntity;isTame()Z
-
getOwnerUuid
- Mappings:
Namespace Name Mixin selector official fJ
Lbiw;fJ()Ljava/util/UUID;
intermediary method_6768
Lnet/minecraft/class_1496;method_6768()Ljava/util/UUID;
named getOwnerUuid
Lnet/minecraft/entity/passive/HorseBaseEntity;getOwnerUuid()Ljava/util/UUID;
-
setOwnerUuid
- Mappings:
Namespace Name Mixin selector official b
Lbiw;b(Ljava/util/UUID;)V
intermediary method_6732
Lnet/minecraft/class_1496;method_6732(Ljava/util/UUID;)V
named setOwnerUuid
Lnet/minecraft/entity/passive/HorseBaseEntity;setOwnerUuid(Ljava/util/UUID;)V
-
isInAir
public boolean isInAir()- Mappings:
Namespace Name Mixin selector official fK
Lbiw;fK()Z
intermediary method_6763
Lnet/minecraft/class_1496;method_6763()Z
named isInAir
Lnet/minecraft/entity/passive/HorseBaseEntity;isInAir()Z
-
setTame
public void setTame(boolean tame) - Mappings:
Namespace Name Mixin selector official w
Lbiw;w(Z)V
intermediary method_6766
Lnet/minecraft/class_1496;method_6766(Z)V
named setTame
Lnet/minecraft/entity/passive/HorseBaseEntity;setTame(Z)V
-
setInAir
public void setInAir(boolean inAir) - Mappings:
Namespace Name Mixin selector official x
Lbiw;x(Z)V
intermediary method_6758
Lnet/minecraft/class_1496;method_6758(Z)V
named setInAir
Lnet/minecraft/entity/passive/HorseBaseEntity;setInAir(Z)V
-
updateForLeashLength
protected void updateForLeashLength(float leashLength) - Overrides:
updateForLeashLength
in classPathAwareEntity
- Mappings:
Namespace Name Mixin selector official y
Laxq;y(F)V
intermediary method_6142
Lnet/minecraft/class_1314;method_6142(F)V
named updateForLeashLength
Lnet/minecraft/entity/mob/PathAwareEntity;updateForLeashLength(F)V
-
isEatingGrass
public boolean isEatingGrass()- Mappings:
Namespace Name Mixin selector official fL
Lbiw;fL()Z
intermediary method_6724
Lnet/minecraft/class_1496;method_6724()Z
named isEatingGrass
Lnet/minecraft/entity/passive/HorseBaseEntity;isEatingGrass()Z
-
isAngry
public boolean isAngry()- Mappings:
Namespace Name Mixin selector official fM
Lbiw;fM()Z
intermediary method_6736
Lnet/minecraft/class_1496;method_6736()Z
named isAngry
Lnet/minecraft/entity/passive/HorseBaseEntity;isAngry()Z
-
isBred
public boolean isBred()- Mappings:
Namespace Name Mixin selector official fN
Lbiw;fN()Z
intermediary method_6744
Lnet/minecraft/class_1496;method_6744()Z
named isBred
Lnet/minecraft/entity/passive/HorseBaseEntity;isBred()Z
-
setBred
public void setBred(boolean bred) - Mappings:
Namespace Name Mixin selector official y
Lbiw;y(Z)V
intermediary method_6751
Lnet/minecraft/class_1496;method_6751(Z)V
named setBred
Lnet/minecraft/entity/passive/HorseBaseEntity;setBred(Z)V
-
canBeSaddled
public boolean canBeSaddled()- Specified by:
canBeSaddled
in interfaceSaddleable
- Mappings:
Namespace Name Mixin selector official c
Laxw;c()Z
intermediary method_6765
Lnet/minecraft/class_5146;method_6765()Z
named canBeSaddled
Lnet/minecraft/entity/Saddleable;canBeSaddled()Z
-
saddle
- Specified by:
saddle
in interfaceSaddleable
- Mappings:
Namespace Name Mixin selector official a
Laxw;a(Lagw;)V
intermediary method_6576
Lnet/minecraft/class_5146;method_6576(Lnet/minecraft/class_3419;)V
named saddle
Lnet/minecraft/entity/Saddleable;saddle(Lnet/minecraft/sound/SoundCategory;)V
-
isSaddled
public boolean isSaddled()- Specified by:
isSaddled
in interfaceSaddleable
- Mappings:
Namespace Name Mixin selector official d
Laxw;d()Z
intermediary method_6725
Lnet/minecraft/class_5146;method_6725()Z
named isSaddled
Lnet/minecraft/entity/Saddleable;isSaddled()Z
-
getTemper
public int getTemper()- Mappings:
Namespace Name Mixin selector official fO
Lbiw;fO()I
intermediary method_6729
Lnet/minecraft/class_1496;method_6729()I
named getTemper
Lnet/minecraft/entity/passive/HorseBaseEntity;getTemper()I
-
setTemper
public void setTemper(int temper) - Mappings:
Namespace Name Mixin selector official u
Lbiw;u(I)V
intermediary method_6749
Lnet/minecraft/class_1496;method_6749(I)V
named setTemper
Lnet/minecraft/entity/passive/HorseBaseEntity;setTemper(I)V
-
addTemper
public int addTemper(int difference) - Mappings:
Namespace Name Mixin selector official v
Lbiw;v(I)I
intermediary method_6745
Lnet/minecraft/class_1496;method_6745(I)I
named addTemper
Lnet/minecraft/entity/passive/HorseBaseEntity;addTemper(I)I
-
isPushable
public boolean isPushable()- Overrides:
isPushable
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official bi
Lawt;bi()Z
intermediary method_5810
Lnet/minecraft/class_1297;method_5810()Z
named isPushable
Lnet/minecraft/entity/Entity;isPushable()Z
-
playEatingAnimation
private void playEatingAnimation()- Mappings:
Namespace Name Mixin selector official t
Lbiw;t()V
intermediary method_6733
Lnet/minecraft/class_1496;method_6733()V
named playEatingAnimation
Lnet/minecraft/entity/passive/HorseBaseEntity;playEatingAnimation()V
-
handleFallDamage
public boolean handleFallDamage(float fallDistance, float damageMultiplier, DamageSource damageSource) - Overrides:
handleFallDamage
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Lawt;a(FFLawd;)Z
intermediary method_5747
Lnet/minecraft/class_1297;method_5747(FFLnet/minecraft/class_1282;)Z
named handleFallDamage
Lnet/minecraft/entity/Entity;handleFallDamage(FFLnet/minecraft/entity/damage/DamageSource;)Z
-
computeFallDamage
protected int computeFallDamage(float fallDistance, float damageMultiplier) - Overrides:
computeFallDamage
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official d
Laxh;d(FF)I
intermediary method_23329
Lnet/minecraft/class_1309;method_23329(FF)I
named computeFallDamage
Lnet/minecraft/entity/LivingEntity;computeFallDamage(FF)I
-
getInventorySize
protected int getInventorySize()- Mappings:
Namespace Name Mixin selector official fz
Lbiw;fz()I
intermediary method_6750
Lnet/minecraft/class_1496;method_6750()I
named getInventorySize
Lnet/minecraft/entity/passive/HorseBaseEntity;getInventorySize()I
-
onChestedStatusChanged
protected void onChestedStatusChanged()- Mappings:
Namespace Name Mixin selector official fP
Lbiw;fP()V
intermediary method_6721
Lnet/minecraft/class_1496;method_6721()V
named onChestedStatusChanged
Lnet/minecraft/entity/passive/HorseBaseEntity;onChestedStatusChanged()V
-
updateSaddle
protected void updateSaddle()- Mappings:
Namespace Name Mixin selector official fQ
Lbiw;fQ()V
intermediary method_6731
Lnet/minecraft/class_1496;method_6731()V
named updateSaddle
Lnet/minecraft/entity/passive/HorseBaseEntity;updateSaddle()V
-
onInventoryChanged
- Specified by:
onInventoryChanged
in interfaceInventoryChangedListener
- Mappings:
Namespace Name Mixin selector official a
Lavl;a(Lavj;)V
intermediary method_5453
Lnet/minecraft/class_1265;method_5453(Lnet/minecraft/class_1263;)V
named onInventoryChanged
Lnet/minecraft/inventory/InventoryChangedListener;onInventoryChanged(Lnet/minecraft/inventory/Inventory;)V
-
getJumpStrength
public double getJumpStrength()- Mappings:
Namespace Name Mixin selector official fR
Lbiw;fR()D
intermediary method_6771
Lnet/minecraft/class_1496;method_6771()D
named getJumpStrength
Lnet/minecraft/entity/passive/HorseBaseEntity;getJumpStrength()D
-
getEatSound
- Mappings:
Namespace Name Mixin selector official fS
Lbiw;fS()Lagu;
intermediary method_28368
Lnet/minecraft/class_1496;method_28368()Lnet/minecraft/class_3414;
named getEatSound
Lnet/minecraft/entity/passive/HorseBaseEntity;getEatSound()Lnet/minecraft/sound/SoundEvent;
-
getDeathSound
- Overrides:
getDeathSound
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official x_
Laxh;x_()Lagu;
intermediary method_6002
Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
named getDeathSound
Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
-
getHurtSound
- Overrides:
getHurtSound
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official c
Laxh;c(Lawd;)Lagu;
intermediary method_6011
Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;
named getHurtSound
Lnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
-
getAmbientSound
- Overrides:
getAmbientSound
in classMobEntity
- Mappings:
Namespace Name Mixin selector official r
Laxj;r()Lagu;
intermediary method_5994
Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;
named getAmbientSound
Lnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
-
getAngrySound
- Mappings:
Namespace Name Mixin selector official fT
Lbiw;fT()Lagu;
intermediary method_6747
Lnet/minecraft/class_1496;method_6747()Lnet/minecraft/class_3414;
named getAngrySound
Lnet/minecraft/entity/passive/HorseBaseEntity;getAngrySound()Lnet/minecraft/sound/SoundEvent;
-
playStepSound
- Overrides:
playStepSound
in classEntity
- Mappings:
Namespace Name Mixin selector official b
Lawt;b(Lgh;Lcoc;)V
intermediary method_5712
Lnet/minecraft/class_1297;method_5712(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
named playStepSound
Lnet/minecraft/entity/Entity;playStepSound(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
playWalkSound
- Mappings:
Namespace Name Mixin selector official a
Lbiw;a(Lcjo;)V
intermediary method_6761
Lnet/minecraft/class_1496;method_6761(Lnet/minecraft/class_2498;)V
named playWalkSound
Lnet/minecraft/entity/passive/HorseBaseEntity;playWalkSound(Lnet/minecraft/sound/BlockSoundGroup;)V
-
createBaseHorseAttributes
- Mappings:
Namespace Name Mixin selector official fU
Lbiw;fU()Layh$a;
intermediary method_26899
Lnet/minecraft/class_1496;method_26899()Lnet/minecraft/class_5132$class_5133;
named createBaseHorseAttributes
Lnet/minecraft/entity/passive/HorseBaseEntity;createBaseHorseAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
-
getLimitPerChunk
public int getLimitPerChunk()- Overrides:
getLimitPerChunk
in classMobEntity
- Mappings:
Namespace Name Mixin selector official fe
Laxj;fe()I
intermediary method_5945
Lnet/minecraft/class_1308;method_5945()I
named getLimitPerChunk
Lnet/minecraft/entity/mob/MobEntity;getLimitPerChunk()I
-
getMaxTemper
public int getMaxTemper()- Mappings:
Namespace Name Mixin selector official fV
Lbiw;fV()I
intermediary method_6755
Lnet/minecraft/class_1496;method_6755()I
named getMaxTemper
Lnet/minecraft/entity/passive/HorseBaseEntity;getMaxTemper()I
-
getSoundVolume
protected float getSoundVolume()- Overrides:
getSoundVolume
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official eu
Laxh;eu()F
intermediary method_6107
Lnet/minecraft/class_1309;method_6107()F
named getSoundVolume
Lnet/minecraft/entity/LivingEntity;getSoundVolume()F
-
getMinAmbientSoundDelay
public int getMinAmbientSoundDelay()- Overrides:
getMinAmbientSoundDelay
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector official J
Laxj;J()I
intermediary method_5970
Lnet/minecraft/class_1308;method_5970()I
named getMinAmbientSoundDelay
Lnet/minecraft/entity/mob/MobEntity;getMinAmbientSoundDelay()I
-
openInventory
- Mappings:
Namespace Name Mixin selector official f
Lbiw;f(Lbnr;)V
intermediary method_6722
Lnet/minecraft/class_1496;method_6722(Lnet/minecraft/class_1657;)V
named openInventory
Lnet/minecraft/entity/passive/HorseBaseEntity;openInventory(Lnet/minecraft/entity/player/PlayerEntity;)V
-
interactHorse
- Mappings:
Namespace Name Mixin selector official a
Lbiw;a(Lbnr;Lbue;)Lavq;
intermediary method_30009
Lnet/minecraft/class_1496;method_30009(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)Lnet/minecraft/class_1269;
named interactHorse
Lnet/minecraft/entity/passive/HorseBaseEntity;interactHorse(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)Lnet/minecraft/util/ActionResult;
-
receiveFood
- Mappings:
Namespace Name Mixin selector official b
Lbiw;b(Lbnr;Lbue;)Z
intermediary method_6742
Lnet/minecraft/class_1496;method_6742(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)Z
named receiveFood
Lnet/minecraft/entity/passive/HorseBaseEntity;receiveFood(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)Z
-
putPlayerOnBack
- Mappings:
Namespace Name Mixin selector official h
Lbiw;h(Lbnr;)V
intermediary method_6726
Lnet/minecraft/class_1496;method_6726(Lnet/minecraft/class_1657;)V
named putPlayerOnBack
Lnet/minecraft/entity/passive/HorseBaseEntity;putPlayerOnBack(Lnet/minecraft/entity/player/PlayerEntity;)V
-
isImmobile
protected boolean isImmobile()- Overrides:
isImmobile
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official ew
Laxh;ew()Z
intermediary method_6062
Lnet/minecraft/class_1309;method_6062()Z
named isImmobile
Lnet/minecraft/entity/LivingEntity;isImmobile()Z
-
isBreedingItem
- Overrides:
isBreedingItem
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector official n
Lbhl;n(Lbue;)Z
intermediary method_6481
Lnet/minecraft/class_1429;method_6481(Lnet/minecraft/class_1799;)Z
named isBreedingItem
Lnet/minecraft/entity/passive/AnimalEntity;isBreedingItem(Lnet/minecraft/item/ItemStack;)Z
-
wagTail
private void wagTail()- Mappings:
Namespace Name Mixin selector official fy
Lbiw;fy()V
intermediary method_6759
Lnet/minecraft/class_1496;method_6759()V
named wagTail
Lnet/minecraft/entity/passive/HorseBaseEntity;wagTail()V
-
dropInventory
protected void dropInventory()- Overrides:
dropInventory
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official ec
Laxh;ec()V
intermediary method_16078
Lnet/minecraft/class_1309;method_16078()V
named dropInventory
Lnet/minecraft/entity/LivingEntity;dropInventory()V
-
tickMovement
public void tickMovement()- Overrides:
tickMovement
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector official w_
Laxh;w_()V
intermediary method_6007
Lnet/minecraft/class_1309;method_6007()V
named tickMovement
Lnet/minecraft/entity/LivingEntity;tickMovement()V
-
walkToParent
protected void walkToParent()- Mappings:
Namespace Name Mixin selector official fW
Lbiw;fW()V
intermediary method_6746
Lnet/minecraft/class_1496;method_6746()V
named walkToParent
Lnet/minecraft/entity/passive/HorseBaseEntity;walkToParent()V
-
eatsGrass
public boolean eatsGrass()- Mappings:
Namespace Name Mixin selector official fX
Lbiw;fX()Z
intermediary method_6762
Lnet/minecraft/class_1496;method_6762()Z
named eatsGrass
Lnet/minecraft/entity/passive/HorseBaseEntity;eatsGrass()Z
-
tick
public void tick() -
setEating
private void setEating()- Mappings:
Namespace Name Mixin selector official fA
Lbiw;fA()V
intermediary method_6738
Lnet/minecraft/class_1496;method_6738()V
named setEating
Lnet/minecraft/entity/passive/HorseBaseEntity;setEating()V
-
setEatingGrass
public void setEatingGrass(boolean eatingGrass) - Mappings:
Namespace Name Mixin selector official z
Lbiw;z(Z)V
intermediary method_6740
Lnet/minecraft/class_1496;method_6740(Z)V
named setEatingGrass
Lnet/minecraft/entity/passive/HorseBaseEntity;setEatingGrass(Z)V
-
setAngry
public void setAngry(boolean angry) - Mappings:
Namespace Name Mixin selector official A
Lbiw;A(Z)V
intermediary method_6737
Lnet/minecraft/class_1496;method_6737(Z)V
named setAngry
Lnet/minecraft/entity/passive/HorseBaseEntity;setAngry(Z)V
-
updateAnger
private void updateAnger()- Mappings:
Namespace Name Mixin selector official fG
Lbiw;fG()V
intermediary method_6748
Lnet/minecraft/class_1496;method_6748()V
named updateAnger
Lnet/minecraft/entity/passive/HorseBaseEntity;updateAnger()V
-
playAngrySound
public void playAngrySound()- Mappings:
Namespace Name Mixin selector official fY
Lbiw;fY()V
intermediary method_6757
Lnet/minecraft/class_1496;method_6757()V
named playAngrySound
Lnet/minecraft/entity/passive/HorseBaseEntity;playAngrySound()V
-
bondWithPlayer
- Mappings:
Namespace Name Mixin selector official i
Lbiw;i(Lbnr;)Z
intermediary method_6752
Lnet/minecraft/class_1496;method_6752(Lnet/minecraft/class_1657;)Z
named bondWithPlayer
Lnet/minecraft/entity/passive/HorseBaseEntity;bondWithPlayer(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
travel
Allows you to do certain speed and velocity calculations. This is useful for custom vehicle behavior, or custom entity movement. This is not to be confused with AI.See vanilla examples of custom horse vehicle and flying entities.
- Overrides:
travel
in classLivingEntity
- Parameters:
movementInput
- represents the sidewaysSpeed, upwardSpeed, and forwardSpeed of the entity in that order- Mappings:
Namespace Name Mixin selector official h
Laxh;h(Ldom;)V
intermediary method_6091
Lnet/minecraft/class_1309;method_6091(Lnet/minecraft/class_243;)V
named travel
Lnet/minecraft/entity/LivingEntity;travel(Lnet/minecraft/util/math/Vec3d;)V
-
playJumpSound
protected void playJumpSound()- Mappings:
Namespace Name Mixin selector official fZ
Lbiw;fZ()V
intermediary method_6723
Lnet/minecraft/class_1496;method_6723()V
named playJumpSound
Lnet/minecraft/entity/passive/HorseBaseEntity;playJumpSound()V
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbt
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector official b
Lawt;b(Loc;)V
intermediary method_5652
Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
named writeCustomDataToNbt
Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
- Overrides:
readCustomDataFromNbt
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector official a
Lawt;a(Loc;)V
intermediary method_5749
Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
named readCustomDataFromNbt
Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
canBreedWith
- Overrides:
canBreedWith
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector official a
Lbhl;a(Lbhl;)Z
intermediary method_6474
Lnet/minecraft/class_1429;method_6474(Lnet/minecraft/class_1429;)Z
named canBreedWith
Lnet/minecraft/entity/passive/AnimalEntity;canBreedWith(Lnet/minecraft/entity/passive/AnimalEntity;)Z
-
canBreed
protected boolean canBreed()- Mappings:
Namespace Name Mixin selector official ga
Lbiw;ga()Z
intermediary method_6734
Lnet/minecraft/class_1496;method_6734()Z
named canBreed
Lnet/minecraft/entity/passive/HorseBaseEntity;canBreed()Z
-
createChild
- Specified by:
createChild
in classPassiveEntity
- Mappings:
Namespace Name Mixin selector official a
Lawr;a(Ladi;Lawr;)Lawr;
intermediary method_5613
Lnet/minecraft/class_1296;method_5613(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_1296;
named createChild
Lnet/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 a
Lbiw;a(Lawr;Lbiw;)V
intermediary method_6743
Lnet/minecraft/class_1496;method_6743(Lnet/minecraft/class_1296;Lnet/minecraft/class_1496;)V
named setChildAttributes
Lnet/minecraft/entity/passive/HorseBaseEntity;setChildAttributes(Lnet/minecraft/entity/passive/PassiveEntity;Lnet/minecraft/entity/passive/HorseBaseEntity;)V
-
canBeControlledByRider
public boolean canBeControlledByRider()- Overrides:
canBeControlledByRider
in classMobEntity
- Mappings:
Namespace Name Mixin selector official ff
Laxj;ff()Z
intermediary method_5956
Lnet/minecraft/class_1308;method_5956()Z
named canBeControlledByRider
Lnet/minecraft/entity/mob/MobEntity;canBeControlledByRider()Z
-
getEatingGrassAnimationProgress
public float getEatingGrassAnimationProgress(float tickDelta) - Mappings:
Namespace Name Mixin selector official z
Lbiw;z(F)F
intermediary method_6739
Lnet/minecraft/class_1496;method_6739(F)F
named getEatingGrassAnimationProgress
Lnet/minecraft/entity/passive/HorseBaseEntity;getEatingGrassAnimationProgress(F)F
-
getAngryAnimationProgress
public float getAngryAnimationProgress(float tickDelta) - Mappings:
Namespace Name Mixin selector official A
Lbiw;A(F)F
intermediary method_6767
Lnet/minecraft/class_1496;method_6767(F)F
named getAngryAnimationProgress
Lnet/minecraft/entity/passive/HorseBaseEntity;getAngryAnimationProgress(F)F
-
getEatingAnimationProgress
public float getEatingAnimationProgress(float tickDelta) - Mappings:
Namespace Name Mixin selector official B
Lbiw;B(F)F
intermediary method_6772
Lnet/minecraft/class_1496;method_6772(F)F
named getEatingAnimationProgress
Lnet/minecraft/entity/passive/HorseBaseEntity;getEatingAnimationProgress(F)F
-
setJumpStrength
public void setJumpStrength(int strength) - Specified by:
setJumpStrength
in interfaceJumpingMount
- Mappings:
Namespace Name Mixin selector official a
Laxs;a(I)V
intermediary method_6154
Lnet/minecraft/class_1316;method_6154(I)V
named setJumpStrength
Lnet/minecraft/entity/JumpingMount;setJumpStrength(I)V
-
canJump
public boolean canJump()- Specified by:
canJump
in interfaceJumpingMount
- Mappings:
Namespace Name Mixin selector official a
Laxs;a()Z
intermediary method_6153
Lnet/minecraft/class_1316;method_6153()Z
named canJump
Lnet/minecraft/entity/JumpingMount;canJump()Z
-
startJumping
public void startJumping(int height) - Specified by:
startJumping
in interfaceJumpingMount
- Mappings:
Namespace Name Mixin selector official b
Laxs;b(I)V
intermediary method_6155
Lnet/minecraft/class_1316;method_6155(I)V
named startJumping
Lnet/minecraft/entity/JumpingMount;startJumping(I)V
-
stopJumping
public void stopJumping()- Specified by:
stopJumping
in interfaceJumpingMount
- Mappings:
Namespace Name Mixin selector official b
Laxs;b()V
intermediary method_6156
Lnet/minecraft/class_1316;method_6156()V
named stopJumping
Lnet/minecraft/entity/JumpingMount;stopJumping()V
-
spawnPlayerReactionParticles
protected void spawnPlayerReactionParticles(boolean positive) - Mappings:
Namespace Name Mixin selector official B
Lbiw;B(Z)V
intermediary method_6760
Lnet/minecraft/class_1496;method_6760(Z)V
named spawnPlayerReactionParticles
Lnet/minecraft/entity/passive/HorseBaseEntity;spawnPlayerReactionParticles(Z)V
-
handleStatus
public void handleStatus(byte status) - Overrides:
handleStatus
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector official a
Lawt;a(B)V
intermediary method_5711
Lnet/minecraft/class_1297;method_5711(B)V
named handleStatus
Lnet/minecraft/entity/Entity;handleStatus(B)V
-
updatePassengerPosition
- Overrides:
updatePassengerPosition
in classEntity
- Mappings:
Namespace Name Mixin selector official i
Lawt;i(Lawt;)V
intermediary method_5865
Lnet/minecraft/class_1297;method_5865(Lnet/minecraft/class_1297;)V
named updatePassengerPosition
Lnet/minecraft/entity/Entity;updatePassengerPosition(Lnet/minecraft/entity/Entity;)V
-
getChildHealthBonus
protected float getChildHealthBonus()- Mappings:
Namespace Name Mixin selector official gb
Lbiw;gb()F
intermediary method_6754
Lnet/minecraft/class_1496;method_6754()F
named getChildHealthBonus
Lnet/minecraft/entity/passive/HorseBaseEntity;getChildHealthBonus()F
-
getChildJumpStrengthBonus
protected double getChildJumpStrengthBonus()- Mappings:
Namespace Name Mixin selector official gc
Lbiw;gc()D
intermediary method_6774
Lnet/minecraft/class_1496;method_6774()D
named getChildJumpStrengthBonus
Lnet/minecraft/entity/passive/HorseBaseEntity;getChildJumpStrengthBonus()D
-
getChildMovementSpeedBonus
protected double getChildMovementSpeedBonus()- Mappings:
Namespace Name Mixin selector official gd
Lbiw;gd()D
intermediary method_6728
Lnet/minecraft/class_1496;method_6728()D
named getChildMovementSpeedBonus
Lnet/minecraft/entity/passive/HorseBaseEntity;getChildMovementSpeedBonus()D
-
isClimbing
public boolean isClimbing()- Overrides:
isClimbing
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official b_
Laxh;b_()Z
intermediary method_6101
Lnet/minecraft/class_1309;method_6101()Z
named isClimbing
Lnet/minecraft/entity/LivingEntity;isClimbing()Z
-
getActiveEyeHeight
- Overrides:
getActiveEyeHeight
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official b
Laxh;b(Laxt;Lawu;)F
intermediary method_18394
Lnet/minecraft/class_1309;method_18394(Lnet/minecraft/class_4050;Lnet/minecraft/class_4048;)F
named getActiveEyeHeight
Lnet/minecraft/entity/LivingEntity;getActiveEyeHeight(Lnet/minecraft/entity/EntityPose;Lnet/minecraft/entity/EntityDimensions;)F
-
hasArmorSlot
public boolean hasArmorSlot()Whether this horse has a slot for custom equipment besides a saddle.In the item slot argument type, the slot is referred to as
horse.armor
. In this horse's screen, it appears in the middle of the left side, and right below the saddle slot if this horse has a saddle slot.This is used by horse armors and llama carpets, but can be refitted to any purpose.
- Mappings:
Namespace Name Mixin selector official ge
Lbiw;ge()Z
intermediary method_6735
Lnet/minecraft/class_1496;method_6735()Z
named hasArmorSlot
Lnet/minecraft/entity/passive/HorseBaseEntity;hasArmorSlot()Z
-
hasArmorInSlot
public boolean hasArmorInSlot()Whether this horse already has an item stack in its horse armor slot.- See Also:
- Mappings:
Namespace Name Mixin selector official gf
Lbiw;gf()Z
intermediary method_6753
Lnet/minecraft/class_1496;method_6753()Z
named hasArmorInSlot
Lnet/minecraft/entity/passive/HorseBaseEntity;hasArmorInSlot()Z
-
isHorseArmor
Whether the given item stack is valid for this horse's armor slot.- See Also:
- Mappings:
Namespace Name Mixin selector official m
Lbiw;m(Lbue;)Z
intermediary method_6773
Lnet/minecraft/class_1496;method_6773(Lnet/minecraft/class_1799;)Z
named isHorseArmor
Lnet/minecraft/entity/passive/HorseBaseEntity;isHorseArmor(Lnet/minecraft/item/ItemStack;)Z
-
createInventoryStackReference
- Mappings:
Namespace Name Mixin selector official a
Lbiw;a(ILjava/util/function/Predicate;)Laxy;
intermediary method_32335
Lnet/minecraft/class_1496;method_32335(ILjava/util/function/Predicate;)Lnet/minecraft/class_5630;
named createInventoryStackReference
Lnet/minecraft/entity/passive/HorseBaseEntity;createInventoryStackReference(ILjava/util/function/Predicate;)Lnet/minecraft/inventory/StackReference;
-
getStackReference
Obtains a stack reference to be modified. Used by commands like/loot
or/item
.- Overrides:
getStackReference
in classLivingEntity
- Parameters:
mappedIndex
- the mapped index as given by the item slot argument- See Also:
- Mappings:
Namespace Name Mixin selector official k
Lawt;k(I)Laxy;
intermediary method_32318
Lnet/minecraft/class_1297;method_32318(I)Lnet/minecraft/class_5630;
named getStackReference
Lnet/minecraft/entity/Entity;getStackReference(I)Lnet/minecraft/inventory/StackReference;
-
getPrimaryPassenger
- Overrides:
getPrimaryPassenger
in classEntity
- Mappings:
Namespace Name Mixin selector official cE
Lawt;cE()Lawt;
intermediary method_5642
Lnet/minecraft/class_1297;method_5642()Lnet/minecraft/class_1297;
named getPrimaryPassenger
Lnet/minecraft/entity/Entity;getPrimaryPassenger()Lnet/minecraft/entity/Entity;
-
locateSafeDismountingPos
- Mappings:
Namespace Name Mixin selector official a
Lbiw;a(Ldom;Laxh;)Ldom;
intermediary method_27930
Lnet/minecraft/class_1496;method_27930(Lnet/minecraft/class_243;Lnet/minecraft/class_1309;)Lnet/minecraft/class_243;
named locateSafeDismountingPos
Lnet/minecraft/entity/passive/HorseBaseEntity;locateSafeDismountingPos(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/util/math/Vec3d;
-
updatePassengerForDismount
- Overrides:
updatePassengerForDismount
in classEntity
- Mappings:
Namespace Name Mixin selector official b
Lawt;b(Laxh;)Ldom;
intermediary method_24829
Lnet/minecraft/class_1297;method_24829(Lnet/minecraft/class_1309;)Lnet/minecraft/class_243;
named updatePassengerForDismount
Lnet/minecraft/entity/Entity;updatePassengerForDismount(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/util/math/Vec3d;
-
initAttributes
protected void initAttributes()- Mappings:
Namespace Name Mixin selector official q
Lbiw;q()V
intermediary method_6001
Lnet/minecraft/class_1496;method_6001()V
named initAttributes
Lnet/minecraft/entity/passive/HorseBaseEntity;initAttributes()V
-
initialize
@Nullable public @Nullable EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable @Nullable EntityData entityData, @Nullable @Nullable NbtCompound entityNbt) - Overrides:
initialize
in classPassiveEntity
- Mappings:
Namespace Name Mixin selector official a
Laxj;a(Lcas;Lavo;Laxl;Laxz;Loc;)Laxz;
intermediary method_5943
Lnet/minecraft/class_1308;method_5943(Lnet/minecraft/class_5425;Lnet/minecraft/class_1266;Lnet/minecraft/class_3730;Lnet/minecraft/class_1315;Lnet/minecraft/class_2487;)Lnet/minecraft/class_1315;
named initialize
Lnet/minecraft/entity/mob/MobEntity;initialize(Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/world/LocalDifficulty;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/entity/EntityData;Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/entity/EntityData;
-
areInventoriesDifferent
- Mappings:
Namespace Name Mixin selector official b
Lbiw;b(Lavj;)Z
intermediary method_33338
Lnet/minecraft/class_1496;method_33338(Lnet/minecraft/class_1263;)Z
named areInventoriesDifferent
Lnet/minecraft/entity/passive/HorseBaseEntity;areInventoriesDifferent(Lnet/minecraft/inventory/Inventory;)Z
-