Class CamelEntity

All Implemented Interfaces:
Attackable, DataTracked, EquipmentHolder, JumpingMount, Mount, RideableInventory, Saddleable, Tameable, Targeter, InventoryChangedListener, ScoreHolder, CommandOutput, Nameable, EntityLike

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

    • field_45127

      public static final float field_45127
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_45127 Lnet/minecraft/entity/passive/CamelEntity;field_45127:F
      intermediary field_45127 Lnet/minecraft/class_7689;field_45127:F
      official bY Lcgy;bY:F
    • field_40132

      public static final int field_40132
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_40132 Lnet/minecraft/entity/passive/CamelEntity;field_40132:I
      intermediary field_40132 Lnet/minecraft/class_7689;field_40132:I
      official bZ Lcgy;bZ:I
    • field_41764

      public static final int field_41764
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_41764 Lnet/minecraft/entity/passive/CamelEntity;field_41764:I
      intermediary field_41764 Lnet/minecraft/class_7689;field_41764:I
      official cb Lcgy;cb:I
    • field_40146

      private static final float field_40146
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_40146 Lnet/minecraft/entity/passive/CamelEntity;field_40146:F
      intermediary field_40146 Lnet/minecraft/class_7689;field_40146:F
      official cz Lcgy;cz:F
    • field_40147

      private static final float field_40147
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_40147 Lnet/minecraft/entity/passive/CamelEntity;field_40147:F
      intermediary field_40147 Lnet/minecraft/class_7689;field_40147:F
      official cA Lcgy;cA:F
    • field_40148

      private static final float field_40148
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_40148 Lnet/minecraft/entity/passive/CamelEntity;field_40148:F
      intermediary field_40148 Lnet/minecraft/class_7689;field_40148:F
      official cB Lcgy;cB:F
    • field_43388

      private static final int field_43388
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_43388 Lnet/minecraft/entity/passive/CamelEntity;field_43388:I
      intermediary field_43388 Lnet/minecraft/class_7689;field_43388:I
      official cC Lcgy;cC:I
    • field_40149

      private static final int field_40149
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_40149 Lnet/minecraft/entity/passive/CamelEntity;field_40149:I
      intermediary field_40149 Lnet/minecraft/class_7689;field_40149:I
      official cD Lcgy;cD:I
    • field_40133

      private static final int field_40133
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_40133 Lnet/minecraft/entity/passive/CamelEntity;field_40133:I
      intermediary field_40133 Lnet/minecraft/class_7689;field_40133:I
      official cE Lcgy;cE:I
    • field_40134

      private static final int field_40134
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_40134 Lnet/minecraft/entity/passive/CamelEntity;field_40134:I
      intermediary field_40134 Lnet/minecraft/class_7689;field_40134:I
      official cF Lcgy;cF:I
    • field_40135

      private static final float field_40135
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_40135 Lnet/minecraft/entity/passive/CamelEntity;field_40135:F
      intermediary field_40135 Lnet/minecraft/class_7689;field_40135:F
      official cG Lcgy;cG:F
    • DASHING

      public static final TrackedData<Boolean> DASHING
      Mappings:
      Namespace Name Mixin selector
      named DASHING Lnet/minecraft/entity/passive/CamelEntity;DASHING:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_40139 Lnet/minecraft/class_7689;field_40139:Lnet/minecraft/class_2940;
      official cc Lcgy;cc:Lakk;
    • LAST_POSE_TICK

      public static final TrackedData<Long> LAST_POSE_TICK
      Mappings:
      Namespace Name Mixin selector
      named LAST_POSE_TICK Lnet/minecraft/entity/passive/CamelEntity;LAST_POSE_TICK:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_40140 Lnet/minecraft/class_7689;field_40140:Lnet/minecraft/class_2940;
      official cd Lcgy;cd:Lakk;
    • SITTING_DIMENSIONS

      private static final EntityDimensions SITTING_DIMENSIONS
      Mappings:
      Namespace Name Mixin selector
      named SITTING_DIMENSIONS Lnet/minecraft/entity/passive/CamelEntity;SITTING_DIMENSIONS:Lnet/minecraft/entity/EntityDimensions;
      intermediary field_40136 Lnet/minecraft/class_7689;field_40136:Lnet/minecraft/class_4048;
      official cH Lcgy;cH:Lbsz;
    • sittingTransitionAnimationState

      public final AnimationState sittingTransitionAnimationState
      Mappings:
      Namespace Name Mixin selector
      named sittingTransitionAnimationState Lnet/minecraft/entity/passive/CamelEntity;sittingTransitionAnimationState:Lnet/minecraft/entity/AnimationState;
      intermediary field_40142 Lnet/minecraft/class_7689;field_40142:Lnet/minecraft/class_7094;
      official ce Lcgy;ce:Lbsr;
    • sittingAnimationState

      public final AnimationState sittingAnimationState
      Mappings:
      Namespace Name Mixin selector
      named sittingAnimationState Lnet/minecraft/entity/passive/CamelEntity;sittingAnimationState:Lnet/minecraft/entity/AnimationState;
      intermediary field_40734 Lnet/minecraft/class_7689;field_40734:Lnet/minecraft/class_7094;
      official cf Lcgy;cf:Lbsr;
    • standingTransitionAnimationState

      public final AnimationState standingTransitionAnimationState
      Mappings:
      Namespace Name Mixin selector
      named standingTransitionAnimationState Lnet/minecraft/entity/passive/CamelEntity;standingTransitionAnimationState:Lnet/minecraft/entity/AnimationState;
      intermediary field_40143 Lnet/minecraft/class_7689;field_40143:Lnet/minecraft/class_7094;
      official cg Lcgy;cg:Lbsr;
    • idlingAnimationState

      public final AnimationState idlingAnimationState
      Mappings:
      Namespace Name Mixin selector
      named idlingAnimationState Lnet/minecraft/entity/passive/CamelEntity;idlingAnimationState:Lnet/minecraft/entity/AnimationState;
      intermediary field_40144 Lnet/minecraft/class_7689;field_40144:Lnet/minecraft/class_7094;
      official ch Lcgy;ch:Lbsr;
    • dashingAnimationState

      public final AnimationState dashingAnimationState
      Mappings:
      Namespace Name Mixin selector
      named dashingAnimationState Lnet/minecraft/entity/passive/CamelEntity;dashingAnimationState:Lnet/minecraft/entity/AnimationState;
      intermediary field_40145 Lnet/minecraft/class_7689;field_40145:Lnet/minecraft/class_7094;
      official ci Lcgy;ci:Lbsr;
    • dashCooldown

      private int dashCooldown
      Mappings:
      Namespace Name Mixin selector
      named dashCooldown Lnet/minecraft/entity/passive/CamelEntity;dashCooldown:I
      intermediary field_40137 Lnet/minecraft/class_7689;field_40137:I
      official cI Lcgy;cI:I
    • idleAnimationCooldown

      private int idleAnimationCooldown
      Mappings:
      Namespace Name Mixin selector
      named idleAnimationCooldown Lnet/minecraft/entity/passive/CamelEntity;idleAnimationCooldown:I
      intermediary field_40138 Lnet/minecraft/class_7689;field_40138:I
      official cJ Lcgy;cJ:I
  • Constructor Details

    • CamelEntity

      public CamelEntity(EntityType<? extends CamelEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
      intermediary <init> Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
      official <init> Lbsw;<init>(Lbtc;Ldca;)V
  • Method Details

    • writeCustomDataToNbt

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

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

      Overrides:
      writeCustomDataToNbt in class AbstractHorseEntity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named writeCustomDataToNbt Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
      intermediary method_5652 Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
      official b Lbsw;b(Lus;)V
    • readCustomDataFromNbt

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

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

      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
      named readCustomDataFromNbt Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
      intermediary method_5749 Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
      official a Lbsw;a(Lus;)V
    • createCamelAttributes

      public static DefaultAttributeContainer.Builder createCamelAttributes()
      Mappings:
      Namespace Name Mixin selector
      named createCamelAttributes Lnet/minecraft/entity/passive/CamelEntity;createCamelAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
      intermediary method_45360 Lnet/minecraft/class_7689;method_45360()Lnet/minecraft/class_5132$class_5133;
      official s Lcgy;s()Lbuy$a;
    • initDataTracker

      protected void initDataTracker(DataTracker.Builder builder)
      Initializes data tracker.
      Overrides:
      initDataTracker in class AbstractHorseEntity
      API Note:
      Subclasses should override this and add to the builder any data that needs to be tracked.
      Mappings:
      Namespace Name Mixin selector
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker(Lnet/minecraft/entity/data/DataTracker$Builder;)V
      intermediary method_5693 Lnet/minecraft/class_1297;method_5693(Lnet/minecraft/class_2945$class_9222;)V
      official a Lbsw;a(Lako$a;)V
    • initialize

      public EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable @Nullable EntityData entityData)
      Overrides:
      initialize in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      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/entity/EntityData;
      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_1315;
      official a Lbtt;a(Ldcp;Lbqu;Lbtv;Lbuk;)Lbuk;
    • createBrainProfile

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

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

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

      public EntityDimensions getBaseDimensions(EntityPose pose)
      Overrides:
      getBaseDimensions in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named getBaseDimensions Lnet/minecraft/entity/LivingEntity;getBaseDimensions(Lnet/minecraft/entity/EntityPose;)Lnet/minecraft/entity/EntityDimensions;
      intermediary method_55694 Lnet/minecraft/class_1309;method_55694(Lnet/minecraft/class_4050;)Lnet/minecraft/class_4048;
      official e Lbtr;e(Lbud;)Lbsz;
    • mobTick

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

      public void tick()
      Ticks this entity.
      Overrides:
      tick in class AbstractHorseEntity
      See Also:
      API Note:
      This can be overridden to add additional logics. super.tick(); should be called in those cases.
      Implementation Note:
      By default, this delegates all logics to MobEntity.baseTick().
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/entity/Entity;tick()V
      intermediary method_5773 Lnet/minecraft/class_1297;method_5773()V
      official l Lbsw;l()V
    • updateAnimations

      private void updateAnimations()
      Mappings:
      Namespace Name Mixin selector
      named updateAnimations Lnet/minecraft/entity/passive/CamelEntity;updateAnimations()V
      intermediary method_45356 Lnet/minecraft/class_7689;method_45356()V
      official ha Lcgy;ha()V
    • updateLimbs

      protected void updateLimbs(float posDelta)
      Overrides:
      updateLimbs in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named updateLimbs Lnet/minecraft/entity/LivingEntity;updateLimbs(F)V
      intermediary method_48565 Lnet/minecraft/class_1309;method_48565(F)V
      official x Lbtr;x(F)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 LivingEntity
      Parameters:
      movementInput - represents the sidewaysSpeed, upwardSpeed, and forwardSpeed of the entity in that order
      Mappings:
      Namespace Name Mixin selector
      named travel Lnet/minecraft/entity/LivingEntity;travel(Lnet/minecraft/util/math/Vec3d;)V
      intermediary method_6091 Lnet/minecraft/class_1309;method_6091(Lnet/minecraft/class_243;)V
      official a Lbtr;a(Levt;)V
    • tickControlled

      protected void tickControlled(PlayerEntity controllingPlayer, Vec3d movementInput)
      Overrides:
      tickControlled in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      named tickControlled Lnet/minecraft/entity/LivingEntity;tickControlled(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/Vec3d;)V
      intermediary method_49481 Lnet/minecraft/class_1309;method_49481(Lnet/minecraft/class_1657;Lnet/minecraft/class_243;)V
      official a Lbtr;a(Lcmz;Levt;)V
    • isStationary

      public boolean isStationary()
      Mappings:
      Namespace Name Mixin selector
      named isStationary Lnet/minecraft/entity/passive/CamelEntity;isStationary()Z
      intermediary method_45357 Lnet/minecraft/class_7689;method_45357()Z
      official u Lcgy;u()Z
    • getSaddledSpeed

      protected float getSaddledSpeed(PlayerEntity controllingPlayer)
      Overrides:
      getSaddledSpeed in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      named getSaddledSpeed Lnet/minecraft/entity/LivingEntity;getSaddledSpeed(Lnet/minecraft/entity/player/PlayerEntity;)F
      intermediary method_49485 Lnet/minecraft/class_1309;method_49485(Lnet/minecraft/class_1657;)F
      official e Lbtr;e(Lcmz;)F
    • getControlledRotation

      protected Vec2f getControlledRotation(LivingEntity controllingPassenger)
      Overrides:
      getControlledRotation in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      named getControlledRotation Lnet/minecraft/entity/passive/AbstractHorseEntity;getControlledRotation(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/util/math/Vec2f;
      intermediary method_49489 Lnet/minecraft/class_1496;method_49489(Lnet/minecraft/class_1309;)Lnet/minecraft/class_241;
      official j Lchl;j(Lbtr;)Levs;
    • getControlledMovementInput

      protected Vec3d getControlledMovementInput(PlayerEntity controllingPlayer, Vec3d movementInput)
      Overrides:
      getControlledMovementInput in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      named getControlledMovementInput Lnet/minecraft/entity/LivingEntity;getControlledMovementInput(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;
      intermediary method_49482 Lnet/minecraft/class_1309;method_49482(Lnet/minecraft/class_1657;Lnet/minecraft/class_243;)Lnet/minecraft/class_243;
      official b Lbtr;b(Lcmz;Levt;)Levt;
    • canJump

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

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

      public boolean canSprintAsVehicle()
      Overrides:
      canSprintAsVehicle in class Entity
      Mappings:
      Namespace Name Mixin selector
      named canSprintAsVehicle Lnet/minecraft/entity/Entity;canSprintAsVehicle()Z
      intermediary method_48155 Lnet/minecraft/class_1297;method_48155()Z
      official dI Lbsw;dI()Z
    • jump

      protected void jump(float strength, Vec3d movementInput)
      Overrides:
      jump in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      named jump Lnet/minecraft/entity/passive/AbstractHorseEntity;jump(FLnet/minecraft/util/math/Vec3d;)V
      intermediary method_45343 Lnet/minecraft/class_1496;method_45343(FLnet/minecraft/class_243;)V
      official b Lchl;b(FLevt;)V
    • isDashing

      public boolean isDashing()
      Mappings:
      Namespace Name Mixin selector
      named isDashing Lnet/minecraft/entity/passive/CamelEntity;isDashing()Z
      intermediary method_45361 Lnet/minecraft/class_7689;method_45361()Z
      official y Lcgy;y()Z
    • setDashing

      public void setDashing(boolean dashing)
      Mappings:
      Namespace Name Mixin selector
      named setDashing Lnet/minecraft/entity/passive/CamelEntity;setDashing(Z)V
      intermediary method_45362 Lnet/minecraft/class_7689;method_45362(Z)V
      official w Lcgy;w(Z)V
    • startJumping

      public void startJumping(int height)
      Specified by:
      startJumping in interface JumpingMount
      Overrides:
      startJumping in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      named startJumping Lnet/minecraft/entity/JumpingMount;startJumping(I)V
      intermediary method_6155 Lnet/minecraft/class_1316;method_6155(I)V
      official c Lbuc;c(I)V
    • stopJumping

      public void stopJumping()
      Specified by:
      stopJumping in interface JumpingMount
      Overrides:
      stopJumping in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      named stopJumping Lnet/minecraft/entity/JumpingMount;stopJumping()V
      intermediary method_6156 Lnet/minecraft/class_1316;method_6156()V
      official b Lbuc;b()V
    • getJumpCooldown

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

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

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

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

      protected void playStepSound(BlockPos pos, BlockState state)
      Overrides:
      playStepSound in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      named playStepSound Lnet/minecraft/entity/Entity;playStepSound(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
      intermediary method_5712 Lnet/minecraft/class_1297;method_5712(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
      official b Lbsw;b(Liz;Ldse;)V
    • isBreedingItem

      public boolean isBreedingItem(ItemStack stack)
      Overrides:
      isBreedingItem in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      named isBreedingItem Lnet/minecraft/entity/passive/AnimalEntity;isBreedingItem(Lnet/minecraft/item/ItemStack;)Z
      intermediary method_6481 Lnet/minecraft/class_1429;method_6481(Lnet/minecraft/class_1799;)Z
      official o Lcfh;o(Lcur;)Z
    • interactMob

      public ActionResult interactMob(PlayerEntity player, Hand hand)
      Overrides:
      interactMob in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      named interactMob Lnet/minecraft/entity/mob/MobEntity;interactMob(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
      intermediary method_5992 Lnet/minecraft/class_1308;method_5992(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
      official b Lbtt;b(Lcmz;Lbqv;)Lbqw;
    • updateForLeashLength

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

      public boolean canChangePose()
      Mappings:
      Namespace Name Mixin selector
      named canChangePose Lnet/minecraft/entity/passive/CamelEntity;canChangePose()Z
      intermediary method_52548 Lnet/minecraft/class_7689;method_52548()Z
      official gq Lcgy;gq()Z
    • receiveFood

      protected boolean receiveFood(PlayerEntity player, ItemStack item)
      Overrides:
      receiveFood in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      named receiveFood Lnet/minecraft/entity/passive/AbstractHorseEntity;receiveFood(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)Z
      intermediary method_6742 Lnet/minecraft/class_1496;method_6742(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)Z
      official a Lchl;a(Lcmz;Lcur;)Z
    • shouldAmbientStand

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

      public boolean canBreedWith(AnimalEntity other)
      Overrides:
      canBreedWith in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      named canBreedWith Lnet/minecraft/entity/passive/AnimalEntity;canBreedWith(Lnet/minecraft/entity/passive/AnimalEntity;)Z
      intermediary method_6474 Lnet/minecraft/class_1429;method_6474(Lnet/minecraft/class_1429;)Z
      official a Lcfh;a(Lcfh;)Z
    • createChild

      @Nullable public @Nullable CamelEntity createChild(ServerWorld serverWorld, PassiveEntity passiveEntity)
      Overrides:
      createChild in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      named createChild Lnet/minecraft/entity/passive/CamelEntity;createChild(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/CamelEntity;
      intermediary method_45347 Lnet/minecraft/class_7689;method_45347(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_7689;
      official b Lcgy;b(Larf;Lbsq;)Lcgy;
    • getEatSound

      @Nullable protected @Nullable SoundEvent getEatSound()
      Overrides:
      getEatSound in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      named getEatSound Lnet/minecraft/entity/passive/AbstractHorseEntity;getEatSound()Lnet/minecraft/sound/SoundEvent;
      intermediary method_28368 Lnet/minecraft/class_1496;method_28368()Lnet/minecraft/class_3414;
      official gx Lchl;gx()Lavz;
    • applyDamage

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

      protected Vec3d getPassengerAttachmentPos(Entity passenger, EntityDimensions dimensions, float scaleFactor)
      Overrides:
      getPassengerAttachmentPos in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      named getPassengerAttachmentPos Lnet/minecraft/entity/Entity;getPassengerAttachmentPos(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/EntityDimensions;F)Lnet/minecraft/util/math/Vec3d;
      intermediary method_52533 Lnet/minecraft/class_1297;method_52533(Lnet/minecraft/class_1297;Lnet/minecraft/class_4048;F)Lnet/minecraft/class_243;
      official a Lbsw;a(Lbsw;Lbsz;F)Levt;
    • getScaleFactor

      public float getScaleFactor()
      Overrides:
      getScaleFactor in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named getScaleFactor Lnet/minecraft/entity/LivingEntity;getScaleFactor()F
      intermediary method_17825 Lnet/minecraft/class_1309;method_17825()F
      official ed Lbtr;ed()F
    • getPassengerAttachmentY

      private double getPassengerAttachmentY(boolean primaryPassenger, float tickDelta, EntityDimensions dimensions, float scaleFactor)
      Mappings:
      Namespace Name Mixin selector
      named getPassengerAttachmentY Lnet/minecraft/entity/passive/CamelEntity;getPassengerAttachmentY(ZFLnet/minecraft/entity/EntityDimensions;F)D
      intermediary method_45346 Lnet/minecraft/class_7689;method_45346(ZFLnet/minecraft/class_4048;F)D
      official a Lcgy;a(ZFLbsz;F)D
    • getLeashOffset

      public Vec3d getLeashOffset(float tickDelta)
      Overrides:
      getLeashOffset in class Entity
      Mappings:
      Namespace Name Mixin selector
      named getLeashOffset Lnet/minecraft/entity/Entity;getLeashOffset(F)Lnet/minecraft/util/math/Vec3d;
      intermediary method_45321 Lnet/minecraft/class_1297;method_45321(F)Lnet/minecraft/class_243;
      official p Lbsw;p(F)Levt;
    • getMaxHeadRotation

      public int getMaxHeadRotation()
      Returns the maximum degrees which the head yaw can differ from the body yaw.

      This is used by the body control.

      It can return from 1 for entities that can hardly rotate their head, like axolotls or dolphins, or 180 for entities that can freely rotate their head, like shulkers. The default return value is 75.

      Overrides:
      getMaxHeadRotation in class MobEntity
      Returns:
      the maximum degrees which the head yaw can differ from the body yaw
      Mappings:
      Namespace Name Mixin selector
      named getMaxHeadRotation Lnet/minecraft/entity/mob/MobEntity;getMaxHeadRotation()I
      intermediary method_5986 Lnet/minecraft/class_1308;method_5986()I
      official ab Lbtt;ab()I
    • 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
      named canAddPassenger Lnet/minecraft/entity/Entity;canAddPassenger(Lnet/minecraft/entity/Entity;)Z
      intermediary method_5818 Lnet/minecraft/class_1297;method_5818(Lnet/minecraft/class_1297;)Z
      official r Lbsw;r(Lbsw;)Z
    • sendAiDebugData

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

      public boolean isSitting()
      Mappings:
      Namespace Name Mixin selector
      named isSitting Lnet/minecraft/entity/passive/CamelEntity;isSitting()Z
      intermediary method_45350 Lnet/minecraft/class_7689;method_45350()Z
      official gy Lcgy;gy()Z
    • shouldUpdateSittingAnimations

      public boolean shouldUpdateSittingAnimations()
      Mappings:
      Namespace Name Mixin selector
      named shouldUpdateSittingAnimations Lnet/minecraft/entity/passive/CamelEntity;shouldUpdateSittingAnimations()Z
      intermediary method_48573 Lnet/minecraft/class_7689;method_48573()Z
      official gz Lcgy;gz()Z
    • isChangingPose

      public boolean isChangingPose()
      Mappings:
      Namespace Name Mixin selector
      named isChangingPose Lnet/minecraft/entity/passive/CamelEntity;isChangingPose()Z
      intermediary method_45351 Lnet/minecraft/class_7689;method_45351()Z
      official gA Lcgy;gA()Z
    • shouldPlaySittingTransitionAnimation

      private boolean shouldPlaySittingTransitionAnimation()
      Mappings:
      Namespace Name Mixin selector
      named shouldPlaySittingTransitionAnimation Lnet/minecraft/entity/passive/CamelEntity;shouldPlaySittingTransitionAnimation()Z
      intermediary method_46398 Lnet/minecraft/class_7689;method_46398()Z
      official hb Lcgy;hb()Z
    • startSitting

      public void startSitting()
      Mappings:
      Namespace Name Mixin selector
      named startSitting Lnet/minecraft/entity/passive/CamelEntity;startSitting()V
      intermediary method_45352 Lnet/minecraft/class_7689;method_45352()V
      official gB Lcgy;gB()V
    • startStanding

      public void startStanding()
      Mappings:
      Namespace Name Mixin selector
      named startStanding Lnet/minecraft/entity/passive/CamelEntity;startStanding()V
      intermediary method_45353 Lnet/minecraft/class_7689;method_45353()V
      official gC Lcgy;gC()V
    • setStanding

      public void setStanding()
      Mappings:
      Namespace Name Mixin selector
      named setStanding Lnet/minecraft/entity/passive/CamelEntity;setStanding()V
      intermediary method_45354 Lnet/minecraft/class_7689;method_45354()V
      official gD Lcgy;gD()V
    • setLastPoseTick

      public void setLastPoseTick(long lastPoseTick)
      Mappings:
      Namespace Name Mixin selector
      named setLastPoseTick Lnet/minecraft/entity/passive/CamelEntity;setLastPoseTick(J)V
      intermediary method_45344 Lnet/minecraft/class_7689;method_45344(J)V
      official a Lcgy;a(J)V
    • initLastPoseTick

      private void initLastPoseTick(long time)
      Mappings:
      Namespace Name Mixin selector
      named initLastPoseTick Lnet/minecraft/entity/passive/CamelEntity;initLastPoseTick(J)V
      intermediary method_48160 Lnet/minecraft/class_7689;method_48160(J)V
      official b Lcgy;b(J)V
    • getLastPoseTickDelta

      public long getLastPoseTickDelta()
      Mappings:
      Namespace Name Mixin selector
      named getLastPoseTickDelta Lnet/minecraft/entity/passive/CamelEntity;getLastPoseTickDelta()J
      intermediary method_45355 Lnet/minecraft/class_7689;method_45355()J
      official gE Lcgy;gE()J
    • getSaddleSound

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

      public void onTrackedDataSet(TrackedData<?> data)
      Specified by:
      onTrackedDataSet in interface DataTracked
      Overrides:
      onTrackedDataSet in class PassiveEntity
      Mappings:
      Namespace Name Mixin selector
      named onTrackedDataSet Lnet/minecraft/entity/data/DataTracked;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
      intermediary method_5674 Lnet/minecraft/class_9221;method_5674(Lnet/minecraft/class_2940;)V
      official a Lakn;a(Lakk;)V
    • isTame

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

      public void openInventory(PlayerEntity player)
      Specified by:
      openInventory in interface RideableInventory
      Overrides:
      openInventory in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      named openInventory Lnet/minecraft/entity/RideableInventory;openInventory(Lnet/minecraft/entity/player/PlayerEntity;)V
      intermediary method_6722 Lnet/minecraft/class_7248;method_6722(Lnet/minecraft/class_1657;)V
      official b Lbtk;b(Lcmz;)V
    • createBodyControl

      protected BodyControl createBodyControl()
      Overrides:
      createBodyControl in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      named createBodyControl Lnet/minecraft/entity/mob/MobEntity;createBodyControl()Lnet/minecraft/entity/ai/control/BodyControl;
      intermediary method_5963 Lnet/minecraft/class_1308;method_5963()Lnet/minecraft/class_1330;
      official E Lbtt;E()Lbzn;