Package net.minecraft

Class class_11002

All Implemented Interfaces:
ComponentsAccess, Attackable, DataTracked, EquipmentHolder, Flutterer, Leashable, Angerable, Tameable, Targeter, ScoreHolder, Nameable, EntityLike, UniquelyIdentifiable

public class class_11002 extends class_10995 implements Angerable, Flutterer
Mappings:
Namespace Name
named net/minecraft/class_11002
intermediary net/minecraft/class_11002
official ctp
  • Field Details

    • field_58610

      public static final float field_58610
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_58610 Lnet/minecraft/class_11002;field_58610:F
      intermediary field_58610 Lnet/minecraft/class_11002;field_58610:F
      official bO Lctp;bO:F
    • field_58611

      public static final int field_58611
      Mappings:
      Namespace Name Mixin selector
      named field_58611 Lnet/minecraft/class_11002;field_58611:I
      intermediary field_58611 Lnet/minecraft/class_11002;field_58611:I
      official bP Lctp;bP:I
    • field_58620

      private static final TrackedData<Byte> field_58620
      Mappings:
      Namespace Name Mixin selector
      named field_58620 Lnet/minecraft/class_11002;field_58620:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_58620 Lnet/minecraft/class_11002;field_58620:Lnet/minecraft/class_2940;
      official bY Lctp;bY:Lale;
    • field_58621

      private static final TrackedData<Integer> field_58621
      Mappings:
      Namespace Name Mixin selector
      named field_58621 Lnet/minecraft/class_11002;field_58621:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_58621 Lnet/minecraft/class_11002;field_58621:Lnet/minecraft/class_2940;
      official bZ Lctp;bZ:Lale;
    • field_58623

      private static final int field_58623
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_58623 Lnet/minecraft/class_11002;field_58623:I
      intermediary field_58623 Lnet/minecraft/class_11002;field_58623:I
      official ca Lctp;ca:I
    • field_58624

      private static final int field_58624
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_58624 Lnet/minecraft/class_11002;field_58624:I
      intermediary field_58624 Lnet/minecraft/class_11002;field_58624:I
      official cb Lctp;cb:I
    • field_58625

      private static final int field_58625
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_58625 Lnet/minecraft/class_11002;field_58625:I
      intermediary field_58625 Lnet/minecraft/class_11002;field_58625:I
      official cc Lctp;cc:I
    • field_58626

      private static final int field_58626
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_58626 Lnet/minecraft/class_11002;field_58626:I
      intermediary field_58626 Lnet/minecraft/class_11002;field_58626:I
      official cd Lctp;cd:I
    • field_58627

      private static final int field_58627
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_58627 Lnet/minecraft/class_11002;field_58627:I
      intermediary field_58627 Lnet/minecraft/class_11002;field_58627:I
      official ce Lctp;ce:I
    • field_58628

      private static final int field_58628
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_58628 Lnet/minecraft/class_11002;field_58628:I
      intermediary field_58628 Lnet/minecraft/class_11002;field_58628:I
      official cf Lctp;cf:I
    • field_58629

      private static final int field_58629
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_58629 Lnet/minecraft/class_11002;field_58629:I
      intermediary field_58629 Lnet/minecraft/class_11002;field_58629:I
      official cg Lctp;cg:I
    • field_58630

      private static final int field_58630
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_58630 Lnet/minecraft/class_11002;field_58630:I
      intermediary field_58630 Lnet/minecraft/class_11002;field_58630:I
      official ch Lctp;ch:I
    • field_58631

      private static final int field_58631
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_58631 Lnet/minecraft/class_11002;field_58631:I
      intermediary field_58631 Lnet/minecraft/class_11002;field_58631:I
      official ci Lctp;ci:I
    • field_58632

      private static final int field_58632
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_58632 Lnet/minecraft/class_11002;field_58632:I
      intermediary field_58632 Lnet/minecraft/class_11002;field_58632:I
      official cj Lctp;cj:I
    • field_58633

      private static final int field_58633
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_58633 Lnet/minecraft/class_11002;field_58633:I
      intermediary field_58633 Lnet/minecraft/class_11002;field_58633:I
      official ck Lctp;ck:I
    • field_58634

      private static final int field_58634
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_58634 Lnet/minecraft/class_11002;field_58634:I
      intermediary field_58634 Lnet/minecraft/class_11002;field_58634:I
      official cl Lctp;cl:I
    • field_58635

      private static final int field_58635
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_58635 Lnet/minecraft/class_11002;field_58635:I
      intermediary field_58635 Lnet/minecraft/class_11002;field_58635:I
      official cm Lctp;cm:I
    • field_58636

      private static final int field_58636
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_58636 Lnet/minecraft/class_11002;field_58636:I
      intermediary field_58636 Lnet/minecraft/class_11002;field_58636:I
      official cn Lctp;cn:I
    • field_58637

      private static final int field_58637
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_58637 Lnet/minecraft/class_11002;field_58637:I
      intermediary field_58637 Lnet/minecraft/class_11002;field_58637:I
      official co Lctp;co:I
    • field_58612

      public static final String field_58612
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_58612 Lnet/minecraft/class_11002;field_58612:Ljava/lang/String;
      intermediary field_58612 Lnet/minecraft/class_11002;field_58612:Ljava/lang/String;
      official bQ Lctp;bQ:Ljava/lang/String;
    • field_58613

      public static final String field_58613
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_58613 Lnet/minecraft/class_11002;field_58613:Ljava/lang/String;
      intermediary field_58613 Lnet/minecraft/class_11002;field_58613:Ljava/lang/String;
      official bR Lctp;bR:Ljava/lang/String;
    • field_58614

      public static final String field_58614
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_58614 Lnet/minecraft/class_11002;field_58614:Ljava/lang/String;
      intermediary field_58614 Lnet/minecraft/class_11002;field_58614:Ljava/lang/String;
      official bS Lctp;bS:Ljava/lang/String;
    • field_58615

      public static final String field_58615
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_58615 Lnet/minecraft/class_11002;field_58615:Ljava/lang/String;
      intermediary field_58615 Lnet/minecraft/class_11002;field_58615:Ljava/lang/String;
      official bT Lctp;bT:Ljava/lang/String;
    • field_58616

      public static final String field_58616
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_58616 Lnet/minecraft/class_11002;field_58616:Ljava/lang/String;
      intermediary field_58616 Lnet/minecraft/class_11002;field_58616:Ljava/lang/String;
      official bU Lctp;bU:Ljava/lang/String;
    • field_58617

      public static final String field_58617
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_58617 Lnet/minecraft/class_11002;field_58617:Ljava/lang/String;
      intermediary field_58617 Lnet/minecraft/class_11002;field_58617:Ljava/lang/String;
      official bV Lctp;bV:Ljava/lang/String;
    • field_58618

      public static final String field_58618
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_58618 Lnet/minecraft/class_11002;field_58618:Ljava/lang/String;
      intermediary field_58618 Lnet/minecraft/class_11002;field_58618:Ljava/lang/String;
      official bW Lctp;bW:Ljava/lang/String;
    • field_58619

      public static final boolean field_58619
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_58619 Lnet/minecraft/class_11002;field_58619:Z
      intermediary field_58619 Lnet/minecraft/class_11002;field_58619:Z
      official bX Lctp;bX:Z
    • field_58638

      private static final boolean field_58638
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_58638 Lnet/minecraft/class_11002;field_58638:Z
      intermediary field_58638 Lnet/minecraft/class_11002;field_58638:Z
      official cp Lctp;cp:Z
    • field_58639

      private static final int field_58639
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_58639 Lnet/minecraft/class_11002;field_58639:I
      intermediary field_58639 Lnet/minecraft/class_11002;field_58639:I
      official cq Lctp;cq:I
    • field_58640

      private static final int field_58640
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_58640 Lnet/minecraft/class_11002;field_58640:I
      intermediary field_58640 Lnet/minecraft/class_11002;field_58640:I
      official cr Lctp;cr:I
    • field_58641

      private static final int field_58641
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_58641 Lnet/minecraft/class_11002;field_58641:I
      intermediary field_58641 Lnet/minecraft/class_11002;field_58641:I
      official cu Lctp;cu:I
    • field_58642

      private static final UniformIntProvider field_58642
      Mappings:
      Namespace Name Mixin selector
      named field_58642 Lnet/minecraft/class_11002;field_58642:Lnet/minecraft/util/math/intprovider/UniformIntProvider;
      intermediary field_58642 Lnet/minecraft/class_11002;field_58642:Lnet/minecraft/class_6019;
      official cv Lctp;cv:Lbvm;
    • field_58643

      @Nullable private @Nullable UUID field_58643
      Mappings:
      Namespace Name Mixin selector
      named field_58643 Lnet/minecraft/class_11002;field_58643:Ljava/util/UUID;
      intermediary field_58643 Lnet/minecraft/class_11002;field_58643:Ljava/util/UUID;
      official cw Lctp;cw:Ljava/util/UUID;
    • field_58644

      private float field_58644
      Mappings:
      Namespace Name Mixin selector
      named field_58644 Lnet/minecraft/class_11002;field_58644:F
      intermediary field_58644 Lnet/minecraft/class_11002;field_58644:F
      official cx Lctp;cx:F
    • field_58645

      private float field_58645
      Mappings:
      Namespace Name Mixin selector
      named field_58645 Lnet/minecraft/class_11002;field_58645:F
      intermediary field_58645 Lnet/minecraft/class_11002;field_58645:F
      official cy Lctp;cy:F
    • field_58646

      private int field_58646
      Mappings:
      Namespace Name Mixin selector
      named field_58646 Lnet/minecraft/class_11002;field_58646:I
      intermediary field_58646 Lnet/minecraft/class_11002;field_58646:I
      official cz Lctp;cz:I
    • field_58622

      private int field_58622
      Mappings:
      Namespace Name Mixin selector
      named field_58622 Lnet/minecraft/class_11002;field_58622:I
      intermediary field_58622 Lnet/minecraft/class_11002;field_58622:I
      official cA Lctp;cA:I
  • Constructor Details

    • class_11002

      public class_11002(EntityType<? extends class_11002> 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> Lbye;<init>(Lbyn;Ldmy;)V
  • Method Details

    • initDataTracker

      protected void initDataTracker(DataTracker.Builder builder)
      Initializes data tracker.
      Overrides:
      initDataTracker in class TameableEntity
      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 Lbye;a(Lali$a;)V
    • getPathfindingFavor

      public float getPathfindingFavor(BlockPos pos, WorldView world)
      Overrides:
      getPathfindingFavor in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      named getPathfindingFavor Lnet/minecraft/entity/mob/PathAwareEntity;getPathfindingFavor(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/WorldView;)F
      intermediary method_6144 Lnet/minecraft/class_1314;method_6144(Lnet/minecraft/class_2338;Lnet/minecraft/class_4538;)F
      official a Lbzn;a(Lix;Ldnb;)F
    • 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 TameableEntity
      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 Lbye;b(Luc;)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 TameableEntity
      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 Lbye;a(Luc;)V
    • tryAttack

      public boolean tryAttack(ServerWorld world, Entity target)
      Overrides:
      tryAttack in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      named tryAttack Lnet/minecraft/entity/LivingEntity;tryAttack(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/Entity;)Z
      intermediary method_6121 Lnet/minecraft/class_1309;method_6121(Lnet/minecraft/class_3218;Lnet/minecraft/class_1297;)Z
      official c Lbzf;c(Last;Lbye;)Z
    • tick

      public void tick()
      Ticks this entity.
      Overrides:
      tick in class MobEntity
      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 i Lbye;i()V
    • method_69367

      private void method_69367(BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      named method_69367 Lnet/minecraft/class_11002;method_69367(Lnet/minecraft/util/math/BlockPos;)V
      intermediary method_69367 Lnet/minecraft/class_11002;method_69367(Lnet/minecraft/class_2338;)V
      official h Lctp;h(Lix;)V
    • method_69361

      public static boolean method_69361(World world)
      Mappings:
      Namespace Name Mixin selector
      named method_69361 Lnet/minecraft/class_11002;method_69361(Lnet/minecraft/world/World;)Z
      intermediary method_69361 Lnet/minecraft/class_11002;method_69361(Lnet/minecraft/class_1937;)Z
      official c Lctp;c(Ldmy;)Z
    • method_69358

      public float method_69358(float float2)
      Mappings:
      Namespace Name Mixin selector
      named method_69358 Lnet/minecraft/class_11002;method_69358(F)F
      intermediary method_69358 Lnet/minecraft/class_11002;method_69358(F)F
      official J Lctp;J(F)F
    • method_69365

      private void method_69365()
      Mappings:
      Namespace Name Mixin selector
      named method_69365 Lnet/minecraft/class_11002;method_69365()V
      intermediary method_69365 Lnet/minecraft/class_11002;method_69365()V
      official gJ Lctp;gJ()V
    • mobTick

      protected void mobTick(ServerWorld world)
      Overrides:
      mobTick in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      named mobTick Lnet/minecraft/entity/mob/MobEntity;mobTick(Lnet/minecraft/server/world/ServerWorld;)V
      intermediary method_5958 Lnet/minecraft/class_1308;method_5958(Lnet/minecraft/class_3218;)V
      official a Lbzh;a(Last;)V
    • getAngerTime

      public int getAngerTime()
      Specified by:
      getAngerTime in interface Angerable
      Mappings:
      Namespace Name Mixin selector
      named getAngerTime Lnet/minecraft/entity/mob/Angerable;getAngerTime()I
      intermediary method_29507 Lnet/minecraft/class_5354;method_29507()I
      official a Lbzk;a()I
    • setAngerTime

      public void setAngerTime(int angerTime)
      Specified by:
      setAngerTime in interface Angerable
      Mappings:
      Namespace Name Mixin selector
      named setAngerTime Lnet/minecraft/entity/mob/Angerable;setAngerTime(I)V
      intermediary method_29514 Lnet/minecraft/class_5354;method_29514(I)V
      official a Lbzk;a(I)V
    • getAngryAt

      @Nullable public @Nullable UUID getAngryAt()
      Specified by:
      getAngryAt in interface Angerable
      Mappings:
      Namespace Name Mixin selector
      named getAngryAt Lnet/minecraft/entity/mob/Angerable;getAngryAt()Ljava/util/UUID;
      intermediary method_29508 Lnet/minecraft/class_5354;method_29508()Ljava/util/UUID;
      official b Lbzk;b()Ljava/util/UUID;
    • setAngryAt

      public void setAngryAt(@Nullable @Nullable UUID angryAt)
      Specified by:
      setAngryAt in interface Angerable
      Mappings:
      Namespace Name Mixin selector
      named setAngryAt Lnet/minecraft/entity/mob/Angerable;setAngryAt(Ljava/util/UUID;)V
      intermediary method_29513 Lnet/minecraft/class_5354;method_29513(Ljava/util/UUID;)V
      official a Lbzk;a(Ljava/util/UUID;)V
    • chooseRandomAngerTime

      public void chooseRandomAngerTime()
      Specified by:
      chooseRandomAngerTime in interface Angerable
      Mappings:
      Namespace Name Mixin selector
      named chooseRandomAngerTime Lnet/minecraft/entity/mob/Angerable;chooseRandomAngerTime()V
      intermediary method_29509 Lnet/minecraft/class_5354;method_29509()V
      official c Lbzk;c()V
    • method_69368

      private boolean method_69368(BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      named method_69368 Lnet/minecraft/class_11002;method_69368(Lnet/minecraft/util/math/BlockPos;)Z
      intermediary method_69368 Lnet/minecraft/class_11002;method_69368(Lnet/minecraft/class_2338;)Z
      official i Lctp;i(Lix;)Z
    • method_69364

      public GoalSelector method_69364()
      Mappings:
      Namespace Name Mixin selector
      named method_69364 Lnet/minecraft/class_11002;method_69364()Lnet/minecraft/entity/ai/goal/GoalSelector;
      intermediary method_69364 Lnet/minecraft/class_11002;method_69364()Lnet/minecraft/class_1355;
      official gH Lctp;gH()Lcgi;
    • 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 aa Lbzh;aa()V
    • method_69366

      private boolean method_69366()
      Mappings:
      Namespace Name Mixin selector
      named method_69366 Lnet/minecraft/class_11002;method_69366()Z
      intermediary method_69366 Lnet/minecraft/class_11002;method_69366()Z
      official gK Lctp;gK()Z
    • method_69370

      private void method_69370(boolean bool)
      Mappings:
      Namespace Name Mixin selector
      named method_69370 Lnet/minecraft/class_11002;method_69370(Z)V
      intermediary method_69370 Lnet/minecraft/class_11002;method_69370(Z)V
      official z Lctp;z(Z)V
    • method_69363

      private void method_69363(int int2, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      named method_69363 Lnet/minecraft/class_11002;method_69363(IZ)V
      intermediary method_69363 Lnet/minecraft/class_11002;method_69363(IZ)V
      official d Lctp;d(IZ)V
    • method_69369

      private boolean method_69369(int int2)
      Mappings:
      Namespace Name Mixin selector
      named method_69369 Lnet/minecraft/class_11002;method_69369(I)Z
      intermediary method_69369 Lnet/minecraft/class_11002;method_69369(I)Z
      official s Lctp;s(I)Z
    • createNavigation

      protected EntityNavigation createNavigation(World world)
      Overrides:
      createNavigation in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      named createNavigation Lnet/minecraft/entity/mob/MobEntity;createNavigation(Lnet/minecraft/world/World;)Lnet/minecraft/entity/ai/pathing/EntityNavigation;
      intermediary method_5965 Lnet/minecraft/class_1308;method_5965(Lnet/minecraft/class_1937;)Lnet/minecraft/class_1408;
      official b Lbzh;b(Ldmy;)Lciw;
    • interactMob

      public ActionResult interactMob(PlayerEntity player, Hand hand)
      Overrides:
      interactMob in class class_10995
      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 Lbzh;b(Lcuf;Lbwa;)Lbwb;
    • playStepSound

      protected void playStepSound(BlockPos pos, BlockState state)
      Overrides:
      playStepSound in class Entity
      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 Lbye;b(Lix;Lees;)V
    • 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 r Lbzh;r()Laxv;
    • getSoundVolume

      protected float getSoundVolume()
      Overrides:
      getSoundVolume in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named getSoundVolume Lnet/minecraft/entity/LivingEntity;getSoundVolume()F
      intermediary method_6107 Lnet/minecraft/class_1309;method_6107()F
      official fj Lbzf;fj()F
    • createChild

      @Nullable public @Nullable BeeEntity createChild(ServerWorld serverWorld, PassiveEntity passiveEntity)
      Overrides:
      createChild in class class_10995
      Mappings:
      Namespace Name Mixin selector
      named createChild Lnet/minecraft/class_11002;createChild(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/BeeEntity;
      intermediary method_69359 Lnet/minecraft/class_11002;method_69359(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_4466;
      official b Lctp;b(Last;Lbxu;)Lcld;
    • fall

      protected void fall(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition)
      Called when the entity falls. Flying mobs should override this to do nothing.
      Overrides:
      fall in class LivingEntity
      Implementation Note:
      If on ground, this calls Block.onLandedUpon(net.minecraft.world.World, net.minecraft.block.BlockState, net.minecraft.util.math.BlockPos, net.minecraft.entity.Entity, double), which can add or reduce fall damage, emits GameEvent.HIT_GROUND, then calls Entity.onLanding(). Otherwise, if heightDifference is negative, it subtracts that value from Entity.fallDistance.
      Mappings:
      Namespace Name Mixin selector
      named fall Lnet/minecraft/entity/Entity;fall(DZLnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;)V
      intermediary method_5623 Lnet/minecraft/class_1297;method_5623(DZLnet/minecraft/class_2680;Lnet/minecraft/class_2338;)V
      official a Lbye;a(DZLees;Lix;)V
    • isFlappingWings

      public boolean isFlappingWings()
      Returns whether the entity is flapping their wings.

      Entities flapping their wings will call Entity.addFlapEffects() inside Entity.addAirTravelEffects().

      Overrides:
      isFlappingWings in class Entity
      Returns:
      whether the entity is flapping their wings
      Mappings:
      Namespace Name Mixin selector
      named isFlappingWings Lnet/minecraft/entity/Entity;isFlappingWings()Z
      intermediary method_5776 Lnet/minecraft/class_1297;method_5776()Z
      official bf Lbye;bf()Z
    • isInAir

      public boolean isInAir()
      Specified by:
      isInAir in interface Flutterer
      Mappings:
      Namespace Name Mixin selector
      named isInAir Lnet/minecraft/entity/Flutterer;isInAir()Z
      intermediary method_6581 Lnet/minecraft/class_1432;method_6581()Z
      official gI Lclq;gI()Z
    • swimUpward

      protected void swimUpward(TagKey<Fluid> fluid)
      Overrides:
      swimUpward in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      named swimUpward Lnet/minecraft/entity/LivingEntity;swimUpward(Lnet/minecraft/registry/tag/TagKey;)V
      intermediary method_6010 Lnet/minecraft/class_1309;method_6010(Lnet/minecraft/class_6862;)V
      official c Lbzf;c(Laza;)V
    • getLeashOffset

      public Vec3d getLeashOffset()
      Returns the offset from the entity's position where the leash is attached to.

      This is different from Entity.getLeashPos(float); this method is called on the entity which a leash is attached to.

      Overrides:
      getLeashOffset in class Entity
      Returns:
      the offset from the entity's position where the leash is attached to
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named getLeashOffset Lnet/minecraft/entity/Entity;getLeashOffset()Lnet/minecraft/util/math/Vec3d;
      intermediary method_29919 Lnet/minecraft/class_1297;method_29919()Lnet/minecraft/class_243;
      official cZ Lbye;cZ()Lfkb;
    • method_69360

      private boolean method_69360(BlockPos blockPos, int int2)
      Mappings:
      Namespace Name Mixin selector
      named method_69360 Lnet/minecraft/class_11002;method_69360(Lnet/minecraft/util/math/BlockPos;I)Z
      intermediary method_69360 Lnet/minecraft/class_11002;method_69360(Lnet/minecraft/class_2338;I)Z
      official b Lctp;b(Lix;I)Z
    • method_69362

      public static boolean method_69362(BlockState blockState)
      Mappings:
      Namespace Name Mixin selector
      named method_69362 Lnet/minecraft/class_11002;method_69362(Lnet/minecraft/block/BlockState;)Z
      intermediary method_69362 Lnet/minecraft/class_11002;method_69362(Lnet/minecraft/class_2680;)Z
      official c Lctp;c(Lees;)Z
    • shouldAngerAt

      public boolean shouldAngerAt(LivingEntity entity, ServerWorld world)
      Specified by:
      shouldAngerAt in interface Angerable
      Mappings:
      Namespace Name Mixin selector
      named shouldAngerAt Lnet/minecraft/entity/mob/Angerable;shouldAngerAt(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/server/world/ServerWorld;)Z
      intermediary method_29515 Lnet/minecraft/class_5354;method_29515(Lnet/minecraft/class_1309;Lnet/minecraft/class_3218;)Z
      official a Lbzk;a(Lbzf;Last;)Z