Class BatEntity

All Implemented Interfaces:
class_3893, EntityCategoryProvider, Nameable

public class BatEntity extends AmbientEntity
Mappings:
Namespace Name
official ajl
intermediary net/minecraft/class_1402
named net/minecraft/entity/passive/BatEntity
  • Field Details

    • field_14610

      private static final TrackedData<Byte> field_14610
      Mappings:
      Namespace Name Mixin selector
      official a Lajl;a:Lor;
      intermediary field_14610 Lnet/minecraft/class_1402;field_14610:Lnet/minecraft/class_2921;
      named field_14610 Lnet/minecraft/entity/passive/BatEntity;field_14610:Lnet/minecraft/entity/data/TrackedData;
    • field_5365

      private BlockPos field_5365
      Mappings:
      Namespace Name Mixin selector
      official b Lajl;b:Lel;
      intermediary field_5365 Lnet/minecraft/class_1402;field_5365:Lnet/minecraft/class_2552;
      named field_5365 Lnet/minecraft/entity/passive/BatEntity;field_5365:Lnet/minecraft/util/math/BlockPos;
  • Constructor Details

    • BatEntity

      public BatEntity(World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laer;<init>(Laxy;)V
      intermediary <init> Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_1150;)V
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
  • Method Details

    • initDataTracker

      protected void initDataTracker()
      Overrides:
      initDataTracker in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official x_ Laer;x_()V
      intermediary method_2484 Lnet/minecraft/class_864;method_2484()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • getSoundVolume

      protected float getSoundVolume()
      Overrides:
      getSoundVolume in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official cD Lafa;cD()F
      intermediary method_2602 Lnet/minecraft/class_1699;method_2602()F
      named getSoundVolume Lnet/minecraft/entity/LivingEntity;getSoundVolume()F
    • getSoundPitch

      protected float getSoundPitch()
      Overrides:
      getSoundPitch in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official cE Lafa;cE()F
      intermediary method_2665 Lnet/minecraft/class_1699;method_2665()F
      named getSoundPitch Lnet/minecraft/entity/LivingEntity;getSoundPitch()F
    • ambientSound

      @Nullable public SoundEvent ambientSound()
      Overrides:
      ambientSound in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official D Lafb;D()Lwi;
      intermediary method_2603 Lnet/minecraft/class_871;method_2603()Lnet/minecraft/class_2926;
      named ambientSound Lnet/minecraft/entity/mob/MobEntity;ambientSound()Lnet/minecraft/client/sound/SoundEvent;
    • getHurtSound

      protected SoundEvent getHurtSound(DamageSource damageSource)
      Overrides:
      getHurtSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official d Lafa;d(Laea;)Lwi;
      intermediary method_15060 Lnet/minecraft/class_1699;method_15060(Lnet/minecraft/class_856;)Lnet/minecraft/class_2926;
      named getHurtSound Lnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/client/sound/SoundEvent;
    • deathSound

      protected SoundEvent deathSound()
      Overrides:
      deathSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official cs Lafa;cs()Lwi;
      intermediary method_13049 Lnet/minecraft/class_1699;method_13049()Lnet/minecraft/class_2926;
      named deathSound Lnet/minecraft/entity/LivingEntity;deathSound()Lnet/minecraft/client/sound/SoundEvent;
    • isPushable

      public boolean isPushable()
      Overrides:
      isPushable in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official aC Laer;aC()Z
      intermediary method_2472 Lnet/minecraft/class_864;method_2472()Z
      named isPushable Lnet/minecraft/entity/Entity;isPushable()Z
    • pushAway

      protected void pushAway(Entity entity)
      Overrides:
      pushAway in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official C Lafa;C(Laer;)V
      intermediary method_4483 Lnet/minecraft/class_1699;method_4483(Lnet/minecraft/class_864;)V
      named pushAway Lnet/minecraft/entity/LivingEntity;pushAway(Lnet/minecraft/entity/Entity;)V
    • tickCramming

      protected void tickCramming()
      Overrides:
      tickCramming in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official cN Lafa;cN()V
      intermediary method_4478 Lnet/minecraft/class_1699;method_4478()V
      named tickCramming Lnet/minecraft/entity/LivingEntity;tickCramming()V
    • initializeAttributes

      protected void initializeAttributes()
      Overrides:
      initializeAttributes in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official bZ Lafa;bZ()V
      intermediary method_6129 Lnet/minecraft/class_1699;method_6129()V
      named initializeAttributes Lnet/minecraft/entity/LivingEntity;initializeAttributes()V
    • isRoosting

      public boolean isRoosting()
      Mappings:
      Namespace Name Mixin selector
      official l Lajl;l()Z
      intermediary method_4515 Lnet/minecraft/class_1402;method_4515()Z
      named isRoosting Lnet/minecraft/entity/passive/BatEntity;isRoosting()Z
    • setRoosting

      public void setRoosting(boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official a Lajl;a(Z)V
      intermediary method_4514 Lnet/minecraft/class_1402;method_4514(Z)V
      named setRoosting Lnet/minecraft/entity/passive/BatEntity;setRoosting(Z)V
    • tick

      public void tick()
      Overrides:
      tick in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official R_ Laer;R_()V
      intermediary method_2558 Lnet/minecraft/class_864;method_2558()V
      named tick Lnet/minecraft/entity/Entity;tick()V
    • mobTick

      protected void mobTick()
      Overrides:
      mobTick in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official J Lafb;J()V
      intermediary method_2633 Lnet/minecraft/class_871;method_2633()V
      named mobTick Lnet/minecraft/entity/mob/MobEntity;mobTick()V
    • canClimb

      protected boolean canClimb()
      Overrides:
      canClimb in class Entity
      Mappings:
      Namespace Name Mixin selector
      official ak Laer;ak()Z
      intermediary method_2549 Lnet/minecraft/class_864;method_2549()Z
      named canClimb Lnet/minecraft/entity/Entity;canClimb()Z
    • handleFallDamage

      public void handleFallDamage(float fallDistance, float damageMultiplier)
      Overrides:
      handleFallDamage in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official c Laer;c(FF)V
      intermediary method_2490 Lnet/minecraft/class_864;method_2490(FF)V
      named handleFallDamage Lnet/minecraft/entity/Entity;handleFallDamage(FF)V
    • fall

      protected void fall(double heightDifference, boolean onGround, BlockState landedState, BlockPos landedPos)
      Overrides:
      fall in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Laer;a(DZLblc;Lel;)V
      intermediary method_2489 Lnet/minecraft/class_864;method_2489(DZLnet/minecraft/class_2232;Lnet/minecraft/class_2552;)V
      named fall Lnet/minecraft/entity/Entity;fall(DZLnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;)V
    • canAvoidTraps

      public boolean canAvoidTraps()
      Overrides:
      canAvoidTraps in class Entity
      Mappings:
      Namespace Name Mixin selector
      official br Laer;br()Z
      intermediary method_4450 Lnet/minecraft/class_864;method_4450()Z
      named canAvoidTraps Lnet/minecraft/entity/Entity;canAvoidTraps()Z
    • damage

      public boolean damage(DamageSource source, float amount)
      Overrides:
      damage in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Laer;a(Laea;F)Z
      intermediary method_2499 Lnet/minecraft/class_864;method_2499(Lnet/minecraft/class_856;F)Z
      named damage Lnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
    • readCustomDataFromNbt

      public void readCustomDataFromNbt(NbtCompound nbt)
      Overrides:
      readCustomDataFromNbt in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Laer;a(Lgy;)V
      intermediary method_2498 Lnet/minecraft/class_864;method_2498(Lnet/minecraft/class_322;)V
      named readCustomDataFromNbt Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • writeCustomDataToNbt

      public void writeCustomDataToNbt(NbtCompound nbt)
      Overrides:
      writeCustomDataToNbt in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official b Laer;b(Lgy;)V
      intermediary method_2528 Lnet/minecraft/class_864;method_2528(Lnet/minecraft/class_322;)V
      named writeCustomDataToNbt Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • method_15652

      public boolean method_15652(IWorld iWorld, boolean bool)
      Overrides:
      method_15652 in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lafb;a(Laxz;Z)Z
      intermediary method_15652 Lnet/minecraft/class_871;method_15652(Lnet/minecraft/class_3598;Z)Z
      named method_15652 Lnet/minecraft/entity/mob/MobEntity;method_15652(Lnet/minecraft/world/IWorld;Z)Z
    • method_15720

      private boolean method_15720()
      Mappings:
      Namespace Name Mixin selector
      official dr Lajl;dr()Z
      intermediary method_15720 Lnet/minecraft/class_1402;method_15720()Z
      named method_15720 Lnet/minecraft/entity/passive/BatEntity;method_15720()Z
    • getEyeHeight

      public float getEyeHeight()
      Overrides:
      getEyeHeight in class Entity
      Mappings:
      Namespace Name Mixin selector
      official bF Laer;bF()F
      intermediary method_2544 Lnet/minecraft/class_864;method_2544()F
      named getEyeHeight Lnet/minecraft/entity/Entity;getEyeHeight()F
    • getLootTableId

      @Nullable protected Identifier getLootTableId()
      Overrides:
      getLootTableId in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official G Lafb;G()Lpc;
      intermediary method_13074 Lnet/minecraft/class_871;method_13074()Lnet/minecraft/class_1653;
      named getLootTableId Lnet/minecraft/entity/mob/MobEntity;getLootTableId()Lnet/minecraft/util/Identifier;