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 bfjintermediary net/minecraft/class_1496named net/minecraft/entity/passive/HorseBaseEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.passive.PassiveEntity
PassiveEntity.PassiveDataNested 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 intintprivate static final TrackedData<Byte>protected booleanprivate static final Predicate<LivingEntity>protected SimpleInventoryprivate booleanprotected floatprivate floatprivate floatprivate floatprivate static final TrackedData<Optional<UUID>>private 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.MobEntity
ambientSoundChance, armorDropChances, DEFAULT_DROP_CHANCE, experiencePoints, field_30083, field_30084, field_30085, field_30091, goalSelector, handDropChances, jumpControl, LEASH_KEY, lookControl, moveControl, navigation, targetSelectorFields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, 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, flyingSpeed, 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_FLAGFields inherited from class net.minecraft.entity.Entity
age, dataTracker, distanceTraveled, FALL_FLYING_FLAG_INDEX, fallDistance, field_28627, field_29973, field_29974, field_29987, field_29988, field_29989, field_29990, field_29991, field_29992, field_29993, firstUpdate, FLAGS, fluidHeight, GLOWING_FLAG_INDEX, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inanimate, inNetherPortal, inPowderSnow, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, LOGGER, movementMultiplier, netherPortalTime, noClip, ON_FIRE_FLAG_INDEX, onGround, PASSENGERS_KEY, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, stepHeight, submergedFluidTag, submergedInWater, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire, worldFields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHorseBaseEntity(EntityType<? extends HorseBaseEntity> type, World world) -
Method Summary
Modifier and TypeMethodDescriptionintaddTemper(int difference) booleanbondWithPlayer(PlayerEntity player) booleanbooleanprotected booleancanBreed()booleancanBreedWith(AnimalEntity other) booleancanJump()protected intcomputeFallDamage(float fallDistance, float damageMultiplier) createChild(ServerWorld world, PassiveEntity entity) private StackReferencecreateInventoryStackReference(int slot, Predicate<ItemStack> predicate) protected voidbooleanprotected floatgetActiveEyeHeight(EntityPose pose, EntityDimensions dimensions) protected @Nullable SoundEventfloatgetAngryAnimationProgress(float tickDelta) protected @Nullable SoundEventprotected floatprotected doubleprotected doubleprotected @Nullable SoundEventfloatgetEatingAnimationProgress(float tickDelta) floatgetEatingGrassAnimationProgress(float tickDelta) protected @Nullable SoundEventprotected booleangetHorseFlag(int bitmask) protected @Nullable SoundEventgetHurtSound(DamageSource source) protected intdoubleintintintprotected floatgetStackReference(int mappedIndex) Obtains a stack reference to be modified.intbooleanhandleFallDamage(float fallDistance, float damageMultiplier, DamageSource damageSource) voidhandleStatus(byte status) booleanWhether this horse already has an item stack in its horse armor slot.booleanWhether this horse has a slot for custom equipment besides a saddle.protected voidprotected voidprotected voidprotected voidinitialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) interactHorse(PlayerEntity player, ItemStack stack) booleanisAngry()booleanisBred()booleanisBreedingItem(ItemStack stack) booleanbooleanbooleanisHorseArmor(ItemStack item) Whether the given item stack is valid for this horse's armor slot.protected booleanbooleanisInAir()booleanbooleanbooleanisTame()method_27930(Vec3d vec3d, LivingEntity livingEntity) booleanmethod_33338(Inventory inventory) protected voidvoidonInventoryChanged(Inventory sender) voidopenInventory(PlayerEntity player) voidprivate voidprotected voidprotected voidplayStepSound(BlockPos pos, BlockState state) protected voidplayWalkSound(BlockSoundGroup group) protected voidputPlayerOnBack(PlayerEntity player) voidprotected booleanreceiveFood(PlayerEntity player, ItemStack item) voidsaddle(@Nullable SoundCategory sound) voidsetAngry(boolean angry) voidsetBred(boolean bred) protected voidsetChildAttributes(PassiveEntity mate, HorseBaseEntity child) private voidvoidsetEatingGrass(boolean eatingGrass) protected voidsetHorseFlag(int bitmask, boolean flag) voidsetInAir(boolean inAir) voidsetJumpStrength(int strength) voidsetOwnerUuid(@Nullable UUID uuid) voidsetTame(boolean tame) voidsetTemper(int temper) protected voidspawnPlayerReactionParticles(boolean positive) voidstartJumping(int height) voidvoidtick()voidvoidAllows you to do certain speed and velocity calculations.private voidprotected voidupdateForLeashLength(float leashLength) updatePassengerForDismount(LivingEntity passenger) voidupdatePassengerPosition(Entity passenger) protected voidprivate voidwagTail()protected voidvoidMethods inherited from class net.minecraft.entity.passive.AnimalEntity
breed, canEat, canImmediatelyDespawn, damage, eat, getHeightOffset, getLoveTicks, getLovingPlayer, getPathfindingFavor, getXpToDrop, interactMob, isInLove, isValidNaturalSpawn, lovePlayer, mobTick, resetLoveTicks, setLoveTicksMethods inherited from class net.minecraft.entity.passive.PassiveEntity
getBreedingAge, growUp, growUp, isBaby, isReadyToBreed, onGrowUp, onTrackedDataSet, setBaby, setBreedingAgeMethods inherited from class net.minecraft.entity.mob.PathAwareEntity
canSpawn, getPathfindingFavor, getRunFromLeashSpeed, isNavigating, updateLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canBeLeashedBy, canEquip, canGather, canJumpToNextPathNode, canMobSpawn, canMoveVoluntarily, cannotDespawn, canPickupItem, canPickUpLoot, canSpawn, canTarget, canUseRangedWeapon, checkDespawn, clearGoalsAndTasks, convertTo, createBodyControl, createMobAttributes, createNavigation, detachLeash, dropEquipment, dropLoot, enchantEquipment, enchantMainHandItem, equipLootStack, equipStack, getArmorItems, getBodyYawSpeed, getDropChance, getEquipmentForSlot, getEquippedStack, getHoldingEntity, getItemsHand, getJumpControl, getLookControl, getLookPitchSpeed, getLookYawSpeed, getLootContextBuilder, getLootTable, getLootTableId, getMainArm, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getSafeFallDistance, getTarget, getVisibilityCache, hasPositionTarget, initEquipment, interact, isAffectedByDaylight, isAiDisabled, isAttacking, isDisallowedInPeaceful, isInWalkTargetRange, isInWalkTargetRange, isLeashed, isLeftHanded, isLogicalSideForUpdatingMovement, isPersistent, lookAtEntity, loot, method_35055, 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, updateGoalControlsMethods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, addStatusEffect, animateDamage, applyArmorToDamage, applyDamage, applyEnchantmentsToDamage, applyMovementEffects, 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, getFallSound, 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, method_26318, 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, wakeUpMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addFlapEffects, addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, adjustSingleAxisMovementForCollisions, 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, 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, getX, getY, getYaw, getZ, handleAttack, 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, method_30951, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, 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, writeNbtMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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 bULbfj;bU:Iintermediary field_30413Lnet/minecraft/class_1496;field_30413:Inamed field_30413Lnet/minecraft/entity/passive/HorseBaseEntity;field_30413:I
-
field_30414
public static final int field_30414- See Also:
- Mappings:
Namespace Name Mixin selector official bWLbfj;bW:Iintermediary field_30414Lnet/minecraft/class_1496;field_30414:Inamed field_30414Lnet/minecraft/entity/passive/HorseBaseEntity;field_30414:I
-
field_30415
public static final int field_30415- See Also:
- Mappings:
Namespace Name Mixin selector official bXLbfj;bX:Iintermediary field_30415Lnet/minecraft/class_1496;field_30415:Inamed field_30415Lnet/minecraft/entity/passive/HorseBaseEntity;field_30415:I
-
IS_BRED_HORSE
- Mappings:
Namespace Name Mixin selector official bTLbfj;bT:Ljava/util/function/Predicate;intermediary field_6956Lnet/minecraft/class_1496;field_6956:Ljava/util/function/Predicate;named IS_BRED_HORSELnet/minecraft/entity/passive/HorseBaseEntity;IS_BRED_HORSE:Ljava/util/function/Predicate;
-
PARENT_HORSE_PREDICATE
- Mappings:
Namespace Name Mixin selector official cjLbfj;cj:Lbda;intermediary field_18118Lnet/minecraft/class_1496;field_18118:Lnet/minecraft/class_4051;named PARENT_HORSE_PREDICATELnet/minecraft/entity/passive/HorseBaseEntity;PARENT_HORSE_PREDICATE:Lnet/minecraft/entity/ai/TargetPredicate;
-
BREEDING_INGREDIENT
- Mappings:
Namespace Name Mixin selector official ckLbfj;ck:Lbtf;intermediary field_25374Lnet/minecraft/class_1496;field_25374:Lnet/minecraft/class_1856;named BREEDING_INGREDIENTLnet/minecraft/entity/passive/HorseBaseEntity;BREEDING_INGREDIENT:Lnet/minecraft/recipe/Ingredient;
-
HORSE_FLAGS
- Mappings:
Namespace Name Mixin selector official clLbfj;cl:Lwf;intermediary field_6959Lnet/minecraft/class_1496;field_6959:Lnet/minecraft/class_2940;named HORSE_FLAGSLnet/minecraft/entity/passive/HorseBaseEntity;HORSE_FLAGS:Lnet/minecraft/entity/data/TrackedData;
-
OWNER_UUID
- Mappings:
Namespace Name Mixin selector official cmLbfj;cm:Lwf;intermediary field_6972Lnet/minecraft/class_1496;field_6972:Lnet/minecraft/class_2940;named OWNER_UUIDLnet/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 cnLbfj;cn:Iintermediary field_30419Lnet/minecraft/class_1496;field_30419:Inamed TAMED_FLAGLnet/minecraft/entity/passive/HorseBaseEntity;TAMED_FLAG:I
-
SADDLED_FLAG
private static final int SADDLED_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official coLbfj;co:Iintermediary field_30420Lnet/minecraft/class_1496;field_30420:Inamed SADDLED_FLAGLnet/minecraft/entity/passive/HorseBaseEntity;SADDLED_FLAG:I
-
BRED_FLAG
private static final int BRED_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official cpLbfj;cp:Iintermediary field_30421Lnet/minecraft/class_1496;field_30421:Inamed BRED_FLAGLnet/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 cqLbfj;cq:Iintermediary field_30422Lnet/minecraft/class_1496;field_30422:Inamed EATING_GRASS_FLAGLnet/minecraft/entity/passive/HorseBaseEntity;EATING_GRASS_FLAG:I
-
ANGRY_FLAG
private static final int ANGRY_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official crLbfj;cr:Iintermediary field_30423Lnet/minecraft/class_1496;field_30423:Inamed ANGRY_FLAGLnet/minecraft/entity/passive/HorseBaseEntity;ANGRY_FLAG:I
-
EATING_FLAG
private static final int EATING_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official csLbfj;cs:Iintermediary field_30424Lnet/minecraft/class_1496;field_30424:Inamed EATING_FLAGLnet/minecraft/entity/passive/HorseBaseEntity;EATING_FLAG:I
-
field_30416
public static final int field_30416- See Also:
- Mappings:
Namespace Name Mixin selector official bYLbfj;bY:Iintermediary field_30416Lnet/minecraft/class_1496;field_30416:Inamed field_30416Lnet/minecraft/entity/passive/HorseBaseEntity;field_30416:I
-
field_30417
public static final int field_30417- See Also:
- Mappings:
Namespace Name Mixin selector official bZLbfj;bZ:Iintermediary field_30417Lnet/minecraft/class_1496;field_30417:Inamed field_30417Lnet/minecraft/entity/passive/HorseBaseEntity;field_30417:I
-
field_30418
public static final int field_30418- See Also:
- Mappings:
Namespace Name Mixin selector official caLbfj;ca:Iintermediary field_30418Lnet/minecraft/class_1496;field_30418:Inamed field_30418Lnet/minecraft/entity/passive/HorseBaseEntity;field_30418:I
-
eatingGrassTicks
private int eatingGrassTicks- Mappings:
Namespace Name Mixin selector official ctLbfj;ct:Iintermediary field_6971Lnet/minecraft/class_1496;field_6971:Inamed eatingGrassTicksLnet/minecraft/entity/passive/HorseBaseEntity;eatingGrassTicks:I
-
eatingTicks
private int eatingTicks- Mappings:
Namespace Name Mixin selector official cuLbfj;cu:Iintermediary field_6973Lnet/minecraft/class_1496;field_6973:Inamed eatingTicksLnet/minecraft/entity/passive/HorseBaseEntity;eatingTicks:I
-
angryTicks
private int angryTicks- Mappings:
Namespace Name Mixin selector official cvLbfj;cv:Iintermediary field_6970Lnet/minecraft/class_1496;field_6970:Inamed angryTicksLnet/minecraft/entity/passive/HorseBaseEntity;angryTicks:I
-
tailWagTicks
public int tailWagTicks- Mappings:
Namespace Name Mixin selector official cbLbfj;cb:Iintermediary field_6957Lnet/minecraft/class_1496;field_6957:Inamed tailWagTicksLnet/minecraft/entity/passive/HorseBaseEntity;tailWagTicks:I
-
field_6958
public int field_6958- Mappings:
Namespace Name Mixin selector official ccLbfj;cc:Iintermediary field_6958Lnet/minecraft/class_1496;field_6958:Inamed field_6958Lnet/minecraft/entity/passive/HorseBaseEntity;field_6958:I
-
inAir
protected boolean inAir- Mappings:
Namespace Name Mixin selector official cdLbfj;cd:Zintermediary field_6968Lnet/minecraft/class_1496;field_6968:Znamed inAirLnet/minecraft/entity/passive/HorseBaseEntity;inAir:Z
-
items
- Mappings:
Namespace Name Mixin selector official ceLbfj;ce:Lasg;intermediary field_6962Lnet/minecraft/class_1496;field_6962:Lnet/minecraft/class_1277;named itemsLnet/minecraft/entity/passive/HorseBaseEntity;items:Lnet/minecraft/inventory/SimpleInventory;
-
temper
protected int temper- Mappings:
Namespace Name Mixin selector official cfLbfj;cf:Iintermediary field_6955Lnet/minecraft/class_1496;field_6955:Inamed temperLnet/minecraft/entity/passive/HorseBaseEntity;temper:I
-
jumpStrength
protected float jumpStrength- Mappings:
Namespace Name Mixin selector official cgLbfj;cg:Fintermediary field_6976Lnet/minecraft/class_1496;field_6976:Fnamed jumpStrengthLnet/minecraft/entity/passive/HorseBaseEntity;jumpStrength:F
-
jumping
private boolean jumping- Mappings:
Namespace Name Mixin selector official cwLbfj;cw:Zintermediary field_6960Lnet/minecraft/class_1496;field_6960:Znamed jumpingLnet/minecraft/entity/passive/HorseBaseEntity;jumping:Z
-
eatingGrassAnimationProgress
private float eatingGrassAnimationProgress- Mappings:
Namespace Name Mixin selector official cxLbfj;cx:Fintermediary field_6969Lnet/minecraft/class_1496;field_6969:Fnamed eatingGrassAnimationProgressLnet/minecraft/entity/passive/HorseBaseEntity;eatingGrassAnimationProgress:F
-
lastEatingGrassAnimationProgress
private float lastEatingGrassAnimationProgress- Mappings:
Namespace Name Mixin selector official cyLbfj;cy:Fintermediary field_6966Lnet/minecraft/class_1496;field_6966:Fnamed lastEatingGrassAnimationProgressLnet/minecraft/entity/passive/HorseBaseEntity;lastEatingGrassAnimationProgress:F
-
angryAnimationProgress
private float angryAnimationProgress- Mappings:
Namespace Name Mixin selector official czLbfj;cz:Fintermediary field_6967Lnet/minecraft/class_1496;field_6967:Fnamed angryAnimationProgressLnet/minecraft/entity/passive/HorseBaseEntity;angryAnimationProgress:F
-
lastAngryAnimationProgress
private float lastAngryAnimationProgress- Mappings:
Namespace Name Mixin selector official cALbfj;cA:Fintermediary field_6963Lnet/minecraft/class_1496;field_6963:Fnamed lastAngryAnimationProgressLnet/minecraft/entity/passive/HorseBaseEntity;lastAngryAnimationProgress:F
-
eatingAnimationProgress
private float eatingAnimationProgress- Mappings:
Namespace Name Mixin selector official cBLbfj;cB:Fintermediary field_6965Lnet/minecraft/class_1496;field_6965:Fnamed eatingAnimationProgressLnet/minecraft/entity/passive/HorseBaseEntity;eatingAnimationProgress:F
-
lastEatingAnimationProgress
private float lastEatingAnimationProgress- Mappings:
Namespace Name Mixin selector official cCLbfj;cC:Fintermediary field_6961Lnet/minecraft/class_1496;field_6961:Fnamed lastEatingAnimationProgressLnet/minecraft/entity/passive/HorseBaseEntity;lastEatingAnimationProgress:F
-
playExtraHorseSounds
protected boolean playExtraHorseSounds- Mappings:
Namespace Name Mixin selector official chLbfj;ch:Zintermediary field_6964Lnet/minecraft/class_1496;field_6964:Znamed playExtraHorseSoundsLnet/minecraft/entity/passive/HorseBaseEntity;playExtraHorseSounds:Z
-
soundTicks
protected int soundTicks- Mappings:
Namespace Name Mixin selector official ciLbfj;ci:Iintermediary field_6975Lnet/minecraft/class_1496;field_6975:Inamed soundTicksLnet/minecraft/entity/passive/HorseBaseEntity;soundTicks:I
-
-
Constructor Details
-
HorseBaseEntity
- Mappings:
Namespace Name Mixin selector official <init>Latg;<init>(Latk;Lbwq;)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 fFLbfj;fF()Vintermediary method_6764Lnet/minecraft/class_1496;method_6764()Vnamed initCustomGoalsLnet/minecraft/entity/passive/HorseBaseEntity;initCustomGoals()V
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTrackerin classPassiveEntity- Mappings:
Namespace Name Mixin selector official a_Latg;a_()Vintermediary method_5693Lnet/minecraft/class_1297;method_5693()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
getHorseFlag
protected boolean getHorseFlag(int bitmask) - Mappings:
Namespace Name Mixin selector official uLbfj;u(I)Zintermediary method_6730Lnet/minecraft/class_1496;method_6730(I)Znamed getHorseFlagLnet/minecraft/entity/passive/HorseBaseEntity;getHorseFlag(I)Z
-
setHorseFlag
protected void setHorseFlag(int bitmask, boolean flag) - Mappings:
Namespace Name Mixin selector official dLbfj;d(IZ)Vintermediary method_6769Lnet/minecraft/class_1496;method_6769(IZ)Vnamed setHorseFlagLnet/minecraft/entity/passive/HorseBaseEntity;setHorseFlag(IZ)V
-
isTame
public boolean isTame()- Mappings:
Namespace Name Mixin selector official fGLbfj;fG()Zintermediary method_6727Lnet/minecraft/class_1496;method_6727()Znamed isTameLnet/minecraft/entity/passive/HorseBaseEntity;isTame()Z
-
getOwnerUuid
- Mappings:
Namespace Name Mixin selector official fHLbfj;fH()Ljava/util/UUID;intermediary method_6768Lnet/minecraft/class_1496;method_6768()Ljava/util/UUID;named getOwnerUuidLnet/minecraft/entity/passive/HorseBaseEntity;getOwnerUuid()Ljava/util/UUID;
-
setOwnerUuid
- Mappings:
Namespace Name Mixin selector official bLbfj;b(Ljava/util/UUID;)Vintermediary method_6732Lnet/minecraft/class_1496;method_6732(Ljava/util/UUID;)Vnamed setOwnerUuidLnet/minecraft/entity/passive/HorseBaseEntity;setOwnerUuid(Ljava/util/UUID;)V
-
isInAir
public boolean isInAir()- Mappings:
Namespace Name Mixin selector official fILbfj;fI()Zintermediary method_6763Lnet/minecraft/class_1496;method_6763()Znamed isInAirLnet/minecraft/entity/passive/HorseBaseEntity;isInAir()Z
-
setTame
public void setTame(boolean tame) - Mappings:
Namespace Name Mixin selector official wLbfj;w(Z)Vintermediary method_6766Lnet/minecraft/class_1496;method_6766(Z)Vnamed setTameLnet/minecraft/entity/passive/HorseBaseEntity;setTame(Z)V
-
setInAir
public void setInAir(boolean inAir) - Mappings:
Namespace Name Mixin selector official xLbfj;x(Z)Vintermediary method_6758Lnet/minecraft/class_1496;method_6758(Z)Vnamed setInAirLnet/minecraft/entity/passive/HorseBaseEntity;setInAir(Z)V
-
updateForLeashLength
protected void updateForLeashLength(float leashLength) - Overrides:
updateForLeashLengthin classPathAwareEntity- Mappings:
Namespace Name Mixin selector official yLaud;y(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 fJLbfj;fJ()Zintermediary method_6724Lnet/minecraft/class_1496;method_6724()Znamed isEatingGrassLnet/minecraft/entity/passive/HorseBaseEntity;isEatingGrass()Z
-
isAngry
public boolean isAngry()- Mappings:
Namespace Name Mixin selector official fKLbfj;fK()Zintermediary method_6736Lnet/minecraft/class_1496;method_6736()Znamed isAngryLnet/minecraft/entity/passive/HorseBaseEntity;isAngry()Z
-
isBred
public boolean isBred()- Mappings:
Namespace Name Mixin selector official fLLbfj;fL()Zintermediary method_6744Lnet/minecraft/class_1496;method_6744()Znamed isBredLnet/minecraft/entity/passive/HorseBaseEntity;isBred()Z
-
setBred
public void setBred(boolean bred) - Mappings:
Namespace Name Mixin selector official yLbfj;y(Z)Vintermediary method_6751Lnet/minecraft/class_1496;method_6751(Z)Vnamed setBredLnet/minecraft/entity/passive/HorseBaseEntity;setBred(Z)V
-
canBeSaddled
public boolean canBeSaddled()- Specified by:
canBeSaddledin interfaceSaddleable- Mappings:
Namespace Name Mixin selector official cLauj;c()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 aLauj;a(Laff;)Vintermediary method_6576Lnet/minecraft/class_5146;method_6576(Lnet/minecraft/class_3419;)Vnamed saddleLnet/minecraft/entity/Saddleable;saddle(Lnet/minecraft/sound/SoundCategory;)V
-
isSaddled
public boolean isSaddled()- Specified by:
isSaddledin interfaceSaddleable- Mappings:
Namespace Name Mixin selector official dLauj;d()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 fMLbfj;fM()Iintermediary method_6729Lnet/minecraft/class_1496;method_6729()Inamed getTemperLnet/minecraft/entity/passive/HorseBaseEntity;getTemper()I
-
setTemper
public void setTemper(int temper) - Mappings:
Namespace Name Mixin selector official vLbfj;v(I)Vintermediary method_6749Lnet/minecraft/class_1496;method_6749(I)Vnamed setTemperLnet/minecraft/entity/passive/HorseBaseEntity;setTemper(I)V
-
addTemper
public int addTemper(int difference) - Mappings:
Namespace Name Mixin selector official wLbfj;w(I)Iintermediary method_6745Lnet/minecraft/class_1496;method_6745(I)Inamed addTemperLnet/minecraft/entity/passive/HorseBaseEntity;addTemper(I)I
-
isPushable
public boolean isPushable()- Overrides:
isPushablein classLivingEntity- Mappings:
Namespace Name Mixin selector official bdLatg;bd()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 tLbfj;t()Vintermediary method_6733Lnet/minecraft/class_1496;method_6733()Vnamed playEatingAnimationLnet/minecraft/entity/passive/HorseBaseEntity;playEatingAnimation()V
-
handleFallDamage
public boolean handleFallDamage(float fallDistance, float damageMultiplier, DamageSource damageSource) - Overrides:
handleFallDamagein classLivingEntity- Mappings:
Namespace Name Mixin selector official aLatg;a(FFLasq;)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 dLatu;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 fxLbfj;fx()Iintermediary method_6750Lnet/minecraft/class_1496;method_6750()Inamed getInventorySizeLnet/minecraft/entity/passive/HorseBaseEntity;getInventorySize()I
-
onChestedStatusChanged
protected void onChestedStatusChanged()- Mappings:
Namespace Name Mixin selector official fNLbfj;fN()Vintermediary method_6721Lnet/minecraft/class_1496;method_6721()Vnamed onChestedStatusChangedLnet/minecraft/entity/passive/HorseBaseEntity;onChestedStatusChanged()V
-
updateSaddle
protected void updateSaddle()- Mappings:
Namespace Name Mixin selector official fOLbfj;fO()Vintermediary method_6731Lnet/minecraft/class_1496;method_6731()Vnamed updateSaddleLnet/minecraft/entity/passive/HorseBaseEntity;updateSaddle()V
-
onInventoryChanged
- Specified by:
onInventoryChangedin interfaceInventoryChangedListener- Mappings:
Namespace Name Mixin selector official aLarw;a(Laru;)Vintermediary method_5453Lnet/minecraft/class_1265;method_5453(Lnet/minecraft/class_1263;)Vnamed onInventoryChangedLnet/minecraft/inventory/InventoryChangedListener;onInventoryChanged(Lnet/minecraft/inventory/Inventory;)V
-
getJumpStrength
public double getJumpStrength()- Mappings:
Namespace Name Mixin selector official fPLbfj;fP()Dintermediary method_6771Lnet/minecraft/class_1496;method_6771()Dnamed getJumpStrengthLnet/minecraft/entity/passive/HorseBaseEntity;getJumpStrength()D
-
getEatSound
- Mappings:
Namespace Name Mixin selector official fQLbfj;fQ()Lafd;intermediary method_28368Lnet/minecraft/class_1496;method_28368()Lnet/minecraft/class_3414;named getEatSoundLnet/minecraft/entity/passive/HorseBaseEntity;getEatSound()Lnet/minecraft/sound/SoundEvent;
-
getDeathSound
- Overrides:
getDeathSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official v_Latu;v_()Lafd;intermediary method_6002Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
-
getHurtSound
- Overrides:
getHurtSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official cLatu;c(Lasq;)Lafd;intermediary method_6011Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;named getHurtSoundLnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
-
getAmbientSound
- Overrides:
getAmbientSoundin classMobEntity- Mappings:
Namespace Name Mixin selector official qLatw;q()Lafd;intermediary method_5994Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;named getAmbientSoundLnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
-
getAngrySound
- Mappings:
Namespace Name Mixin selector official fRLbfj;fR()Lafd;intermediary method_6747Lnet/minecraft/class_1496;method_6747()Lnet/minecraft/class_3414;named getAngrySoundLnet/minecraft/entity/passive/HorseBaseEntity;getAngrySound()Lnet/minecraft/sound/SoundEvent;
-
playStepSound
- Overrides:
playStepSoundin classEntity- Mappings:
Namespace Name Mixin selector official bLatg;b(Lgg;Lckt;)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
-
playWalkSound
- Mappings:
Namespace Name Mixin selector official aLbfj;a(Lcgf;)Vintermediary method_6761Lnet/minecraft/class_1496;method_6761(Lnet/minecraft/class_2498;)Vnamed playWalkSoundLnet/minecraft/entity/passive/HorseBaseEntity;playWalkSound(Lnet/minecraft/sound/BlockSoundGroup;)V
-
createBaseHorseAttributes
- Mappings:
Namespace Name Mixin selector official fSLbfj;fS()Lauu$a;intermediary method_26899Lnet/minecraft/class_1496;method_26899()Lnet/minecraft/class_5132$class_5133;named createBaseHorseAttributesLnet/minecraft/entity/passive/HorseBaseEntity;createBaseHorseAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
-
getLimitPerChunk
public int getLimitPerChunk()- Overrides:
getLimitPerChunkin classMobEntity- Mappings:
Namespace Name Mixin selector official fcLatw;fc()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 fTLbfj;fT()Iintermediary method_6755Lnet/minecraft/class_1496;method_6755()Inamed getMaxTemperLnet/minecraft/entity/passive/HorseBaseEntity;getMaxTemper()I
-
getSoundVolume
protected float getSoundVolume()- Overrides:
getSoundVolumein classLivingEntity- Mappings:
Namespace Name Mixin selector official eoLatu;eo()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 JLatw;J()Iintermediary method_5970Lnet/minecraft/class_1308;method_5970()Inamed getMinAmbientSoundDelayLnet/minecraft/entity/mob/MobEntity;getMinAmbientSoundDelay()I
-
openInventory
- Mappings:
Namespace Name Mixin selector official fLbfj;f(Lbke;)Vintermediary method_6722Lnet/minecraft/class_1496;method_6722(Lnet/minecraft/class_1657;)Vnamed openInventoryLnet/minecraft/entity/passive/HorseBaseEntity;openInventory(Lnet/minecraft/entity/player/PlayerEntity;)V
-
interactHorse
- Mappings:
Namespace Name Mixin selector official aLbfj;a(Lbke;Lbqq;)Lasb;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/HorseBaseEntity;interactHorse(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)Lnet/minecraft/util/ActionResult;
-
receiveFood
- Mappings:
Namespace Name Mixin selector official bLbfj;b(Lbke;Lbqq;)Zintermediary method_6742Lnet/minecraft/class_1496;method_6742(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)Znamed receiveFoodLnet/minecraft/entity/passive/HorseBaseEntity;receiveFood(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)Z
-
putPlayerOnBack
- Mappings:
Namespace Name Mixin selector official hLbfj;h(Lbke;)Vintermediary method_6726Lnet/minecraft/class_1496;method_6726(Lnet/minecraft/class_1657;)Vnamed putPlayerOnBackLnet/minecraft/entity/passive/HorseBaseEntity;putPlayerOnBack(Lnet/minecraft/entity/player/PlayerEntity;)V
-
isImmobile
protected boolean isImmobile()- Overrides:
isImmobilein classLivingEntity- Mappings:
Namespace Name Mixin selector official eqLatu;eq()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 nLbdy;n(Lbqq;)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 fwLbfj;fw()Vintermediary method_6759Lnet/minecraft/class_1496;method_6759()Vnamed wagTailLnet/minecraft/entity/passive/HorseBaseEntity;wagTail()V
-
dropInventory
protected void dropInventory()- Overrides:
dropInventoryin classLivingEntity- Mappings:
Namespace Name Mixin selector official dXLatu;dX()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 u_Latu;u_()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 fULbfj;fU()Vintermediary method_6746Lnet/minecraft/class_1496;method_6746()Vnamed walkToParentLnet/minecraft/entity/passive/HorseBaseEntity;walkToParent()V
-
eatsGrass
public boolean eatsGrass()- Mappings:
Namespace Name Mixin selector official fVLbfj;fV()Zintermediary method_6762Lnet/minecraft/class_1496;method_6762()Znamed eatsGrassLnet/minecraft/entity/passive/HorseBaseEntity;eatsGrass()Z
-
tick
public void tick() -
setEating
private void setEating()- Mappings:
Namespace Name Mixin selector official fyLbfj;fy()Vintermediary method_6738Lnet/minecraft/class_1496;method_6738()Vnamed setEatingLnet/minecraft/entity/passive/HorseBaseEntity;setEating()V
-
setEatingGrass
public void setEatingGrass(boolean eatingGrass) - Mappings:
Namespace Name Mixin selector official zLbfj;z(Z)Vintermediary method_6740Lnet/minecraft/class_1496;method_6740(Z)Vnamed setEatingGrassLnet/minecraft/entity/passive/HorseBaseEntity;setEatingGrass(Z)V
-
setAngry
public void setAngry(boolean angry) - Mappings:
Namespace Name Mixin selector official ALbfj;A(Z)Vintermediary method_6737Lnet/minecraft/class_1496;method_6737(Z)Vnamed setAngryLnet/minecraft/entity/passive/HorseBaseEntity;setAngry(Z)V
-
updateAnger
private void updateAnger()- Mappings:
Namespace Name Mixin selector official fELbfj;fE()Vintermediary method_6748Lnet/minecraft/class_1496;method_6748()Vnamed updateAngerLnet/minecraft/entity/passive/HorseBaseEntity;updateAnger()V
-
playAngrySound
public void playAngrySound()- Mappings:
Namespace Name Mixin selector official fWLbfj;fW()Vintermediary method_6757Lnet/minecraft/class_1496;method_6757()Vnamed playAngrySoundLnet/minecraft/entity/passive/HorseBaseEntity;playAngrySound()V
-
bondWithPlayer
- Mappings:
Namespace Name Mixin selector official iLbfj;i(Lbke;)Zintermediary method_6752Lnet/minecraft/class_1496;method_6752(Lnet/minecraft/class_1657;)Znamed bondWithPlayerLnet/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:
travelin classLivingEntity- Parameters:
movementInput- represents the sidewaysSpeed, upwardSpeed, and forwardSpeed of the entity in that order- Mappings:
Namespace Name Mixin selector official gLatu;g(Ldna;)Vintermediary method_6091Lnet/minecraft/class_1309;method_6091(Lnet/minecraft/class_243;)Vnamed travelLnet/minecraft/entity/LivingEntity;travel(Lnet/minecraft/util/math/Vec3d;)V
-
playJumpSound
protected void playJumpSound()- Mappings:
Namespace Name Mixin selector official fXLbfj;fX()Vintermediary method_6723Lnet/minecraft/class_1496;method_6723()Vnamed playJumpSoundLnet/minecraft/entity/passive/HorseBaseEntity;playJumpSound()V
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbtin classAnimalEntity- Mappings:
Namespace Name Mixin selector official bLatg;b(Lna;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
- Overrides:
readCustomDataFromNbtin classAnimalEntity- Mappings:
Namespace Name Mixin selector official aLatg;a(Lna;)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 aLbdy;a(Lbdy;)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 fYLbfj;fY()Zintermediary method_6734Lnet/minecraft/class_1496;method_6734()Znamed canBreedLnet/minecraft/entity/passive/HorseBaseEntity;canBreed()Z
-
createChild
- Specified by:
createChildin classPassiveEntity- Mappings:
Namespace Name Mixin selector official aLate;a(Labr;Late;)Late;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 aLbfj;a(Late;Lbfj;)Vintermediary method_6743Lnet/minecraft/class_1496;method_6743(Lnet/minecraft/class_1296;Lnet/minecraft/class_1496;)Vnamed setChildAttributesLnet/minecraft/entity/passive/HorseBaseEntity;setChildAttributes(Lnet/minecraft/entity/passive/PassiveEntity;Lnet/minecraft/entity/passive/HorseBaseEntity;)V
-
canBeControlledByRider
public boolean canBeControlledByRider()- Overrides:
canBeControlledByRiderin classMobEntity- Mappings:
Namespace Name Mixin selector official fdLatw;fd()Zintermediary method_5956Lnet/minecraft/class_1308;method_5956()Znamed canBeControlledByRiderLnet/minecraft/entity/mob/MobEntity;canBeControlledByRider()Z
-
getEatingGrassAnimationProgress
public float getEatingGrassAnimationProgress(float tickDelta) - Mappings:
Namespace Name Mixin selector official zLbfj;z(F)Fintermediary method_6739Lnet/minecraft/class_1496;method_6739(F)Fnamed getEatingGrassAnimationProgressLnet/minecraft/entity/passive/HorseBaseEntity;getEatingGrassAnimationProgress(F)F
-
getAngryAnimationProgress
public float getAngryAnimationProgress(float tickDelta) - Mappings:
Namespace Name Mixin selector official ALbfj;A(F)Fintermediary method_6767Lnet/minecraft/class_1496;method_6767(F)Fnamed getAngryAnimationProgressLnet/minecraft/entity/passive/HorseBaseEntity;getAngryAnimationProgress(F)F
-
getEatingAnimationProgress
public float getEatingAnimationProgress(float tickDelta) - Mappings:
Namespace Name Mixin selector official BLbfj;B(F)Fintermediary method_6772Lnet/minecraft/class_1496;method_6772(F)Fnamed getEatingAnimationProgressLnet/minecraft/entity/passive/HorseBaseEntity;getEatingAnimationProgress(F)F
-
setJumpStrength
public void setJumpStrength(int strength) - Specified by:
setJumpStrengthin interfaceJumpingMount- Mappings:
Namespace Name Mixin selector official aLauf;a(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 aLauf;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 bLauf;b(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 bLauf;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 BLbfj;B(Z)Vintermediary method_6760Lnet/minecraft/class_1496;method_6760(Z)Vnamed spawnPlayerReactionParticlesLnet/minecraft/entity/passive/HorseBaseEntity;spawnPlayerReactionParticles(Z)V
-
handleStatus
public void handleStatus(byte status) - Overrides:
handleStatusin classAnimalEntity- Mappings:
Namespace Name Mixin selector official aLatg;a(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 iLatg;i(Latg;)Vintermediary method_5865Lnet/minecraft/class_1297;method_5865(Lnet/minecraft/class_1297;)Vnamed updatePassengerPositionLnet/minecraft/entity/Entity;updatePassengerPosition(Lnet/minecraft/entity/Entity;)V
-
getChildHealthBonus
protected float getChildHealthBonus()- Mappings:
Namespace Name Mixin selector official fZLbfj;fZ()Fintermediary method_6754Lnet/minecraft/class_1496;method_6754()Fnamed getChildHealthBonusLnet/minecraft/entity/passive/HorseBaseEntity;getChildHealthBonus()F
-
getChildJumpStrengthBonus
protected double getChildJumpStrengthBonus()- Mappings:
Namespace Name Mixin selector official gaLbfj;ga()Dintermediary method_6774Lnet/minecraft/class_1496;method_6774()Dnamed getChildJumpStrengthBonusLnet/minecraft/entity/passive/HorseBaseEntity;getChildJumpStrengthBonus()D
-
getChildMovementSpeedBonus
protected double getChildMovementSpeedBonus()- Mappings:
Namespace Name Mixin selector official gbLbfj;gb()Dintermediary method_6728Lnet/minecraft/class_1496;method_6728()Dnamed getChildMovementSpeedBonusLnet/minecraft/entity/passive/HorseBaseEntity;getChildMovementSpeedBonus()D
-
isClimbing
public boolean isClimbing()- Overrides:
isClimbingin classLivingEntity- Mappings:
Namespace Name Mixin selector official b_Latu;b_()Zintermediary method_6101Lnet/minecraft/class_1309;method_6101()Znamed isClimbingLnet/minecraft/entity/LivingEntity;isClimbing()Z
-
getActiveEyeHeight
- Overrides:
getActiveEyeHeightin classLivingEntity- Mappings:
Namespace Name Mixin selector official bLatu;b(Laug;Lath;)Fintermediary method_18394Lnet/minecraft/class_1309;method_18394(Lnet/minecraft/class_4050;Lnet/minecraft/class_4048;)Fnamed getActiveEyeHeightLnet/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 gcLbfj;gc()Zintermediary method_6735Lnet/minecraft/class_1496;method_6735()Znamed hasArmorSlotLnet/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 gdLbfj;gd()Zintermediary method_6753Lnet/minecraft/class_1496;method_6753()Znamed hasArmorInSlotLnet/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 mLbfj;m(Lbqq;)Zintermediary method_6773Lnet/minecraft/class_1496;method_6773(Lnet/minecraft/class_1799;)Znamed isHorseArmorLnet/minecraft/entity/passive/HorseBaseEntity;isHorseArmor(Lnet/minecraft/item/ItemStack;)Z
-
createInventoryStackReference
- Mappings:
Namespace Name Mixin selector official aLbfj;a(ILjava/util/function/Predicate;)Laul;intermediary method_32335Lnet/minecraft/class_1496;method_32335(ILjava/util/function/Predicate;)Lnet/minecraft/class_5630;named createInventoryStackReferenceLnet/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/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 kLatg;k(I)Laul;intermediary method_32318Lnet/minecraft/class_1297;method_32318(I)Lnet/minecraft/class_5630;named getStackReferenceLnet/minecraft/entity/Entity;getStackReference(I)Lnet/minecraft/inventory/StackReference;
-
getPrimaryPassenger
- Overrides:
getPrimaryPassengerin classEntity- Mappings:
Namespace Name Mixin selector official czLatg;cz()Latg;intermediary method_5642Lnet/minecraft/class_1297;method_5642()Lnet/minecraft/class_1297;named getPrimaryPassengerLnet/minecraft/entity/Entity;getPrimaryPassenger()Lnet/minecraft/entity/Entity;
-
method_27930
- Mappings:
Namespace Name Mixin selector official aLbfj;a(Ldna;Latu;)Ldna;intermediary method_27930Lnet/minecraft/class_1496;method_27930(Lnet/minecraft/class_243;Lnet/minecraft/class_1309;)Lnet/minecraft/class_243;named method_27930Lnet/minecraft/entity/passive/HorseBaseEntity;method_27930(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/util/math/Vec3d;
-
updatePassengerForDismount
- Overrides:
updatePassengerForDismountin classEntity- Mappings:
Namespace Name Mixin selector official bLatg;b(Latu;)Ldna;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
protected void initAttributes()- Mappings:
Namespace Name Mixin selector official pLbfj;p()Vintermediary method_6001Lnet/minecraft/class_1496;method_6001()Vnamed initAttributesLnet/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:
initializein classPassiveEntity- Mappings:
Namespace Name Mixin selector official aLatw;a(Lbxe;Larz;Laty;Laum;Lna;)Laum;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_2487;)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/nbt/NbtCompound;)Lnet/minecraft/entity/EntityData;
-
method_33338
- Mappings:
Namespace Name Mixin selector official bLbfj;b(Laru;)Zintermediary method_33338Lnet/minecraft/class_1496;method_33338(Lnet/minecraft/class_1263;)Znamed method_33338Lnet/minecraft/entity/passive/HorseBaseEntity;method_33338(Lnet/minecraft/inventory/Inventory;)Z
-