net.minecraft.world.entity.ambient

public class Bat

extends AmbientCreature

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder, Attackable, EquipmentUser, Leashable, Targeting

chq
net.minecraft.world.entity.ambient.Bat
net.minecraft.class_1420
net.minecraft.unmapped.C_dexcydtn
net.minecraft.entity.passive.BatEntity
net.minecraft.entity.passive.BatEntity
net.minecraft.src.C_794_
net.minecraft.world.entity.ambient.EntityAmbient

Field summary

Modifier and TypeField
public static final float
a
FLAP_LENGTH_SECONDS
field_46966
f_ahbtdtkm
field_46966
SECONDS_PER_FLAP
f_302275_
public static final float
b
TICKS_PER_FLAP
field_46967
f_pvilqenm
field_46967
TICKS_PER_FLAP
f_148699_
private static final EntityDataAccessor<Byte>
bY
DATA_ID_FLAGS
field_6728
f_mxtjrtol
BAT_FLAGS
BAT_FLAGS
f_27407_
private static final int
bZ
FLAG_RESTING
field_30269
f_pqzgefwb
ROOSTING_FLAG
ROOSTING_FLAG
f_148700_
private static final TargetingConditions
ca
BAT_RESTING_TARGETING
field_18100
f_zkwphbmj
CLOSE_PLAYER_PREDICATE
CLOSE_PLAYER_PREDICATE
f_27408_
public final AnimationState
c
flyAnimationState
field_46968
f_vryrnjbd
flyingAnimationState
flyingState
f_302314_
public final AnimationState
d
restAnimationState
field_46969
f_wflaiwbf
roostingAnimationState
roostingState
f_303573_
private BlockPos
cb
targetPosition
field_6729
f_ilyoihku
hangingPosition
hangingPosition
f_27409_

Constructor summary

ModifierConstructor
public (EntityType<? extends Bat> p_27413_, Level world)

Method summary

Modifier and TypeMethod
public boolean
ba()
isFlapping()
method_5776()
m_gavkvalj()
isFlappingWings()
hasWings()
m_142039_()
protected void
a(alg$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
m_lwugwlsw(C_pyoaoolj$C_oqzxcugu arg0)
initDataTracker(DataTracker$Builder arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
protected float
fg()
getSoundVolume()
method_6107()
m_oafzlopj()
getSoundVolume()
getSoundVolume()
m_6121_()
public float
fh()
getVoicePitch()
method_6017()
m_anszxika()
getSoundPitch()
getSoundPitch()
m_6100_()
public SoundEvent
u()
getAmbientSound()
method_5994()
m_jjefzxbm()
getAmbientSound()
getAmbientSound()
m_7515_()
protected SoundEvent
e(btz arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
m_spwwmdyl(C_sbxfkpyv arg0)
getHurtSound(DamageSource arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
o_()
getDeathSound()
method_6002()
m_axkhmdzu()
getDeathSound()
getDeathSound()
m_5592_()
public boolean
bI()
isPushable()
method_5810()
m_okzqpkgv()
isPushable()
isPushable()
m_6094_()
protected void
D(bvj arg0)
doPush(Entity arg0)
method_6087(class_1297 arg0)
m_ljcawptq(C_astfners arg0)
pushAway(Entity arg0)
pushAway(Entity arg0)
m_7324_(C_507_ arg0)
protected void
o()
pushEntities()
method_6070()
m_spqekiza()
tickCramming()
tickCramming()
m_6138_()
public static AttributeSupplier$Builder
m()
createAttributes()
method_26878()
m_utsnvvch()
createBatAttributes()
createAttributes()
m_27455_()
public boolean
p()
isResting()
method_6450()
m_ejkjodhz()
isRoosting()
isRoosting()
m_27452_()
public void
x(boolean arg0)
setResting(boolean arg0)
method_6449(boolean arg0)
m_nffdokjy(boolean arg0)
setRoosting(boolean roosting)
setRoosting(boolean roosting)
m_27456_(boolean arg0)
public void
h()
tick()
method_5773()
m_arkgrfeb()
tick()
tick()
m_8119_()
protected void
a(ash arg0)
customServerAiStep(ServerLevel arg0)
method_5958(class_3218 arg0)
m_wbeiezxn(C_bdwnwhiu arg0)
mobTick(ServerWorld arg0)
mobTick(ServerWorld arg0)
m_8024_(C_12_ arg0)
protected Entity$MovementEmission
bg()
getMovementEmission()
method_33570()
m_dxohridw()
getMoveEffect()
getMoveEffect()
m_142319_()
protected void
a(double arg0, boolean arg1, dxu arg2, jh arg3)
checkFallDamage(double arg0, boolean arg1, BlockState arg2, BlockPos arg3)
method_5623(double arg0, boolean arg1, class_2680 arg2, class_2338 arg3)
m_cckfyxyf(double arg0, boolean arg1, C_txtbiemp arg2, C_hynzadkk arg3)
fall(double arg0, boolean arg1, BlockState arg2, BlockPos arg3)
fall(double arg0, boolean arg1, BlockState arg2, BlockPos arg3)
m_7840_(double p_27420_, boolean p_27422_, C_2064_ arg2, C_4675_ arg3)
public boolean
s_()
isIgnoringBlockTriggers()
method_5696()
m_vrnxwjtm()
canAvoidTraps()
canAvoidTraps()
m_6090_()
public boolean
a(ash arg0, btz arg1, float arg2)
hurtServer(ServerLevel arg0, DamageSource arg1, float arg2)
method_64397(class_3218 arg0, class_1282 arg1, float arg2)
m_fuenwjjy(C_bdwnwhiu arg0, C_sbxfkpyv arg1, float arg2)
damage(ServerWorld arg0, DamageSource arg1, float arg2)
m_fuenwjjy(ServerWorld arg0, DamageSource arg1, float arg2)
m_351622_(C_12_ p_366357_, C_489_ p_366075_, float arg2)
public void
a(ux arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public void
b(ux arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public static boolean
b(bvq<chq> arg0, dhi arg1, bvp arg2, jh arg3, bam arg4)
checkBatSpawnRules(EntityType<Bat> arg0, LevelAccessor arg1, EntitySpawnReason arg2, BlockPos arg3, RandomSource arg4)
method_20661(class_1299<class_1420> arg0, class_1936 arg1, class_3730 arg2, class_2338 arg3, class_5819 arg4)
m_lnrajqqu(C_ogavsvbr<C_dexcydtn> arg0, C_vdvbsyle arg1, C_bhyaesep arg2, C_hynzadkk arg3, C_rlomrsco arg4)
canSpawn(EntityType<BatEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
canSpawn(EntityType<BatEntity> type, WorldAccess world, SpawnReason reason, BlockPos pos, RandomGenerator random)
m_218098_(C_513_<C_794_> p_218099_, C_1598_ p_218100_, C_345845_ p_364019_, C_4675_ p_218102_, C_212974_ p_218103_)
private static boolean
t()
isHalloween()
method_6451()
m_wehyyngi()
isTodayAroundHalloween()
isTodayAroundHalloween()
m_27453_()
private void
x()
setupAnimationStates()
method_54758()
m_ywbmjhwt()
updateAnimations()
updateAnimations()
m_307759_()