net.minecraft.world.entity.ambient

public class Bat

extends AmbientCreature

All mapped superinterfaces:

Nameable, CommandSource

asx
net.minecraft.world.entity.ambient.Bat
net.minecraft.class_1420
net.minecraft.entity.passive.BatEntity
net.minecraft.entity.passive.BatEntity
net.minecraft.server.v1_15_R1.EntityBat

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Byte>
b
DATA_ID_FLAGS
field_6728
BAT_FLAGS
field_184660_a
private static final TargetingConditions
c
BAT_RESTING_TARGETING
field_18100
CLOSE_PLAYER_PREDICATE
field_213813_c
private BlockPos
d
targetPosition
field_6729
hangingPosition
field_82237_a

Constructor summary

ModifierConstructor
public (EntityType<? extends Bat> arg0, Level arg1)

Method summary

Modifier and TypeMethod
protected void
w_()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
protected float
dm()
getSoundVolume()
method_6107()
getSoundVolume()
func_70599_aP()
getSoundVolume()
protected float
dn()
getVoicePitch()
method_6017()
getSoundPitch()
func_70647_i()
public SoundEvent
G()
getAmbientSound()
method_5994()
getAmbientSound()
func_184639_G()
getSoundAmbient()
protected SoundEvent
e(ajz arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
func_184601_bQ(DamageSource arg0)
getSoundHurt(DamageSource arg0)
protected SoundEvent
cX()
getDeathSound()
method_6002()
getDeathSound()
func_184615_bR()
getSoundDeath()
public boolean
aL()
isPushable()
method_5810()
isPushable()
func_70104_M()
isCollidable()
protected void
C(akq arg0)
doPush(Entity arg0)
method_6087(class_1297 arg0)
pushAway(Entity arg0)
func_82167_n(Entity arg0)
protected void
dv()
pushEntities()
method_6070()
tickCramming()
func_85033_bc()
collideNearby()
protected void
cA()
registerAttributes()
method_6001()
initAttributes()
func_110147_ax()
initAttributes()
public boolean
l()
isResting()
method_6450()
isRoosting()
func_82235_h()
isAsleep()
public void
r(boolean arg0)
setResting(boolean arg0)
method_6449(boolean arg0)
setRoosting(boolean arg0)
func_82236_f(boolean arg0)
setAsleep(boolean arg0)
public void
h()
tick()
method_5773()
tick()
func_70071_h_()
tick()
protected void
dT()
customServerAiStep()
method_5958()
mobTick()
func_70619_bc()
mobTick()
protected boolean
at()
isMovementNoisy()
method_5658()
canClimb()
func_225502_at_()
playStepSound()
public boolean
b(float arg0, float arg1)
causeFallDamage(float arg0, float arg1)
method_5747(float arg0, float arg1)
handleFallDamage(float arg0, float arg1)
func_225503_b_(float arg0, float arg1)
protected void
a(double arg0, boolean arg1, byj arg2, fk arg3)
checkFallDamage(double arg0, boolean arg1, BlockState arg2, BlockPos arg3)
method_5623(double arg0, boolean arg1, class_2680 arg2, class_2338 arg3)
fall(double arg0, boolean arg1, BlockState arg2, BlockPos arg3)
func_184231_a(double arg0, boolean arg1, BlockState arg2, BlockPos arg3)
public boolean
bH()
isIgnoringBlockTriggers()
method_5696()
canAvoidTraps()
func_145773_az()
isIgnoreBlockTrigger()
public boolean
a(ajz arg0, float arg1)
hurt(DamageSource arg0, float arg1)
method_5643(class_1282 arg0, float arg1)
damage(DamageSource arg0, float arg1)
func_70097_a(DamageSource arg0, float arg1)
damageEntity(DamageSource arg0, float arg1)
public void
a(jt arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
public void
b(jt arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
public static boolean
b(aku<asx> arg0, bjx arg1, alc arg2, fk arg3, Random arg4)
checkBatSpawnRules(EntityType<Bat> arg0, LevelAccessor arg1, MobSpawnType arg2, BlockPos arg3, Random arg4)
method_20661(class_1299<class_1420> arg0, class_1936 arg1, class_3730 arg2, class_2338 arg3, Random arg4)
canSpawn(EntityType<BatEntity> type, IWorld world, SpawnType spawnType, BlockPos pos, Random random)
func_223369_b(EntityType<BatEntity> arg0, IWorld arg1, SpawnReason arg2, BlockPos arg3, Random arg4)
private static boolean
eo()
isHalloween()
method_6451()
isTodayAroundHalloween()
func_205021_dt()
protected float
b(alj arg0, akr arg1)
getStandingEyeHeight(Pose arg0, EntityDimensions arg1)
method_18394(class_4050 arg0, class_4048 arg1)
getActiveEyeHeight(EntityPose arg0, EntityDimensions arg1)
func_213348_b(Pose arg0, EntitySize arg1)