Class BatEntity

All Implemented Interfaces:
CommandSource, EntityCategoryProvider

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

    • field_5365

      private BlockPos field_5365
      Mappings:
      Namespace Name Mixin selector
      official a Ltk;a:Lcj;
      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> Lpk;<init>(Ladm;)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 h Lpk;h()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 bB Lpr;bB()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 bC Lpr;bC()F
      intermediary method_2665 Lnet/minecraft/class_1699;method_2665()F
      named getSoundPitch Lnet/minecraft/entity/LivingEntity;getSoundPitch()F
    • getAmbientSound

      protected String getAmbientSound()
      Overrides:
      getAmbientSound in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official z Lps;z()Ljava/lang/String;
      intermediary method_2603 Lnet/minecraft/class_871;method_2603()Ljava/lang/String;
      named getAmbientSound Lnet/minecraft/entity/mob/MobEntity;getAmbientSound()Ljava/lang/String;
    • getHurtSound

      protected String getHurtSound()
      Overrides:
      getHurtSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official bo Lpr;bo()Ljava/lang/String;
      intermediary method_2604 Lnet/minecraft/class_1699;method_2604()Ljava/lang/String;
      named getHurtSound Lnet/minecraft/entity/LivingEntity;getHurtSound()Ljava/lang/String;
    • getDeathSound

      protected String getDeathSound()
      Overrides:
      getDeathSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official bp Lpr;bp()Ljava/lang/String;
      intermediary method_2605 Lnet/minecraft/class_1699;method_2605()Ljava/lang/String;
      named getDeathSound Lnet/minecraft/entity/LivingEntity;getDeathSound()Ljava/lang/String;
    • isPushable

      public boolean isPushable()
      Overrides:
      isPushable in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official ae Lpk;ae()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 s Lpr;s(Lpk;)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 bL Lpr;bL()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 aX Lpr;aX()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 n Ltk;n()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 Ltk;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 t_ Lpk;t_()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 E Lps;E()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 s_ Lpk;s_()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 e Lpk;e(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, Block landedBlock, BlockPos landedPosition)
      Overrides:
      fall in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lpk;a(DZLafh;Lcj;)V
      intermediary method_2489 Lnet/minecraft/class_864;method_2489(DZLnet/minecraft/class_197;Lnet/minecraft/class_2552;)V
      named fall Lnet/minecraft/entity/Entity;fall(DZLnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;)V
    • canAvoidTraps

      public boolean canAvoidTraps()
      Overrides:
      canAvoidTraps in class Entity
      Mappings:
      Namespace Name Mixin selector
      official aI Lpk;aI()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 Lpk;a(Low;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 Lpk;a(Ldn;)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 Lpk;b(Ldn;)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
    • canSpawn

      public boolean canSpawn()
      Overrides:
      canSpawn in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official bR Lps;bR()Z
      intermediary method_2637 Lnet/minecraft/class_871;method_2637()Z
      named canSpawn Lnet/minecraft/entity/mob/MobEntity;canSpawn()Z
    • method_11069

      private boolean method_11069(Calendar calendar)
      Mappings:
      Namespace Name Mixin selector
      official a Ltk;a(Ljava/util/Calendar;)Z
      intermediary method_11069 Lnet/minecraft/class_1402;method_11069(Ljava/util/Calendar;)Z
      named method_11069 Lnet/minecraft/entity/passive/BatEntity;method_11069(Ljava/util/Calendar;)Z
    • getEyeHeight

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