Class CamelHuskEntity

All Implemented Interfaces:
ComponentsAccess, Attackable, DataTracked, EquipmentHolder, JumpingMount, Leashable, Mount, RideableInventory, Tameable, Targeter, StackReferenceGetter, 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 cvh
  • 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> Lcgi;<init>(Lcgs;Ldvg;)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 Lchm;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 hn Lcwb;hn()Z
    • interact

      public ActionResult interact(PlayerEntity player, Hand hand)
      Called when a player interacts with this entity.
      Overrides:
      interact in class MobEntity
      Parameters:
      player - the player
      hand - the hand the player used to interact with this entity
      Mappings:
      Namespace Name Mixin selector
      named interact Lnet/minecraft/entity/Entity;interact(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
      intermediary method_5688 Lnet/minecraft/class_1297;method_5688(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
      official a Lcgi;a(Ldcm;Lccz;)Lcda;
    • 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 Lchi;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 Lcth;i(Ldkm;)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 Lchm;p()Lbcy;
    • 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 Lcth;a(Lcth;)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 Lcvh;method_45347(Laxf;Lcfw;)Lcvf;
    • 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_ Lchk;e_()Lbcy;
    • 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 Lchk;e(Lcev;)Lbcy;
    • 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 Lcgi;b(Lis;Lemz;)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 gQ Lcvf;gQ()Lbcy;
    • 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 gR Lcvf;gR()Lbcy;
    • 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 gU Lcwb;gU()Lbcy;
    • 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 hh Lcvf;hh()Lbcy;
    • 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 hi Lcvf;hi()Lbcy;
    • 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 hl Lcvf;hl()Ljd$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 gL Lchm;gL()F