net.minecraft.entity.living.mob.ambient

public class BatEntity

extends AmbientMobEntity

All mapped superinterfaces:

CommandSource, SpawnableEntity

vu
net.minecraft.class_1402
net.minecraft.entity.living.mob.ambient.BatEntity
net.minecraft.entity.passive.EntityBat

Field summary

Modifier and TypeField
private static final DataAttribute<Byte>
a
field_14610
BAT_FLAGS
HANGING
private BlockPos
b
field_5365
hangPos
spawnPosition

Constructor summary

ModifierConstructor
public (World world)

Method summary

Modifier and TypeMethod
protected void
i()
method_2484()
registerSyncedData()
entityInit()
protected float
ce()
method_2602()
getSoundVolume()
getSoundVolume()
protected float
cf()
method_2665()
getSoundPitch()
getSoundPitch()
protected SoundEvent
G()
method_2603()
getAmbientSound()
getAmbientSound()
protected SoundEvent
bS()
method_13048()
getHurtSound()
getHurtSound()
protected SoundEvent
bT()
method_13049()
getDeathSound()
getDeathSound()
public boolean
aq()
method_2472()
isPushable()
canBePushed()
protected void
C(rr arg0)
method_4483(class_864 arg0)
pushAway(Entity arg0)
collideWithEntity(Entity arg0)
protected void
co()
method_4478()
pushAwayCollidingEntities()
collideWithNearbyEntities()
protected void
bB()
method_6129()
initAttributes()
applyEntityAttributes()
public boolean
o()
method_4515()
isRoosting()
getIsBatHanging()
public void
a(boolean arg0)
method_4514(boolean arg0)
setRoosting(boolean roosting)
setIsBatHanging(boolean isHanging)
public void
m()
method_2558()
tick()
onUpdate()
protected void
M()
method_2633()
mobAiTick()
updateAITasks()
protected boolean
ae()
method_2549()
makesSteps()
canTriggerWalking()
public void
e(float arg0, float arg1)
method_2490(float arg0, float arg1)
takeFallDamage(float arg0, float arg1)
fall(float arg0, float arg1)
protected void
a(double arg0, boolean arg1, ard arg2, cl arg3)
method_2489(double arg0, boolean arg1, class_2232 arg2, class_2552 arg3)
checkFallDamage(double arg0, boolean arg1, BlockState arg2, BlockPos arg3)
updateFallState(double arg0, boolean arg1, IBlockState arg2, BlockPos arg3)
public boolean
ba()
method_4450()
canAvoidTraps()
doesEntityNotTriggerPressurePlate()
public boolean
a(rc arg0, float arg1)
method_2499(class_856 arg0, float arg1)
takeDamage(DamageSource arg0, float arg1)
attackEntityFrom(DamageSource arg0, float arg1)
public void
a(dq arg0)
method_2498(class_322 arg0)
readCustomNbt(NbtCompound arg0)
readEntityFromNBT(NBTTagCompound arg0)
public void
b(dq arg0)
method_2528(class_322 arg0)
writeCustomNbt(NbtCompound arg0)
writeEntityToNBT(NBTTagCompound arg0)
public boolean
cG()
method_2637()
canSpawn()
getCanSpawnHere()
private boolean
a(Calendar arg0)
method_11069(Calendar arg0)
isTodayAroundHalloween(Calendar calendar)
isDateAroundHalloween(Calendar arg0)
public float
bo()
method_2544()
getEyeHeight()
getEyeHeight()
protected Identifier
J()
method_13074()
getDefaultLootTable()
getLootTable()