net.minecraft.world.entity.ambient

public class Bat

extends AmbientCreature

All mapped superinterfaces:

Nameable, CommandSource

ayf
net.minecraft.world.entity.ambient.Bat
net.minecraft.class_1420
net.minecraft.entity.passive.BatEntity
net.minecraft.entity.passive.BatEntity
net.minecraft.server.v1_16_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
e()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
protected float
dF()
getSoundVolume()
method_6107()
getSoundVolume()
func_70599_aP()
getSoundVolume()
protected float
dG()
getVoicePitch()
method_6017()
getSoundPitch()
func_70647_i()
public SoundEvent
I()
getAmbientSound()
method_5994()
getAmbientSound()
func_184639_G()
getSoundAmbient()
protected SoundEvent
e(anw arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
func_184601_bQ(DamageSource arg0)
getSoundHurt(DamageSource arg0)
protected SoundEvent
dp()
getDeathSound()
method_6002()
getDeathSound()
func_184615_bR()
getSoundDeath()
public boolean
aR()
isPushable()
method_5810()
isPushable()
func_70104_M()
isCollidable()
protected void
C(aom arg0)
doPush(Entity arg0)
method_6087(class_1297 arg0)
pushAway(Entity arg0)
func_82167_n(Entity arg0)
protected void
dP()
pushEntities()
method_6070()
tickCramming()
func_85033_bc()
collideNearby()
public static AttributeSupplier$Builder
m()
createAttributes()
method_26878()
createBatAttributes()
func_234175_m_()
public boolean
eJ()
isResting()
method_6450()
isRoosting()
func_82235_h()
isAsleep()
public void
t(boolean arg0)
setResting(boolean arg0)
method_6449(boolean arg0)
setRoosting(boolean roosting)
func_82236_f(boolean arg0)
setAsleep(boolean arg0)
public void
j()
tick()
method_5773()
tick()
func_70071_h_()
tick()
protected void
N()
customServerAiStep()
method_5958()
mobTick()
func_70619_bc()
mobTick()
protected boolean
ax()
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, cfj arg2, fu 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
bP()
isIgnoringBlockTriggers()
method_5696()
canAvoidTraps()
func_145773_az()
isIgnoreBlockTrigger()
public boolean
a(anw 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(le arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
loadData(NBTTagCompound arg0)
public void
b(le arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
saveData(NBTTagCompound arg0)
public static boolean
b(aoq<ayf> arg0, bqc arg1, apb arg2, fu 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, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
func_223369_b(EntityType<BatEntity> arg0, IWorld arg1, SpawnReason arg2, BlockPos arg3, Random arg4)
private static boolean
eK()
isHalloween()
method_6451()
isTodayAroundHalloween()
func_205021_dt()
protected float
b(apj arg0, aon 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)