Class AbstractHorseEntity

All Implemented Interfaces:
JumpingMount, Mount, RideableInventory, Saddleable, InventoryChangedListener, CommandOutput, Nameable, EntityLike
Direct Known Subclasses:
AbstractDonkeyEntity, CamelEntity, HorseEntity, SkeletonHorseEntity, ZombieHorseEntity

public abstract class AbstractHorseEntity extends AnimalEntity implements InventoryChangedListener, RideableInventory, JumpingMount, Saddleable
Mappings:
Namespace Name
official brn
intermediary net/minecraft/class_1496
named net/minecraft/entity/passive/AbstractHorseEntity
  • Field Details

    • field_30413

      public static final int field_30413
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official ci Lbrn;ci:I
      intermediary field_30413 Lnet/minecraft/class_1496;field_30413:I
      named field_30413 Lnet/minecraft/entity/passive/AbstractHorseEntity;field_30413:I
    • field_30414

      public static final int field_30414
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official cj Lbrn;cj:I
      intermediary field_30414 Lnet/minecraft/class_1496;field_30414:I
      named field_30414 Lnet/minecraft/entity/passive/AbstractHorseEntity;field_30414:I
    • field_30415

      public static final int field_30415
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official ck Lbrn;ck:I
      intermediary field_30415 Lnet/minecraft/class_1496;field_30415:I
      named field_30415 Lnet/minecraft/entity/passive/AbstractHorseEntity;field_30415:I
    • IS_BRED_HORSE

      private static final Predicate<LivingEntity> IS_BRED_HORSE
      Mappings:
      Namespace Name Mixin selector
      official bX Lbrn;bX: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/AbstractHorseEntity;IS_BRED_HORSE:Ljava/util/function/Predicate;
    • PARENT_HORSE_PREDICATE

      private static final TargetPredicate PARENT_HORSE_PREDICATE
      Mappings:
      Namespace Name Mixin selector
      official bY Lbrn;bY:Lbop;
      intermediary field_18118 Lnet/minecraft/class_1496;field_18118:Lnet/minecraft/class_4051;
      named PARENT_HORSE_PREDICATE Lnet/minecraft/entity/passive/AbstractHorseEntity;PARENT_HORSE_PREDICATE:Lnet/minecraft/entity/ai/TargetPredicate;
    • BREEDING_INGREDIENT

      private static final Ingredient BREEDING_INGREDIENT
      Mappings:
      Namespace Name Mixin selector
      official ca Lbrn;ca:Lcgl;
      intermediary field_25374 Lnet/minecraft/class_1496;field_25374:Lnet/minecraft/class_1856;
      named BREEDING_INGREDIENT Lnet/minecraft/entity/passive/AbstractHorseEntity;BREEDING_INGREDIENT:Lnet/minecraft/recipe/Ingredient;
    • HORSE_FLAGS

      private static final TrackedData<Byte> HORSE_FLAGS
      Mappings:
      Namespace Name Mixin selector
      official cb Lbrn;cb:Labn;
      intermediary field_6959 Lnet/minecraft/class_1496;field_6959:Lnet/minecraft/class_2940;
      named HORSE_FLAGS Lnet/minecraft/entity/passive/AbstractHorseEntity;HORSE_FLAGS:Lnet/minecraft/entity/data/TrackedData;
    • OWNER_UUID

      private static final TrackedData<Optional<UUID>> OWNER_UUID
      Mappings:
      Namespace Name Mixin selector
      official cc Lbrn;cc:Labn;
      intermediary field_6972 Lnet/minecraft/class_1496;field_6972:Lnet/minecraft/class_2940;
      named OWNER_UUID Lnet/minecraft/entity/passive/AbstractHorseEntity;OWNER_UUID:Lnet/minecraft/entity/data/TrackedData;
    • TAMED_FLAG

      private static final int TAMED_FLAG
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official cd Lbrn;cd:I
      intermediary field_30419 Lnet/minecraft/class_1496;field_30419:I
      named TAMED_FLAG Lnet/minecraft/entity/passive/AbstractHorseEntity;TAMED_FLAG:I
    • SADDLED_FLAG

      private static final int SADDLED_FLAG
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official ce Lbrn;ce:I
      intermediary field_30420 Lnet/minecraft/class_1496;field_30420:I
      named SADDLED_FLAG Lnet/minecraft/entity/passive/AbstractHorseEntity;SADDLED_FLAG:I
    • BRED_FLAG

      private static final int BRED_FLAG
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official cf Lbrn;cf:I
      intermediary field_30421 Lnet/minecraft/class_1496;field_30421:I
      named BRED_FLAG Lnet/minecraft/entity/passive/AbstractHorseEntity;BRED_FLAG:I
    • EATING_GRASS_FLAG

      private static final int EATING_GRASS_FLAG
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official cg Lbrn;cg:I
      intermediary field_30422 Lnet/minecraft/class_1496;field_30422:I
      named EATING_GRASS_FLAG Lnet/minecraft/entity/passive/AbstractHorseEntity;EATING_GRASS_FLAG:I
    • ANGRY_FLAG

      private static final int ANGRY_FLAG
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official ch Lbrn;ch:I
      intermediary field_30423 Lnet/minecraft/class_1496;field_30423:I
      named ANGRY_FLAG Lnet/minecraft/entity/passive/AbstractHorseEntity;ANGRY_FLAG:I
    • EATING_FLAG

      private static final int EATING_FLAG
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official cx Lbrn;cx:I
      intermediary field_30424 Lnet/minecraft/class_1496;field_30424:I
      named EATING_FLAG Lnet/minecraft/entity/passive/AbstractHorseEntity;EATING_FLAG:I
    • field_30416

      public static final int field_30416
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official cl Lbrn;cl:I
      intermediary field_30416 Lnet/minecraft/class_1496;field_30416:I
      named field_30416 Lnet/minecraft/entity/passive/AbstractHorseEntity;field_30416:I
    • field_30417

      public static final int field_30417
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official cm Lbrn;cm:I
      intermediary field_30417 Lnet/minecraft/class_1496;field_30417:I
      named field_30417 Lnet/minecraft/entity/passive/AbstractHorseEntity;field_30417:I
    • field_30418

      public static final int field_30418
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official cn Lbrn;cn:I
      intermediary field_30418 Lnet/minecraft/class_1496;field_30418:I
      named field_30418 Lnet/minecraft/entity/passive/AbstractHorseEntity;field_30418:I
    • eatingGrassTicks

      private int eatingGrassTicks
      Mappings:
      Namespace Name Mixin selector
      official cy Lbrn;cy:I
      intermediary field_6971 Lnet/minecraft/class_1496;field_6971:I
      named eatingGrassTicks Lnet/minecraft/entity/passive/AbstractHorseEntity;eatingGrassTicks:I
    • eatingTicks

      private int eatingTicks
      Mappings:
      Namespace Name Mixin selector
      official cz Lbrn;cz:I
      intermediary field_6973 Lnet/minecraft/class_1496;field_6973:I
      named eatingTicks Lnet/minecraft/entity/passive/AbstractHorseEntity;eatingTicks:I
    • angryTicks

      private int angryTicks
      Mappings:
      Namespace Name Mixin selector
      official cA Lbrn;cA:I
      intermediary field_6970 Lnet/minecraft/class_1496;field_6970:I
      named angryTicks Lnet/minecraft/entity/passive/AbstractHorseEntity;angryTicks:I
    • tailWagTicks

      public int tailWagTicks
      Mappings:
      Namespace Name Mixin selector
      official co Lbrn;co:I
      intermediary field_6957 Lnet/minecraft/class_1496;field_6957:I
      named tailWagTicks Lnet/minecraft/entity/passive/AbstractHorseEntity;tailWagTicks:I
    • field_6958

      public int field_6958
      Mappings:
      Namespace Name Mixin selector
      official cp Lbrn;cp:I
      intermediary field_6958 Lnet/minecraft/class_1496;field_6958:I
      named field_6958 Lnet/minecraft/entity/passive/AbstractHorseEntity;field_6958:I
    • inAir

      protected boolean inAir
      Mappings:
      Namespace Name Mixin selector
      official cq Lbrn;cq:Z
      intermediary field_6968 Lnet/minecraft/class_1496;field_6968:Z
      named inAir Lnet/minecraft/entity/passive/AbstractHorseEntity;inAir:Z
    • items

      protected SimpleInventory items
      Mappings:
      Namespace Name Mixin selector
      official cr Lbrn;cr:Lbcr;
      intermediary field_6962 Lnet/minecraft/class_1496;field_6962:Lnet/minecraft/class_1277;
      named items Lnet/minecraft/entity/passive/AbstractHorseEntity;items:Lnet/minecraft/inventory/SimpleInventory;
    • temper

      protected int temper
      Mappings:
      Namespace Name Mixin selector
      official cs Lbrn;cs:I
      intermediary field_6955 Lnet/minecraft/class_1496;field_6955:I
      named temper Lnet/minecraft/entity/passive/AbstractHorseEntity;temper:I
    • jumpStrength

      protected float jumpStrength
      Mappings:
      Namespace Name Mixin selector
      official ct Lbrn;ct:F
      intermediary field_6976 Lnet/minecraft/class_1496;field_6976:F
      named jumpStrength Lnet/minecraft/entity/passive/AbstractHorseEntity;jumpStrength:F
    • jumping

      protected boolean jumping
      Mappings:
      Namespace Name Mixin selector
      official cu Lbrn;cu:Z
      intermediary field_6960 Lnet/minecraft/class_1496;field_6960:Z
      named jumping Lnet/minecraft/entity/passive/AbstractHorseEntity;jumping:Z
    • eatingGrassAnimationProgress

      private float eatingGrassAnimationProgress
      Mappings:
      Namespace Name Mixin selector
      official cB Lbrn;cB:F
      intermediary field_6969 Lnet/minecraft/class_1496;field_6969:F
      named eatingGrassAnimationProgress Lnet/minecraft/entity/passive/AbstractHorseEntity;eatingGrassAnimationProgress:F
    • lastEatingGrassAnimationProgress

      private float lastEatingGrassAnimationProgress
      Mappings:
      Namespace Name Mixin selector
      official cC Lbrn;cC:F
      intermediary field_6966 Lnet/minecraft/class_1496;field_6966:F
      named lastEatingGrassAnimationProgress Lnet/minecraft/entity/passive/AbstractHorseEntity;lastEatingGrassAnimationProgress:F
    • angryAnimationProgress

      private float angryAnimationProgress
      Mappings:
      Namespace Name Mixin selector
      official cD Lbrn;cD:F
      intermediary field_6967 Lnet/minecraft/class_1496;field_6967:F
      named angryAnimationProgress Lnet/minecraft/entity/passive/AbstractHorseEntity;angryAnimationProgress:F
    • lastAngryAnimationProgress

      private float lastAngryAnimationProgress
      Mappings:
      Namespace Name Mixin selector
      official cE Lbrn;cE:F
      intermediary field_6963 Lnet/minecraft/class_1496;field_6963:F
      named lastAngryAnimationProgress Lnet/minecraft/entity/passive/AbstractHorseEntity;lastAngryAnimationProgress:F
    • eatingAnimationProgress

      private float eatingAnimationProgress
      Mappings:
      Namespace Name Mixin selector
      official cF Lbrn;cF:F
      intermediary field_6965 Lnet/minecraft/class_1496;field_6965:F
      named eatingAnimationProgress Lnet/minecraft/entity/passive/AbstractHorseEntity;eatingAnimationProgress:F
    • lastEatingAnimationProgress

      private float lastEatingAnimationProgress
      Mappings:
      Namespace Name Mixin selector
      official cG Lbrn;cG:F
      intermediary field_6961 Lnet/minecraft/class_1496;field_6961:F
      named lastEatingAnimationProgress Lnet/minecraft/entity/passive/AbstractHorseEntity;lastEatingAnimationProgress:F
    • playExtraHorseSounds

      protected boolean playExtraHorseSounds
      Mappings:
      Namespace Name Mixin selector
      official cv Lbrn;cv:Z
      intermediary field_6964 Lnet/minecraft/class_1496;field_6964:Z
      named playExtraHorseSounds Lnet/minecraft/entity/passive/AbstractHorseEntity;playExtraHorseSounds:Z
    • soundTicks

      protected int soundTicks
      Mappings:
      Namespace Name Mixin selector
      official cw Lbrn;cw:I
      intermediary field_6975 Lnet/minecraft/class_1496;field_6975:I
      named soundTicks Lnet/minecraft/entity/passive/AbstractHorseEntity;soundTicks:I
  • Constructor Details

    • AbstractHorseEntity

      protected AbstractHorseEntity(EntityType<? extends AbstractHorseEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbdr;<init>(Lbdv;Lcjw;)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()
      Overrides:
      initGoals in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official u Lbei;u()V
      intermediary method_5959 Lnet/minecraft/class_1308;method_5959()V
      named initGoals Lnet/minecraft/entity/mob/MobEntity;initGoals()V
    • initCustomGoals

      protected void initCustomGoals()
      Mappings:
      Namespace Name Mixin selector
      official gd Lbrn;gd()V
      intermediary method_6764 Lnet/minecraft/class_1496;method_6764()V
      named initCustomGoals Lnet/minecraft/entity/passive/AbstractHorseEntity;initCustomGoals()V
    • initDataTracker

      protected void initDataTracker()
      Initializes data tracker.
      Overrides:
      initDataTracker in class PassiveEntity
      Mappings:
      Namespace Name Mixin selector
      official a_ Lbdr;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 Lbrn;t(I)Z
      intermediary method_6730 Lnet/minecraft/class_1496;method_6730(I)Z
      named getHorseFlag Lnet/minecraft/entity/passive/AbstractHorseEntity;getHorseFlag(I)Z
    • setHorseFlag

      protected void setHorseFlag(int bitmask, boolean flag)
      Mappings:
      Namespace Name Mixin selector
      official d Lbrn;d(IZ)V
      intermediary method_6769 Lnet/minecraft/class_1496;method_6769(IZ)V
      named setHorseFlag Lnet/minecraft/entity/passive/AbstractHorseEntity;setHorseFlag(IZ)V
    • isTame

      public boolean isTame()
      Mappings:
      Namespace Name Mixin selector
      official gc Lbrn;gc()Z
      intermediary method_6727 Lnet/minecraft/class_1496;method_6727()Z
      named isTame Lnet/minecraft/entity/passive/AbstractHorseEntity;isTame()Z
    • getOwnerUuid

      @Nullable public @Nullable UUID getOwnerUuid()
      Mappings:
      Namespace Name Mixin selector
      official ge Lbrn;ge()Ljava/util/UUID;
      intermediary method_6768 Lnet/minecraft/class_1496;method_6768()Ljava/util/UUID;
      named getOwnerUuid Lnet/minecraft/entity/passive/AbstractHorseEntity;getOwnerUuid()Ljava/util/UUID;
    • setOwnerUuid

      public void setOwnerUuid(@Nullable @Nullable UUID uuid)
      Mappings:
      Namespace Name Mixin selector
      official b Lbrn;b(Ljava/util/UUID;)V
      intermediary method_6732 Lnet/minecraft/class_1496;method_6732(Ljava/util/UUID;)V
      named setOwnerUuid Lnet/minecraft/entity/passive/AbstractHorseEntity;setOwnerUuid(Ljava/util/UUID;)V
    • isInAir

      public boolean isInAir()
      Mappings:
      Namespace Name Mixin selector
      official gf Lbrn;gf()Z
      intermediary method_6763 Lnet/minecraft/class_1496;method_6763()Z
      named isInAir Lnet/minecraft/entity/passive/AbstractHorseEntity;isInAir()Z
    • setTame

      public void setTame(boolean tame)
      Mappings:
      Namespace Name Mixin selector
      official w Lbrn;w(Z)V
      intermediary method_6766 Lnet/minecraft/class_1496;method_6766(Z)V
      named setTame Lnet/minecraft/entity/passive/AbstractHorseEntity;setTame(Z)V
    • setInAir

      public void setInAir(boolean inAir)
      Mappings:
      Namespace Name Mixin selector
      official x Lbrn;x(Z)V
      intermediary method_6758 Lnet/minecraft/class_1496;method_6758(Z)V
      named setInAir Lnet/minecraft/entity/passive/AbstractHorseEntity;setInAir(Z)V
    • updateForLeashLength

      protected void updateForLeashLength(float leashLength)
      Overrides:
      updateForLeashLength in class PathAwareEntity
      Mappings:
      Namespace Name Mixin selector
      official y Lbep;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 gg Lbrn;gg()Z
      intermediary method_6724 Lnet/minecraft/class_1496;method_6724()Z
      named isEatingGrass Lnet/minecraft/entity/passive/AbstractHorseEntity;isEatingGrass()Z
    • isAngry

      public boolean isAngry()
      Mappings:
      Namespace Name Mixin selector
      official gh Lbrn;gh()Z
      intermediary method_6736 Lnet/minecraft/class_1496;method_6736()Z
      named isAngry Lnet/minecraft/entity/passive/AbstractHorseEntity;isAngry()Z
    • isBred

      public boolean isBred()
      Mappings:
      Namespace Name Mixin selector
      official gi Lbrn;gi()Z
      intermediary method_6744 Lnet/minecraft/class_1496;method_6744()Z
      named isBred Lnet/minecraft/entity/passive/AbstractHorseEntity;isBred()Z
    • setBred

      public void setBred(boolean bred)
      Mappings:
      Namespace Name Mixin selector
      official y Lbrn;y(Z)V
      intermediary method_6751 Lnet/minecraft/class_1496;method_6751(Z)V
      named setBred Lnet/minecraft/entity/passive/AbstractHorseEntity;setBred(Z)V
    • canBeSaddled

      public boolean canBeSaddled()
      Specified by:
      canBeSaddled in interface Saddleable
      Mappings:
      Namespace Name Mixin selector
      official d Lbew;d()Z
      intermediary method_6765 Lnet/minecraft/class_5146;method_6765()Z
      named canBeSaddled Lnet/minecraft/entity/Saddleable;canBeSaddled()Z
    • saddle

      public void saddle(@Nullable @Nullable SoundCategory sound)
      Specified by:
      saddle in interface Saddleable
      Mappings:
      Namespace Name Mixin selector
      official a Lbew;a(Lalp;)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
    • equipHorseArmor

      public void equipHorseArmor(PlayerEntity player, ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official b Lbrn;b(Lbwp;Lcdt;)V
      intermediary method_45375 Lnet/minecraft/class_1496;method_45375(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)V
      named equipHorseArmor Lnet/minecraft/entity/passive/AbstractHorseEntity;equipHorseArmor(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)V
    • isSaddled

      public boolean isSaddled()
      Specified by:
      isSaddled in interface Saddleable
      Mappings:
      Namespace Name Mixin selector
      official g Lbew;g()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 gj Lbrn;gj()I
      intermediary method_6729 Lnet/minecraft/class_1496;method_6729()I
      named getTemper Lnet/minecraft/entity/passive/AbstractHorseEntity;getTemper()I
    • setTemper

      public void setTemper(int temper)
      Mappings:
      Namespace Name Mixin selector
      official u Lbrn;u(I)V
      intermediary method_6749 Lnet/minecraft/class_1496;method_6749(I)V
      named setTemper Lnet/minecraft/entity/passive/AbstractHorseEntity;setTemper(I)V
    • addTemper

      public int addTemper(int difference)
      Mappings:
      Namespace Name Mixin selector
      official v Lbrn;v(I)I
      intermediary method_6745 Lnet/minecraft/class_1496;method_6745(I)I
      named addTemper Lnet/minecraft/entity/passive/AbstractHorseEntity;addTemper(I)I
    • isPushable

      public boolean isPushable()
      Returns whether the entity can be pushed by other entities.
      Overrides:
      isPushable in class LivingEntity
      Returns:
      whether the entity can be pushed by other entities
      Mappings:
      Namespace Name Mixin selector
      official bo Lbdr;bo()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 p Lbrn;p()V
      intermediary method_6733 Lnet/minecraft/class_1496;method_6733()V
      named playEatingAnimation Lnet/minecraft/entity/passive/AbstractHorseEntity;playEatingAnimation()V
    • handleFallDamage

      public boolean handleFallDamage(float fallDistance, float damageMultiplier, DamageSource damageSource)
      Called when an entity falls.

      Flying mobs and mobs immune to fall damage should override this to do nothing. Mobs with reduced fall damage should override this method to apply reduced damage instead. Some entities explode instead of applying fall damage, like TntMinecartEntity.

      Overrides:
      handleFallDamage in class LivingEntity
      Returns:
      whether to play the sound when falling on honey block; false for all entities except horses and llamas
      Mappings:
      Namespace Name Mixin selector
      official a Lbdr;a(FFLbcz;)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 class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official d Lbeg;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 L_ Lbrn;L_()I
      intermediary method_6750 Lnet/minecraft/class_1496;method_6750()I
      named getInventorySize Lnet/minecraft/entity/passive/AbstractHorseEntity;getInventorySize()I
    • onChestedStatusChanged

      protected void onChestedStatusChanged()
      Mappings:
      Namespace Name Mixin selector
      official gk Lbrn;gk()V
      intermediary method_6721 Lnet/minecraft/class_1496;method_6721()V
      named onChestedStatusChanged Lnet/minecraft/entity/passive/AbstractHorseEntity;onChestedStatusChanged()V
    • updateSaddle

      protected void updateSaddle()
      Mappings:
      Namespace Name Mixin selector
      official gl Lbrn;gl()V
      intermediary method_6731 Lnet/minecraft/class_1496;method_6731()V
      named updateSaddle Lnet/minecraft/entity/passive/AbstractHorseEntity;updateSaddle()V
    • onInventoryChanged

      public void onInventoryChanged(Inventory sender)
      Specified by:
      onInventoryChanged in interface InventoryChangedListener
      Mappings:
      Namespace Name Mixin selector
      official a Lbch;a(Lbcf;)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 gm Lbrn;gm()D
      intermediary method_6771 Lnet/minecraft/class_1496;method_6771()D
      named getJumpStrength Lnet/minecraft/entity/passive/AbstractHorseEntity;getJumpStrength()D
    • damage

      public boolean damage(DamageSource source, float amount)
      Applies a damage to this entity. The exact implementation differs between subclasses.

      LivingEntity has health value, and damaging the entity decreases it. This also handles shields, extra damage to helmets for falling blocks, setting the attacker, playing hurt sound, etc.

      Some entities like ItemEntity also have health value, which the overridden method decrements. There also exist several entities, like EndCrystalEntity, where any damage discards the entity (perhaps with an explosion).

      If this is overridden, it must check the result of Entity.isInvulnerableTo(net.minecraft.entity.damage.DamageSource) and return early.

      Overrides:
      damage in class AnimalEntity
      Returns:
      whether the entity was actually damaged
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lbdr;a(Lbcz;F)Z
      intermediary method_5643 Lnet/minecraft/class_1297;method_5643(Lnet/minecraft/class_1282;F)Z
      named damage Lnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
    • shouldAmbientStand

      protected boolean shouldAmbientStand()
      Mappings:
      Namespace Name Mixin selector
      official fO Lbrn;fO()Z
      intermediary method_45349 Lnet/minecraft/class_1496;method_45349()Z
      named shouldAmbientStand Lnet/minecraft/entity/passive/AbstractHorseEntity;shouldAmbientStand()Z
    • getEatSound

      @Nullable protected @Nullable SoundEvent getEatSound()
      Mappings:
      Namespace Name Mixin selector
      official fU Lbrn;fU()Laln;
      intermediary method_28368 Lnet/minecraft/class_1496;method_28368()Lnet/minecraft/class_3414;
      named getEatSound Lnet/minecraft/entity/passive/AbstractHorseEntity;getEatSound()Lnet/minecraft/sound/SoundEvent;
    • getAngrySound

      @Nullable protected @Nullable SoundEvent getAngrySound()
      Mappings:
      Namespace Name Mixin selector
      official gn Lbrn;gn()Laln;
      intermediary method_6747 Lnet/minecraft/class_1496;method_6747()Lnet/minecraft/class_3414;
      named getAngrySound Lnet/minecraft/entity/passive/AbstractHorseEntity;getAngrySound()Lnet/minecraft/sound/SoundEvent;
    • playStepSound

      protected void playStepSound(BlockPos pos, BlockState state)
      Overrides:
      playStepSound in class Entity
      Mappings:
      Namespace Name Mixin selector
      official b Lbdr;b(Lgp;Lcyt;)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

      protected void playWalkSound(BlockSoundGroup group)
      Mappings:
      Namespace Name Mixin selector
      official a Lbrn;a(Lctz;)V
      intermediary method_6761 Lnet/minecraft/class_1496;method_6761(Lnet/minecraft/class_2498;)V
      named playWalkSound Lnet/minecraft/entity/passive/AbstractHorseEntity;playWalkSound(Lnet/minecraft/sound/BlockSoundGroup;)V
    • createBaseHorseAttributes

      public static DefaultAttributeContainer.Builder createBaseHorseAttributes()
      Mappings:
      Namespace Name Mixin selector
      official go Lbrn;go()Lbfi$a;
      intermediary method_26899 Lnet/minecraft/class_1496;method_26899()Lnet/minecraft/class_5132$class_5133;
      named createBaseHorseAttributes Lnet/minecraft/entity/passive/AbstractHorseEntity;createBaseHorseAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
    • getLimitPerChunk

      public int getLimitPerChunk()
      Overrides:
      getLimitPerChunk in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official Y Lbei;Y()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 gp Lbrn;gp()I
      intermediary method_6755 Lnet/minecraft/class_1496;method_6755()I
      named getMaxTemper Lnet/minecraft/entity/passive/AbstractHorseEntity;getMaxTemper()I
    • getSoundVolume

      protected float getSoundVolume()
      Overrides:
      getSoundVolume in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official eI Lbeg;eI()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 class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official K Lbei;K()I
      intermediary method_5970 Lnet/minecraft/class_1308;method_5970()I
      named getMinAmbientSoundDelay Lnet/minecraft/entity/mob/MobEntity;getMinAmbientSoundDelay()I
    • openInventory

      public void openInventory(PlayerEntity player)
      Specified by:
      openInventory in interface RideableInventory
      Mappings:
      Namespace Name Mixin selector
      official b Lbea;b(Lbwp;)V
      intermediary method_6722 Lnet/minecraft/class_7248;method_6722(Lnet/minecraft/class_1657;)V
      named openInventory Lnet/minecraft/entity/RideableInventory;openInventory(Lnet/minecraft/entity/player/PlayerEntity;)V
    • interactHorse

      public ActionResult interactHorse(PlayerEntity player, ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official c Lbrn;c(Lbwp;Lcdt;)Lbcm;
      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/AbstractHorseEntity;interactHorse(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)Lnet/minecraft/util/ActionResult;
    • receiveFood

      protected boolean receiveFood(PlayerEntity player, ItemStack item)
      Mappings:
      Namespace Name Mixin selector
      official a Lbrn;a(Lbwp;Lcdt;)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/AbstractHorseEntity;receiveFood(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)Z
    • putPlayerOnBack

      protected void putPlayerOnBack(PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official e Lbrn;e(Lbwp;)V
      intermediary method_6726 Lnet/minecraft/class_1496;method_6726(Lnet/minecraft/class_1657;)V
      named putPlayerOnBack Lnet/minecraft/entity/passive/AbstractHorseEntity;putPlayerOnBack(Lnet/minecraft/entity/player/PlayerEntity;)V
    • isImmobile

      public boolean isImmobile()
      Overrides:
      isImmobile in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official eK Lbeg;eK()Z
      intermediary method_6062 Lnet/minecraft/class_1309;method_6062()Z
      named isImmobile Lnet/minecraft/entity/LivingEntity;isImmobile()Z
    • isBreedingItem

      public boolean isBreedingItem(ItemStack stack)
      Overrides:
      isBreedingItem in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official n Lbpo;n(Lcdt;)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 t Lbrn;t()V
      intermediary method_6759 Lnet/minecraft/class_1496;method_6759()V
      named wagTail Lnet/minecraft/entity/passive/AbstractHorseEntity;wagTail()V
    • dropInventory

      protected void dropInventory()
      Overrides:
      dropInventory in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official en Lbeg;en()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 class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official b_ Lbeg;b_()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 gq Lbrn;gq()V
      intermediary method_6746 Lnet/minecraft/class_1496;method_6746()V
      named walkToParent Lnet/minecraft/entity/passive/AbstractHorseEntity;walkToParent()V
    • eatsGrass

      public boolean eatsGrass()
      Mappings:
      Namespace Name Mixin selector
      official gr Lbrn;gr()Z
      intermediary method_6762 Lnet/minecraft/class_1496;method_6762()Z
      named eatsGrass Lnet/minecraft/entity/passive/AbstractHorseEntity;eatsGrass()Z
    • tick

      public void tick()
      Ticks this entity.
      Overrides:
      tick in class MobEntity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official l Lbdr;l()V
      intermediary method_5773 Lnet/minecraft/class_1297;method_5773()V
      named tick Lnet/minecraft/entity/Entity;tick()V
    • interactMob

      public ActionResult interactMob(PlayerEntity player, Hand hand)
      Overrides:
      interactMob in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lbei;b(Lbwp;Lbcl;)Lbcm;
      intermediary method_5992 Lnet/minecraft/class_1308;method_5992(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
      named interactMob Lnet/minecraft/entity/mob/MobEntity;interactMob(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
    • setEating

      private void setEating()
      Mappings:
      Namespace Name Mixin selector
      official fN Lbrn;fN()V
      intermediary method_6738 Lnet/minecraft/class_1496;method_6738()V
      named setEating Lnet/minecraft/entity/passive/AbstractHorseEntity;setEating()V
    • setEatingGrass

      public void setEatingGrass(boolean eatingGrass)
      Mappings:
      Namespace Name Mixin selector
      official z Lbrn;z(Z)V
      intermediary method_6740 Lnet/minecraft/class_1496;method_6740(Z)V
      named setEatingGrass Lnet/minecraft/entity/passive/AbstractHorseEntity;setEatingGrass(Z)V
    • setAngry

      public void setAngry(boolean angry)
      Mappings:
      Namespace Name Mixin selector
      official A Lbrn;A(Z)V
      intermediary method_6737 Lnet/minecraft/class_1496;method_6737(Z)V
      named setAngry Lnet/minecraft/entity/passive/AbstractHorseEntity;setAngry(Z)V
    • getAmbientStandSound

      @Nullable public @Nullable SoundEvent getAmbientStandSound()
      Mappings:
      Namespace Name Mixin selector
      official gs Lbrn;gs()Laln;
      intermediary method_45376 Lnet/minecraft/class_1496;method_45376()Lnet/minecraft/class_3414;
      named getAmbientStandSound Lnet/minecraft/entity/passive/AbstractHorseEntity;getAmbientStandSound()Lnet/minecraft/sound/SoundEvent;
    • updateAnger

      public void updateAnger()
      Mappings:
      Namespace Name Mixin selector
      official gt Lbrn;gt()V
      intermediary method_6748 Lnet/minecraft/class_1496;method_6748()V
      named updateAnger Lnet/minecraft/entity/passive/AbstractHorseEntity;updateAnger()V
    • playAngrySound

      public void playAngrySound()
      Mappings:
      Namespace Name Mixin selector
      official gu Lbrn;gu()V
      intermediary method_6757 Lnet/minecraft/class_1496;method_6757()V
      named playAngrySound Lnet/minecraft/entity/passive/AbstractHorseEntity;playAngrySound()V
    • bondWithPlayer

      public boolean bondWithPlayer(PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official g Lbrn;g(Lbwp;)Z
      intermediary method_6752 Lnet/minecraft/class_1496;method_6752(Lnet/minecraft/class_1657;)Z
      named bondWithPlayer Lnet/minecraft/entity/passive/AbstractHorseEntity;bondWithPlayer(Lnet/minecraft/entity/player/PlayerEntity;)Z
    • travel

      public void travel(Vec3d movementInput)
      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 class LivingEntity
      Parameters:
      movementInput - represents the sidewaysSpeed, upwardSpeed, and forwardSpeed of the entity in that order
      Mappings:
      Namespace Name Mixin selector
      official h Lbeg;h(Leae;)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
    • getHorsebackMovementSpeed

      protected float getHorsebackMovementSpeed(LivingEntity passenger)
      Mappings:
      Namespace Name Mixin selector
      official l Lbrn;l(Lbeg;)F
      intermediary method_45358 Lnet/minecraft/class_1496;method_45358(Lnet/minecraft/class_1309;)F
      named getHorsebackMovementSpeed Lnet/minecraft/entity/passive/AbstractHorseEntity;getHorsebackMovementSpeed(Lnet/minecraft/entity/LivingEntity;)F
    • ignoresMovementInput

      protected boolean ignoresMovementInput(LivingEntity passenger)
      Mappings:
      Namespace Name Mixin selector
      official m Lbrn;m(Lbeg;)Z
      intermediary method_45359 Lnet/minecraft/class_1496;method_45359(Lnet/minecraft/class_1309;)Z
      named ignoresMovementInput Lnet/minecraft/entity/passive/AbstractHorseEntity;ignoresMovementInput(Lnet/minecraft/entity/LivingEntity;)Z
    • jump

      protected void jump(float strength, float sidewaysSpeed, float forwardSpeed)
      Mappings:
      Namespace Name Mixin selector
      official a Lbrn;a(FFF)V
      intermediary method_45343 Lnet/minecraft/class_1496;method_45343(FFF)V
      named jump Lnet/minecraft/entity/passive/AbstractHorseEntity;jump(FFF)V
    • playJumpSound

      protected void playJumpSound()
      Mappings:
      Namespace Name Mixin selector
      official gv Lbrn;gv()V
      intermediary method_6723 Lnet/minecraft/class_1496;method_6723()V
      named playJumpSound Lnet/minecraft/entity/passive/AbstractHorseEntity;playJumpSound()V
    • writeCustomDataToNbt

      public void writeCustomDataToNbt(NbtCompound nbt)
      Writes custom data to nbt. Subclasses has to implement this.

      NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.

      Overrides:
      writeCustomDataToNbt in class AnimalEntity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lbdr;b(Lqp;)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

      public void readCustomDataFromNbt(NbtCompound nbt)
      Reads custom data from nbt. Subclasses has to implement this.

      NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.

      nbt might not have all expected keys, or might have a key whose value does not meet the requirement (such as the type or the range). This method should fall back to a reasonable default value instead of throwing an exception.

      Overrides:
      readCustomDataFromNbt in class AnimalEntity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lbdr;a(Lqp;)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

      public boolean canBreedWith(AnimalEntity other)
      Overrides:
      canBreedWith in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbpo;a(Lbpo;)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 gw Lbrn;gw()Z
      intermediary method_6734 Lnet/minecraft/class_1496;method_6734()Z
      named canBreed Lnet/minecraft/entity/passive/AbstractHorseEntity;canBreed()Z
    • createChild

      @Nullable public @Nullable PassiveEntity createChild(ServerWorld world, PassiveEntity entity)
      Specified by:
      createChild in class PassiveEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbdo;a(Lahm;Lbdo;)Lbdo;
      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

      protected void setChildAttributes(PassiveEntity mate, AbstractHorseEntity child)
      Mappings:
      Namespace Name Mixin selector
      official a Lbrn;a(Lbdo;Lbrn;)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/AbstractHorseEntity;setChildAttributes(Lnet/minecraft/entity/passive/PassiveEntity;Lnet/minecraft/entity/passive/AbstractHorseEntity;)V
    • getEatingGrassAnimationProgress

      public float getEatingGrassAnimationProgress(float tickDelta)
      Mappings:
      Namespace Name Mixin selector
      official z Lbrn;z(F)F
      intermediary method_6739 Lnet/minecraft/class_1496;method_6739(F)F
      named getEatingGrassAnimationProgress Lnet/minecraft/entity/passive/AbstractHorseEntity;getEatingGrassAnimationProgress(F)F
    • getAngryAnimationProgress

      public float getAngryAnimationProgress(float tickDelta)
      Mappings:
      Namespace Name Mixin selector
      official A Lbrn;A(F)F
      intermediary method_6767 Lnet/minecraft/class_1496;method_6767(F)F
      named getAngryAnimationProgress Lnet/minecraft/entity/passive/AbstractHorseEntity;getAngryAnimationProgress(F)F
    • getEatingAnimationProgress

      public float getEatingAnimationProgress(float tickDelta)
      Mappings:
      Namespace Name Mixin selector
      official B Lbrn;B(F)F
      intermediary method_6772 Lnet/minecraft/class_1496;method_6772(F)F
      named getEatingAnimationProgress Lnet/minecraft/entity/passive/AbstractHorseEntity;getEatingAnimationProgress(F)F
    • setJumpStrength

      public void setJumpStrength(int strength)
      Specified by:
      setJumpStrength in interface JumpingMount
      Mappings:
      Namespace Name Mixin selector
      official a Lber;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(PlayerEntity player)
      Specified by:
      canJump in interface JumpingMount
      Mappings:
      Namespace Name Mixin selector
      official a Lber;a(Lbwp;)Z
      intermediary method_6153 Lnet/minecraft/class_1316;method_6153(Lnet/minecraft/class_1657;)Z
      named canJump Lnet/minecraft/entity/JumpingMount;canJump(Lnet/minecraft/entity/player/PlayerEntity;)Z
    • startJumping

      public void startJumping(int height)
      Specified by:
      startJumping in interface JumpingMount
      Mappings:
      Namespace Name Mixin selector
      official b Lber;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 interface JumpingMount
      Mappings:
      Namespace Name Mixin selector
      official a Lber;a()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 Lbrn;B(Z)V
      intermediary method_6760 Lnet/minecraft/class_1496;method_6760(Z)V
      named spawnPlayerReactionParticles Lnet/minecraft/entity/passive/AbstractHorseEntity;spawnPlayerReactionParticles(Z)V
    • handleStatus

      public void handleStatus(byte status)
      Called on the client when the entity receives an entity status from the server. They are often used to spawn particles or play sounds. Subclasses can override this method to handle custom entity status.
      Overrides:
      handleStatus in class AnimalEntity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lbdr;a(B)V
      intermediary method_5711 Lnet/minecraft/class_1297;method_5711(B)V
      named handleStatus Lnet/minecraft/entity/Entity;handleStatus(B)V
    • updatePassengerPosition

      public void updatePassengerPosition(Entity passenger)
      Overrides:
      updatePassengerPosition in class Entity
      Mappings:
      Namespace Name Mixin selector
      official i Lbdr;i(Lbdr;)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(Random random)
      Mappings:
      Namespace Name Mixin selector
      official b Lbrn;b(Laoh;)F
      intermediary method_6754 Lnet/minecraft/class_1496;method_6754(Lnet/minecraft/class_5819;)F
      named getChildHealthBonus Lnet/minecraft/entity/passive/AbstractHorseEntity;getChildHealthBonus(Lnet/minecraft/util/math/random/Random;)F
    • getChildJumpStrengthBonus

      protected double getChildJumpStrengthBonus(Random random)
      Mappings:
      Namespace Name Mixin selector
      official c Lbrn;c(Laoh;)D
      intermediary method_6774 Lnet/minecraft/class_1496;method_6774(Lnet/minecraft/class_5819;)D
      named getChildJumpStrengthBonus Lnet/minecraft/entity/passive/AbstractHorseEntity;getChildJumpStrengthBonus(Lnet/minecraft/util/math/random/Random;)D
    • getChildMovementSpeedBonus

      protected double getChildMovementSpeedBonus(Random random)
      Mappings:
      Namespace Name Mixin selector
      official d Lbrn;d(Laoh;)D
      intermediary method_6728 Lnet/minecraft/class_1496;method_6728(Lnet/minecraft/class_5819;)D
      named getChildMovementSpeedBonus Lnet/minecraft/entity/passive/AbstractHorseEntity;getChildMovementSpeedBonus(Lnet/minecraft/util/math/random/Random;)D
    • isClimbing

      public boolean isClimbing()
      Overrides:
      isClimbing in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official y_ Lbeg;y_()Z
      intermediary method_6101 Lnet/minecraft/class_1309;method_6101()Z
      named isClimbing Lnet/minecraft/entity/LivingEntity;isClimbing()Z
    • getActiveEyeHeight

      protected float getActiveEyeHeight(EntityPose pose, EntityDimensions dimensions)
      Overrides:
      getActiveEyeHeight in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lbeg;b(Lbes;Lbds;)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 gx Lbrn;gx()Z
      intermediary method_6735 Lnet/minecraft/class_1496;method_6735()Z
      named hasArmorSlot Lnet/minecraft/entity/passive/AbstractHorseEntity;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 gy Lbrn;gy()Z
      intermediary method_6753 Lnet/minecraft/class_1496;method_6753()Z
      named hasArmorInSlot Lnet/minecraft/entity/passive/AbstractHorseEntity;hasArmorInSlot()Z
    • isHorseArmor

      public boolean isHorseArmor(ItemStack item)
      Whether the given item stack is valid for this horse's armor slot.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official m Lbrn;m(Lcdt;)Z
      intermediary method_6773 Lnet/minecraft/class_1496;method_6773(Lnet/minecraft/class_1799;)Z
      named isHorseArmor Lnet/minecraft/entity/passive/AbstractHorseEntity;isHorseArmor(Lnet/minecraft/item/ItemStack;)Z
    • createInventoryStackReference

      private StackReference createInventoryStackReference(int slot, Predicate<ItemStack> predicate)
      Mappings:
      Namespace Name Mixin selector
      official a Lbrn;a(ILjava/util/function/Predicate;)Lbey;
      intermediary method_32335 Lnet/minecraft/class_1496;method_32335(ILjava/util/function/Predicate;)Lnet/minecraft/class_5630;
      named createInventoryStackReference Lnet/minecraft/entity/passive/AbstractHorseEntity;createInventoryStackReference(ILjava/util/function/Predicate;)Lnet/minecraft/inventory/StackReference;
    • getStackReference

      public StackReference getStackReference(int mappedIndex)
      Obtains a stack reference to be modified. Used by commands like /loot or /item.
      Overrides:
      getStackReference in class LivingEntity
      Parameters:
      mappedIndex - the mapped index as given by the item slot argument
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official k Lbdr;k(I)Lbey;
      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

      @Nullable public @Nullable LivingEntity getPrimaryPassenger()
      Description copied from class: Entity
      Returns the passenger in control of this entity, or null if there is none.

      Rideable entities should override this to return the entity. This is usually #getFirstPassenger.

      Overrides:
      getPrimaryPassenger in class Entity
      Returns:
      the passenger in control of this entity, or null if there is none
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official fV Lbrn;fV()Lbeg;
      intermediary method_42167 Lnet/minecraft/class_1496;method_42167()Lnet/minecraft/class_1309;
      named getPrimaryPassenger Lnet/minecraft/entity/passive/AbstractHorseEntity;getPrimaryPassenger()Lnet/minecraft/entity/LivingEntity;
    • locateSafeDismountingPos

      @Nullable private @Nullable Vec3d locateSafeDismountingPos(Vec3d offset, LivingEntity passenger)
      Mappings:
      Namespace Name Mixin selector
      official a Lbrn;a(Leae;Lbeg;)Leae;
      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/AbstractHorseEntity;locateSafeDismountingPos(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/util/math/Vec3d;
    • updatePassengerForDismount

      public Vec3d updatePassengerForDismount(LivingEntity passenger)
      Returns the position of the dismounted passenger.

      Vehicles should override this to return a suitable dismounting position for the passenger. Check the implementation of the subclass for details.

      Overrides:
      updatePassengerForDismount in class Entity
      Returns:
      the position of the dismounted passenger
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lbdr;b(Lbeg;)Leae;
      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(Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Lbrn;a(Laoh;)V
      intermediary method_6001 Lnet/minecraft/class_1496;method_6001(Lnet/minecraft/class_5819;)V
      named initAttributes Lnet/minecraft/entity/passive/AbstractHorseEntity;initAttributes(Lnet/minecraft/util/math/random/Random;)V
    • initialize

      @Nullable public @Nullable EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable @Nullable EntityData entityData, @Nullable @Nullable NbtCompound entityNbt)
      Overrides:
      initialize in class PassiveEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbei;a(Lckl;Lbck;Lbek;Lbez;Lqp;)Lbez;
      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

      public boolean areInventoriesDifferent(Inventory inventory)
      Mappings:
      Namespace Name Mixin selector
      official b Lbrn;b(Lbcf;)Z
      intermediary method_33338 Lnet/minecraft/class_1496;method_33338(Lnet/minecraft/class_1263;)Z
      named areInventoriesDifferent Lnet/minecraft/entity/passive/AbstractHorseEntity;areInventoriesDifferent(Lnet/minecraft/inventory/Inventory;)Z
    • getMinAmbientStandDelay

      public int getMinAmbientStandDelay()
      Mappings:
      Namespace Name Mixin selector
      official gz Lbrn;gz()I
      intermediary method_45377 Lnet/minecraft/class_1496;method_45377()I
      named getMinAmbientStandDelay Lnet/minecraft/entity/passive/AbstractHorseEntity;getMinAmbientStandDelay()I