Package net.minecraft

Class class_7689

All Implemented Interfaces:
JumpingMount, Mount, RideableInventory, Saddleable, InventoryChangedListener, CommandOutput, Nameable, EntityLike

public class class_7689 extends AbstractHorseEntity implements JumpingMount, Saddleable
Mappings:
Namespace Name
official bqd
intermediary net/minecraft/class_7689
named net/minecraft/class_7689
  • Field Details

    • field_40131

      public static final Ingredient field_40131
      Mappings:
      Namespace Name Mixin selector
      official bX Lbqd;bX:Lcfo;
      intermediary field_40131 Lnet/minecraft/class_7689;field_40131:Lnet/minecraft/class_1856;
      named field_40131 Lnet/minecraft/class_7689;field_40131:Lnet/minecraft/recipe/Ingredient;
    • field_40132

      public static final int field_40132
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official bY Lbqd;bY:I
      intermediary field_40132 Lnet/minecraft/class_7689;field_40132:I
      named field_40132 Lnet/minecraft/class_7689;field_40132:I
    • field_40146

      private static final float field_40146
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official cw Lbqd;cw:F
      intermediary field_40146 Lnet/minecraft/class_7689;field_40146:F
      named field_40146 Lnet/minecraft/class_7689;field_40146:F
    • field_40147

      private static final float field_40147
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official cx Lbqd;cx:F
      intermediary field_40147 Lnet/minecraft/class_7689;field_40147:F
      named field_40147 Lnet/minecraft/class_7689;field_40147:F
    • field_40148

      private static final float field_40148
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official cy Lbqd;cy:F
      intermediary field_40148 Lnet/minecraft/class_7689;field_40148:F
      named field_40148 Lnet/minecraft/class_7689;field_40148:F
    • field_40149

      private static final int field_40149
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official cz Lbqd;cz:I
      intermediary field_40149 Lnet/minecraft/class_7689;field_40149:I
      named field_40149 Lnet/minecraft/class_7689;field_40149:I
    • field_40133

      private static final int field_40133
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official cA Lbqd;cA:I
      intermediary field_40133 Lnet/minecraft/class_7689;field_40133:I
      named field_40133 Lnet/minecraft/class_7689;field_40133:I
    • field_40134

      private static final int field_40134
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official cB Lbqd;cB:I
      intermediary field_40134 Lnet/minecraft/class_7689;field_40134:I
      named field_40134 Lnet/minecraft/class_7689;field_40134:I
    • field_40135

      private static final float field_40135
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official cC Lbqd;cC:F
      intermediary field_40135 Lnet/minecraft/class_7689;field_40135:F
      named field_40135 Lnet/minecraft/class_7689;field_40135:F
    • field_40139

      public static final TrackedData<Boolean> field_40139
      Mappings:
      Namespace Name Mixin selector
      official ca Lbqd;ca:Labd;
      intermediary field_40139 Lnet/minecraft/class_7689;field_40139:Lnet/minecraft/class_2940;
      named field_40139 Lnet/minecraft/class_7689;field_40139:Lnet/minecraft/entity/data/TrackedData;
    • field_40140

      public static final TrackedData<Long> field_40140
      Mappings:
      Namespace Name Mixin selector
      official cb Lbqd;cb:Labd;
      intermediary field_40140 Lnet/minecraft/class_7689;field_40140:Lnet/minecraft/class_2940;
      named field_40140 Lnet/minecraft/class_7689;field_40140:Lnet/minecraft/entity/data/TrackedData;
    • field_40136

      private static final EntityDimensions field_40136
      Mappings:
      Namespace Name Mixin selector
      official cD Lbqd;cD:Lbcz;
      intermediary field_40136 Lnet/minecraft/class_7689;field_40136:Lnet/minecraft/class_4048;
      named field_40136 Lnet/minecraft/class_7689;field_40136:Lnet/minecraft/entity/EntityDimensions;
    • field_40141

      public final AnimationState field_40141
      Mappings:
      Namespace Name Mixin selector
      official cc Lbqd;cc:Lbcw;
      intermediary field_40141 Lnet/minecraft/class_7689;field_40141:Lnet/minecraft/class_7094;
      named field_40141 Lnet/minecraft/class_7689;field_40141:Lnet/minecraft/entity/AnimationState;
    • field_40142

      public final AnimationState field_40142
      Mappings:
      Namespace Name Mixin selector
      official cd Lbqd;cd:Lbcw;
      intermediary field_40142 Lnet/minecraft/class_7689;field_40142:Lnet/minecraft/class_7094;
      named field_40142 Lnet/minecraft/class_7689;field_40142:Lnet/minecraft/entity/AnimationState;
    • field_40143

      public final AnimationState field_40143
      Mappings:
      Namespace Name Mixin selector
      official ce Lbqd;ce:Lbcw;
      intermediary field_40143 Lnet/minecraft/class_7689;field_40143:Lnet/minecraft/class_7094;
      named field_40143 Lnet/minecraft/class_7689;field_40143:Lnet/minecraft/entity/AnimationState;
    • field_40144

      public final AnimationState field_40144
      Mappings:
      Namespace Name Mixin selector
      official cf Lbqd;cf:Lbcw;
      intermediary field_40144 Lnet/minecraft/class_7689;field_40144:Lnet/minecraft/class_7094;
      named field_40144 Lnet/minecraft/class_7689;field_40144:Lnet/minecraft/entity/AnimationState;
    • field_40145

      public final AnimationState field_40145
      Mappings:
      Namespace Name Mixin selector
      official cg Lbqd;cg:Lbcw;
      intermediary field_40145 Lnet/minecraft/class_7689;field_40145:Lnet/minecraft/class_7094;
      named field_40145 Lnet/minecraft/class_7689;field_40145:Lnet/minecraft/entity/AnimationState;
    • field_40137

      private int field_40137
      Mappings:
      Namespace Name Mixin selector
      official cE Lbqd;cE:I
      intermediary field_40137 Lnet/minecraft/class_7689;field_40137:I
      named field_40137 Lnet/minecraft/class_7689;field_40137:I
    • field_40138

      private int field_40138
      Mappings:
      Namespace Name Mixin selector
      official cF Lbqd;cF:I
      intermediary field_40138 Lnet/minecraft/class_7689;field_40138:I
      named field_40138 Lnet/minecraft/class_7689;field_40138:I
  • Constructor Details

    • class_7689

      public class_7689(EntityType<? extends class_7689> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbcy;<init>(Lbdc;Lciz;)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

    • 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 AbstractHorseEntity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lbcy;b(Lqf;)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 AbstractHorseEntity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lbcy;a(Lqf;)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
    • method_45360

      public static DefaultAttributeContainer.Builder method_45360()
      Mappings:
      Namespace Name Mixin selector
      official p Lbqd;p()Lben$a;
      intermediary method_45360 Lnet/minecraft/class_7689;method_45360()Lnet/minecraft/class_5132$class_5133;
      named method_45360 Lnet/minecraft/class_7689;method_45360()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
    • initDataTracker

      protected void initDataTracker()
      Initializes data tracker.
      Overrides:
      initDataTracker in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      official a_ Lbcy;a_()V
      intermediary method_5693 Lnet/minecraft/class_1297;method_5693()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • initialize

      public EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable @Nullable EntityData entityData, @Nullable @Nullable NbtCompound entityNbt)
      Overrides:
      initialize in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbdp;a(Lcjo;Lbbs;Lbdr;Lbef;Lqf;)Lbef;
      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;
    • createBrainProfile

      protected Brain.Profile<class_7689> createBrainProfile()
      Overrides:
      createBrainProfile in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official dC Lbdn;dC()Lbei$b;
      intermediary method_28306 Lnet/minecraft/class_1309;method_28306()Lnet/minecraft/class_4095$class_5303;
      named createBrainProfile Lnet/minecraft/entity/LivingEntity;createBrainProfile()Lnet/minecraft/entity/ai/brain/Brain$Profile;
    • initGoals

      protected void initGoals()
      Overrides:
      initGoals in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      official u Lbdp;u()V
      intermediary method_5959 Lnet/minecraft/class_1308;method_5959()V
      named initGoals Lnet/minecraft/entity/mob/MobEntity;initGoals()V
    • deserializeBrain

      protected Brain<?> deserializeBrain(com.mojang.serialization.Dynamic<?> dynamic)
      Overrides:
      deserializeBrain in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbdn;a(Lcom/mojang/serialization/Dynamic;)Lbei;
      intermediary method_18867 Lnet/minecraft/class_1309;method_18867(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/class_4095;
      named deserializeBrain Lnet/minecraft/entity/LivingEntity;deserializeBrain(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/entity/ai/brain/Brain;
    • getDimensions

      public EntityDimensions getDimensions(EntityPose pose)
      Returns the dimensions of the entity with the given pose.
      Overrides:
      getDimensions in class LivingEntity
      Returns:
      the dimensions of the entity with the given pose
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lbcy;a(Lbdz;)Lbcz;
      intermediary method_18377 Lnet/minecraft/class_1297;method_18377(Lnet/minecraft/class_4050;)Lnet/minecraft/class_4048;
      named getDimensions Lnet/minecraft/entity/Entity;getDimensions(Lnet/minecraft/entity/EntityPose;)Lnet/minecraft/entity/EntityDimensions;
    • getActiveEyeHeight

      protected float getActiveEyeHeight(EntityPose pose, EntityDimensions dimensions)
      Overrides:
      getActiveEyeHeight in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lbdn;b(Lbdz;Lbcz;)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
    • mobTick

      protected void mobTick()
      Overrides:
      mobTick in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official U Lbdp;U()V
      intermediary method_5958 Lnet/minecraft/class_1308;method_5958()V
      named mobTick Lnet/minecraft/entity/mob/MobEntity;mobTick()V
    • tick

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

      private void method_45356()
      Mappings:
      Namespace Name Mixin selector
      official gx Lbqd;gx()V
      intermediary method_45356 Lnet/minecraft/class_7689;method_45356()V
      named method_45356 Lnet/minecraft/class_7689;method_45356()V
    • 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 AbstractHorseEntity
      Parameters:
      movementInput - represents the sidewaysSpeed, upwardSpeed, and forwardSpeed of the entity in that order
      Mappings:
      Namespace Name Mixin selector
      official h Lbdn;h(Ldze;)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
    • method_45357

      boolean method_45357()
      Mappings:
      Namespace Name Mixin selector
      official gy Lbqd;gy()Z
      intermediary method_45357 Lnet/minecraft/class_7689;method_45357()Z
      named method_45357 Lnet/minecraft/class_7689;method_45357()Z
    • method_45358

      protected float method_45358(LivingEntity livingEntity)
      Overrides:
      method_45358 in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      official k Lbqq;k(Lbdn;)F
      intermediary method_45358 Lnet/minecraft/class_1496;method_45358(Lnet/minecraft/class_1309;)F
      named method_45358 Lnet/minecraft/entity/passive/AbstractHorseEntity;method_45358(Lnet/minecraft/entity/LivingEntity;)F
    • method_45359

      protected boolean method_45359(LivingEntity livingEntity)
      Overrides:
      method_45359 in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      official l Lbqq;l(Lbdn;)Z
      intermediary method_45359 Lnet/minecraft/class_1496;method_45359(Lnet/minecraft/class_1309;)Z
      named method_45359 Lnet/minecraft/entity/passive/AbstractHorseEntity;method_45359(Lnet/minecraft/entity/LivingEntity;)Z
    • canJump

      public boolean canJump()
      Specified by:
      canJump in interface JumpingMount
      Overrides:
      canJump in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbdy;a()Z
      intermediary method_6153 Lnet/minecraft/class_1316;method_6153()Z
      named canJump Lnet/minecraft/entity/JumpingMount;canJump()Z
    • setJumpStrength

      public void setJumpStrength(int strength)
      Specified by:
      setJumpStrength in interface JumpingMount
      Overrides:
      setJumpStrength in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbdy;a(I)V
      intermediary method_6154 Lnet/minecraft/class_1316;method_6154(I)V
      named setJumpStrength Lnet/minecraft/entity/JumpingMount;setJumpStrength(I)V
    • method_45343

      protected void method_45343(float float2, float float3, float float4)
      Overrides:
      method_45343 in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbqq;a(FFF)V
      intermediary method_45343 Lnet/minecraft/class_1496;method_45343(FFF)V
      named method_45343 Lnet/minecraft/entity/passive/AbstractHorseEntity;method_45343(FFF)V
    • method_45361

      public boolean method_45361()
      Mappings:
      Namespace Name Mixin selector
      official t Lbqd;t()Z
      intermediary method_45361 Lnet/minecraft/class_7689;method_45361()Z
      named method_45361 Lnet/minecraft/class_7689;method_45361()Z
    • method_45362

      public void method_45362(boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official v Lbqd;v(Z)V
      intermediary method_45362 Lnet/minecraft/class_7689;method_45362(Z)V
      named method_45362 Lnet/minecraft/class_7689;method_45362(Z)V
    • method_45348

      public boolean method_45348()
      Mappings:
      Namespace Name Mixin selector
      official fK Lbqd;fK()Z
      intermediary method_45348 Lnet/minecraft/class_7689;method_45348()Z
      named method_45348 Lnet/minecraft/class_7689;method_45348()Z
    • startJumping

      public void startJumping(int height)
      Specified by:
      startJumping in interface JumpingMount
      Overrides:
      startJumping in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lbdy;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
      Overrides:
      stopJumping in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lbdy;b()V
      intermediary method_6156 Lnet/minecraft/class_1316;method_6156()V
      named stopJumping Lnet/minecraft/entity/JumpingMount;stopJumping()V
    • method_45327

      public int method_45327()
      Specified by:
      method_45327 in interface JumpingMount
      Mappings:
      Namespace Name Mixin selector
      official c Lbdy;c()I
      intermediary method_45327 Lnet/minecraft/class_1316;method_45327()I
      named method_45327 Lnet/minecraft/entity/JumpingMount;method_45327()I
    • getAmbientSound

      protected SoundEvent getAmbientSound()
      Overrides:
      getAmbientSound in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official r Lbdp;r()Lalc;
      intermediary method_5994 Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;
      named getAmbientSound Lnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
    • getDeathSound

      protected SoundEvent getDeathSound()
      Overrides:
      getDeathSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official w_ Lbdn;w_()Lalc;
      intermediary method_6002 Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
      named getDeathSound Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
    • getHurtSound

      protected SoundEvent getHurtSound(DamageSource source)
      Overrides:
      getHurtSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official c Lbdn;c(Lbch;)Lalc;
      intermediary method_6011 Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;
      named getHurtSound Lnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
    • playStepSound

      protected void playStepSound(BlockPos pos, BlockState state)
      Overrides:
      playStepSound in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lbcy;b(Lgr;Lcxu;)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
    • isBreedingItem

      public boolean isBreedingItem(ItemStack stack)
      Overrides:
      isBreedingItem in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      official n Lbor;n(Lccw;)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
    • interactMob

      public ActionResult interactMob(PlayerEntity player, Hand hand)
      Overrides:
      interactMob in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lbdp;b(Lbvs;Lbbt;)Lbbu;
      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;
    • updateForLeashLength

      protected void updateForLeashLength(float leashLength)
      Overrides:
      updateForLeashLength in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      official y Lbdw;y(F)V
      intermediary method_6142 Lnet/minecraft/class_1314;method_6142(F)V
      named updateForLeashLength Lnet/minecraft/entity/mob/PathAwareEntity;updateForLeashLength(F)V
    • receiveFood

      protected boolean receiveFood(PlayerEntity player, ItemStack item)
      Overrides:
      receiveFood in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbqq;a(Lbvs;Lccw;)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
    • method_45349

      protected boolean method_45349()
      Overrides:
      method_45349 in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      official fL Lbqq;fL()Z
      intermediary method_45349 Lnet/minecraft/class_1496;method_45349()Z
      named method_45349 Lnet/minecraft/entity/passive/AbstractHorseEntity;method_45349()Z
    • canBreedWith

      public boolean canBreedWith(AnimalEntity other)
      Overrides:
      canBreedWith in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbor;a(Lbor;)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
    • createChild

      @Nullable public @Nullable class_7689 createChild(ServerWorld serverWorld, PassiveEntity passiveEntity)
      Description copied from class: AbstractHorseEntity
      Overrides:
      createChild in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lbqd;b(Lahb;Lbcv;)Lbqd;
      intermediary method_45347 Lnet/minecraft/class_7689;method_45347(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_7689;
      named createChild Lnet/minecraft/class_7689;createChild(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/class_7689;
    • getEatSound

      @Nullable protected @Nullable SoundEvent getEatSound()
      Overrides:
      getEatSound in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      official fM Lbqq;fM()Lalc;
      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;
    • applyDamage

      protected void applyDamage(DamageSource source, float amount)
      Overrides:
      applyDamage in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official f Lbdn;f(Lbch;F)V
      intermediary method_6074 Lnet/minecraft/class_1309;method_6074(Lnet/minecraft/class_1282;F)V
      named applyDamage Lnet/minecraft/entity/LivingEntity;applyDamage(Lnet/minecraft/entity/damage/DamageSource;F)V
    • updatePassengerPosition

      public void updatePassengerPosition(Entity passenger)
      Overrides:
      updatePassengerPosition in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      official i Lbcy;i(Lbcy;)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
    • method_45346

      private double method_45346(boolean bool, float float2)
      Mappings:
      Namespace Name Mixin selector
      official a Lbqd;a(ZF)D
      intermediary method_45346 Lnet/minecraft/class_7689;method_45346(ZF)D
      named method_45346 Lnet/minecraft/class_7689;method_45346(ZF)D
    • method_45321

      public Vec3d method_45321(float float2)
      Overrides:
      method_45321 in class Entity
      Mappings:
      Namespace Name Mixin selector
      official n Lbcy;n(F)Ldze;
      intermediary method_45321 Lnet/minecraft/class_1297;method_45321(F)Lnet/minecraft/class_243;
      named method_45321 Lnet/minecraft/entity/Entity;method_45321(F)Lnet/minecraft/util/math/Vec3d;
    • getMountedHeightOffset

      public double getMountedHeightOffset()
      Overrides:
      getMountedHeightOffset in class Entity
      Mappings:
      Namespace Name Mixin selector
      official bv Lbcy;bv()D
      intermediary method_5621 Lnet/minecraft/class_1297;method_5621()D
      named getMountedHeightOffset Lnet/minecraft/entity/Entity;getMountedHeightOffset()D
    • onPassengerLookAround

      public void onPassengerLookAround(Entity passenger)
      Overrides:
      onPassengerLookAround in class Entity
      Mappings:
      Namespace Name Mixin selector
      official j Lbcy;j(Lbcy;)V
      intermediary method_5644 Lnet/minecraft/class_1297;method_5644(Lnet/minecraft/class_1297;)V
      named onPassengerLookAround Lnet/minecraft/entity/Entity;onPassengerLookAround(Lnet/minecraft/entity/Entity;)V
    • method_45345

      private void method_45345(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lbqd;a(Lbcy;)V
      intermediary method_45345 Lnet/minecraft/class_7689;method_45345(Lnet/minecraft/class_1297;)V
      named method_45345 Lnet/minecraft/class_7689;method_45345(Lnet/minecraft/entity/Entity;)V
    • canAddPassenger

      protected boolean canAddPassenger(Entity passenger)
      Returns whether entity can ride this entity.

      Returning false causes other entities to be unable to ride this entity. For example, BoatEntity uses this to restrict how many passengers can ride the same boat (2 for normal, 1 for chest boat).

      This is the opposite of Entity.canStartRiding(net.minecraft.entity.Entity).

      Overrides:
      canAddPassenger in class Entity
      Returns:
      whether entity can ride this entity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official p Lbcy;p(Lbcy;)Z
      intermediary method_5818 Lnet/minecraft/class_1297;method_5818(Lnet/minecraft/class_1297;)Z
      named canAddPassenger Lnet/minecraft/entity/Entity;canAddPassenger(Lnet/minecraft/entity/Entity;)Z
    • 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 AbstractHorseEntity
      Returns:
      the passenger in control of this entity, or null if there is none
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official method_42167 Lbqd;method_42167()Lbdn;
      intermediary method_42167 Lnet/minecraft/class_7689;method_42167()Lnet/minecraft/class_1309;
      named getPrimaryPassenger Lnet/minecraft/class_7689;getPrimaryPassenger()Lnet/minecraft/entity/LivingEntity;
    • sendAiDebugData

      protected void sendAiDebugData()
      Overrides:
      sendAiDebugData in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official S Lbdp;S()V
      intermediary method_18409 Lnet/minecraft/class_1308;method_18409()V
      named sendAiDebugData Lnet/minecraft/entity/mob/MobEntity;sendAiDebugData()V
    • method_45350

      public boolean method_45350()
      Mappings:
      Namespace Name Mixin selector
      official fT Lbqd;fT()Z
      intermediary method_45350 Lnet/minecraft/class_7689;method_45350()Z
      named method_45350 Lnet/minecraft/class_7689;method_45350()Z
    • method_45351

      public boolean method_45351()
      Mappings:
      Namespace Name Mixin selector
      official fU Lbqd;fU()Z
      intermediary method_45351 Lnet/minecraft/class_7689;method_45351()Z
      named method_45351 Lnet/minecraft/class_7689;method_45351()Z
    • method_45352

      public void method_45352()
      Mappings:
      Namespace Name Mixin selector
      official fV Lbqd;fV()V
      intermediary method_45352 Lnet/minecraft/class_7689;method_45352()V
      named method_45352 Lnet/minecraft/class_7689;method_45352()V
    • method_45353

      public void method_45353()
      Mappings:
      Namespace Name Mixin selector
      official fW Lbqd;fW()V
      intermediary method_45353 Lnet/minecraft/class_7689;method_45353()V
      named method_45353 Lnet/minecraft/class_7689;method_45353()V
    • method_45354

      public void method_45354()
      Mappings:
      Namespace Name Mixin selector
      official fX Lbqd;fX()V
      intermediary method_45354 Lnet/minecraft/class_7689;method_45354()V
      named method_45354 Lnet/minecraft/class_7689;method_45354()V
    • method_45344

      public void method_45344(long long2)
      Mappings:
      Namespace Name Mixin selector
      official a Lbqd;a(J)V
      intermediary method_45344 Lnet/minecraft/class_7689;method_45344(J)V
      named method_45344 Lnet/minecraft/class_7689;method_45344(J)V
    • method_45355

      public long method_45355()
      Mappings:
      Namespace Name Mixin selector
      official fY Lbqd;fY()J
      intermediary method_45355 Lnet/minecraft/class_7689;method_45355()J
      named method_45355 Lnet/minecraft/class_7689;method_45355()J
    • method_45328

      public SoundEvent method_45328()
      Specified by:
      method_45328 in interface Saddleable
      Mappings:
      Namespace Name Mixin selector
      official e Lbec;e()Lalc;
      intermediary method_45328 Lnet/minecraft/class_5146;method_45328()Lnet/minecraft/class_3414;
      named method_45328 Lnet/minecraft/entity/Saddleable;method_45328()Lnet/minecraft/sound/SoundEvent;
    • onTrackedDataSet

      public void onTrackedDataSet(TrackedData<?> data)
      Called on the client when the tracked data is set.

      This can be overridden to refresh other fields when the tracked data is set or changed.

      Overrides:
      onTrackedDataSet in class PassiveEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbcy;a(Labd;)V
      intermediary method_5674 Lnet/minecraft/class_1297;method_5674(Lnet/minecraft/class_2940;)V
      named onTrackedDataSet Lnet/minecraft/entity/Entity;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
    • createBodyControl

      protected BodyControl createBodyControl()
      Overrides:
      createBodyControl in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official z Lbdp;z()Lbiz;
      intermediary method_5963 Lnet/minecraft/class_1308;method_5963()Lnet/minecraft/class_1330;
      named createBodyControl Lnet/minecraft/entity/mob/MobEntity;createBodyControl()Lnet/minecraft/entity/ai/control/BodyControl;
    • isTame

      public boolean isTame()
      Overrides:
      isTame in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      official fZ Lbqq;fZ()Z
      intermediary method_6727 Lnet/minecraft/class_1496;method_6727()Z
      named isTame Lnet/minecraft/entity/passive/AbstractHorseEntity;isTame()Z
    • openInventory

      public void openInventory(PlayerEntity player)
      Specified by:
      openInventory in interface RideableInventory
      Overrides:
      openInventory in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lbdh;b(Lbvs;)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