Class CamelHuskEntity

All Implemented Interfaces:
class_12260, ComponentsAccess, Attackable, DataTracked, EquipmentHolder, JumpingMount, Leashable, Mount, RideableInventory, Tameable, Targeter, ScoreHolder, HeldItemContext, Nameable, DebugTrackable, EntityLike, UniquelyIdentifiable, ServerWaypoint, Waypoint

public class CamelHuskEntity extends CamelEntity
Mappings:
Namespace Name
named net/minecraft/entity/mob/CamelHuskEntity
intermediary net/minecraft/class_12261
official cux
  • Constructor Details

    • CamelHuskEntity

      public CamelHuskEntity(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> Lcga;<init>(Lcgk;Ldva;)V
  • Method Details

    • canImmediatelyDespawn

      public boolean canImmediatelyDespawn(double distanceSquared)
      Overrides:
      canImmediatelyDespawn in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      named canImmediatelyDespawn Lnet/minecraft/entity/mob/MobEntity;canImmediatelyDespawn(D)Z
      intermediary method_5974 Lnet/minecraft/class_1308;method_5974(D)Z
      official i Lche;i(D)Z
    • isControlledByMob

      public boolean isControlledByMob()
      Overrides:
      isControlledByMob in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      named isControlledByMob Lnet/minecraft/entity/passive/AbstractHorseEntity;isControlledByMob()Z
      intermediary method_75147 Lnet/minecraft/class_1496;method_75147()Z
      official hk Lcvr;hk()Z
    • addPassenger

      protected void addPassenger(Entity passenger)
      Adds passenger as a passenger. This should not be called normally; call Entity.startRiding(Entity) instead. (Note that the entity to pass and the entity to call are swapped in this case; entity.startRiding(vehicle) is the equivalent of vehicle.addPassenger(entity).)
      Overrides:
      addPassenger in class AbstractHorseEntity
      Throws:
      IllegalStateException - when the method is called directly
      Mappings:
      Namespace Name Mixin selector
      named addPassenger Lnet/minecraft/entity/Entity;addPassenger(Lnet/minecraft/entity/Entity;)V
      intermediary method_5627 Lnet/minecraft/class_1297;method_5627(Lnet/minecraft/class_1297;)V
      official q Lcga;q(Lcga;)V
    • canBeLeashed

      public boolean canBeLeashed()
      Specified by:
      canBeLeashed in interface Leashable
      Overrides:
      canBeLeashed in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      named canBeLeashed Lnet/minecraft/entity/Leashable;canBeLeashed()Z
      intermediary method_5931 Lnet/minecraft/class_9817;method_5931()Z
      official v Lcha;v()Z
    • isBreedingItem

      public boolean isBreedingItem(ItemStack stack)
      Overrides:
      isBreedingItem in class CamelEntity
      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 i Lcsz;i(Ldkg;)Z
    • getAmbientSound

      protected SoundEvent getAmbientSound()
      Overrides:
      getAmbientSound in class CamelEntity
      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 p Lche;p()Lbcz;
    • canBreedWith

      public boolean canBreedWith(AnimalEntity other)
      Overrides:
      canBreedWith in class CamelEntity
      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 Lcsz;a(Lcsz;)Z
    • createChild

      public @Nullable CamelEntity createChild(ServerWorld serverWorld, PassiveEntity passiveEntity)
      Overrides:
      createChild in class CamelEntity
      Mappings:
      Namespace Name Mixin selector
      named createChild Lnet/minecraft/entity/mob/CamelHuskEntity;createChild(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/CamelEntity;
      intermediary method_45347 Lnet/minecraft/class_12261;method_45347(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_7689;
      official method_45347 Lcux;method_45347(Laxg;Lcfo;)Lcuv;
    • getDeathSound

      protected SoundEvent getDeathSound()
      Overrides:
      getDeathSound in class CamelEntity
      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 e_ Lchc;e_()Lbcz;
    • getHurtSound

      protected SoundEvent getHurtSound(DamageSource source)
      Overrides:
      getHurtSound in class CamelEntity
      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 e Lchc;e(Lcen;)Lbcz;
    • playStepSound

      protected void playStepSound(BlockPos pos, BlockState state)
      Overrides:
      playStepSound in class CamelEntity
      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 Lcga;b(Liv;Lemu;)V
    • getDashSound

      protected SoundEvent getDashSound()
      Overrides:
      getDashSound in class CamelEntity
      Mappings:
      Namespace Name Mixin selector
      named getDashSound Lnet/minecraft/entity/passive/CamelEntity;getDashSound()Lnet/minecraft/sound/SoundEvent;
      intermediary method_76099 Lnet/minecraft/class_7689;method_76099()Lnet/minecraft/class_3414;
      official gN Lcuv;gN()Lbcz;
    • getDashReadySound

      protected SoundEvent getDashReadySound()
      Overrides:
      getDashReadySound in class CamelEntity
      Mappings:
      Namespace Name Mixin selector
      named getDashReadySound Lnet/minecraft/entity/passive/CamelEntity;getDashReadySound()Lnet/minecraft/sound/SoundEvent;
      intermediary method_76100 Lnet/minecraft/class_7689;method_76100()Lnet/minecraft/class_3414;
      official gO Lcuv;gO()Lbcz;
    • getEatSound

      protected SoundEvent getEatSound()
      Overrides:
      getEatSound in class CamelEntity
      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 gR Lcvr;gR()Lbcz;
    • getStandSound

      protected SoundEvent getStandSound()
      Overrides:
      getStandSound in class CamelEntity
      Mappings:
      Namespace Name Mixin selector
      named getStandSound Lnet/minecraft/entity/passive/CamelEntity;getStandSound()Lnet/minecraft/sound/SoundEvent;
      intermediary method_76101 Lnet/minecraft/class_7689;method_76101()Lnet/minecraft/class_3414;
      official he Lcuv;he()Lbcz;
    • getSitSound

      protected SoundEvent getSitSound()
      Overrides:
      getSitSound in class CamelEntity
      Mappings:
      Namespace Name Mixin selector
      named getSitSound Lnet/minecraft/entity/passive/CamelEntity;getSitSound()Lnet/minecraft/sound/SoundEvent;
      intermediary method_76102 Lnet/minecraft/class_7689;method_76102()Lnet/minecraft/class_3414;
      official hf Lcuv;hf()Lbcz;
    • getSaddleSound

      protected RegistryEntry.Reference<SoundEvent> getSaddleSound()
      Overrides:
      getSaddleSound in class CamelEntity
      Mappings:
      Namespace Name Mixin selector
      named getSaddleSound Lnet/minecraft/entity/passive/CamelEntity;getSaddleSound()Lnet/minecraft/registry/entry/RegistryEntry$Reference;
      intermediary method_76103 Lnet/minecraft/class_7689;method_76103()Lnet/minecraft/class_6880$class_6883;
      official hi Lcuv;hi()Ljf$c;
    • method_76091

      public float method_76091()
      Overrides:
      method_76091 in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      named method_76091 Lnet/minecraft/entity/mob/MobEntity;method_76091()F
      intermediary method_76091 Lnet/minecraft/class_1308;method_76091()F
      official gI Lche;gI()F