net.minecraft.world.entity

public class LightningBolt

extends Entity

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder

bwf
net.minecraft.world.entity.LightningBolt
net.minecraft.class_1538
net.minecraft.unmapped.C_kbpqznyn
net.minecraft.entity.LightningEntity
net.minecraft.entity.LightningEntity
net.minecraft.src.C_523_
net.minecraft.world.entity.EntityLightning

Field summary

Modifier and TypeField
private static final int
b
START_LIFE
field_30062
f_kruqxeba
field_30062
START_CONVERSION
f_147136_
private static final double
c
DAMAGE_RADIUS
field_33906
f_lbtvntdj
field_33906
DAMAGE_RADIUS
f_147137_
private static final double
d
DETECTION_RADIUS
field_33907
f_vqotjggq
field_33907
DETECTION_RADIUS
f_147138_
private int
e
life
field_7185
f_saydlpko
ambientTick
ambientTick
f_20860_
public long
a
seed
field_7186
f_isdkpjts
seed
seed
f_20859_
private int
f
flashes
field_7183
f_szlzylkk
remainingActions
remainingActions
f_20861_
private boolean
g
visualOnly
field_7184
f_neufpjec
cosmetic
cosmetic
f_20862_
private ServerPlayer
h
cause
field_7182
f_wbghvzsi
channeler
channeler
f_20863_
private final Set<Entity>
i
hitEntities
field_33904
f_ofiqefdk
struckEntities
struckEntities
f_147134_
private int
j
blocksSetOnFire
field_33905
f_mppvapzl
blocksSetOnFire
blocksSetOnFire
f_147135_

Constructor summary

ModifierConstructor
public (EntityType<? extends LightningBolt> p_20866_, Level world)

Method summary

Modifier and TypeMethod
public void
a(boolean arg0)
setVisualOnly(boolean arg0)
method_29498(boolean arg0)
m_khxtircv(boolean arg0)
setCosmetic(boolean cosmetic)
setCosmetic(boolean cosmetic)
m_20874_(boolean arg0)
public SoundSource
dn()
getSoundSource()
method_5634()
m_nsggwems()
getSoundCategory()
getSoundCategory()
m_5720_()
public ServerPlayer
l()
getCause()
method_35052()
m_xdelqxpw()
getChanneler()
getChanneler()
m_147158_()
public void
b(asi arg0)
setCause(ServerPlayer arg0)
method_6961(class_3222 arg0)
m_hpktkjgb(C_mxrobsgg arg0)
setChanneler(ServerPlayerEntity channeler)
setChanneler(ServerPlayerEntity channeler)
m_20879_(C_13_ arg0)
private void
s()
powerLightningRod()
method_31499()
m_yvdlyaug()
powerLightningRod()
powerLightningRod()
m_147161_()
public void
h()
tick()
method_5773()
m_arkgrfeb()
tick()
tick()
m_8119_()
private BlockPos
t()
getStrikePosition()
method_36607()
m_pntspdjr()
getAffectedBlockPos()
getAffectedBlockPos()
m_147162_()
private void
b(int arg0)
spawnFire(int arg0)
method_6960(int arg0)
m_wozuylsh(int arg0)
spawnFire(int spreadAttempts)
spawnFire(int spreadAttempts)
m_20870_(int arg0)
private static void
a(dhi arg0, jh arg1)
clearCopperOnLightningStrike(Level arg0, BlockPos arg1)
method_34707(class_1937 arg0, class_2338 arg1)
m_uyiordsh(C_cdctfzbn arg0, C_hynzadkk arg1)
cleanOxidation(World world, BlockPos pos)
cleanOxidization(World world, BlockPos pos)
m_147150_(C_1596_ p_147151_, C_4675_ p_147152_)
private static void
a(dhi arg0, jh arg1, jh$a arg2, int arg3)
randomWalkCleaningCopper(Level arg0, BlockPos arg1, BlockPos$MutableBlockPos arg2, int arg3)
method_34709(class_1937 arg0, class_2338 arg1, class_2338$class_2339 arg2, int arg3)
m_inbfspya(C_cdctfzbn arg0, C_hynzadkk arg1, C_hynzadkk$C_egqitdjk arg2, int arg3)
cleanOxidationAround(World world, BlockPos pos, BlockPos$Mutable mutablePos, int count)
cleanOxidizationAround(World world, BlockPos pos, BlockPos$Mutable mutablePos, int count)
m_147145_(C_1596_ p_147146_, C_4675_ p_147147_, C_4675_$C_4681_ p_147148_, int p_147149_)
private static Optional<BlockPos>
b(dhi arg0, jh arg1)
randomStepCleaningCopper(Level arg0, BlockPos arg1)
method_34710(class_1937 arg0, class_2338 arg1)
m_mnnonlzb(C_cdctfzbn arg0, C_hynzadkk arg1)
cleanOxidationAround(World world, BlockPos pos)
cleanOxidizationAround(World world, BlockPos pos)
m_147153_(C_1596_ p_147154_, C_4675_ p_147155_)
public boolean
a(double arg0)
shouldRenderAtSqrDistance(double arg0)
method_5640(double arg0)
m_foqrqvze(double arg0)
shouldRender(double arg0)
shouldRender(double arg0)
m_6783_(double arg0)
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 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)
protected 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 int
m()
getBlocksSetOnFire()
method_37220()
m_hmblytbz()
getBlocksSetOnFire()
getBlocksSetOnFire()
m_147159_()
public Stream<Entity>
p()
getHitEntities()
method_37221()
m_kylbaent()
getStruckEntities()
getStruckEntities()
m_147160_()
public final boolean
a(ash arg0, bua 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)
damage(ServerWorld arg0, DamageSource arg1, float arg2)
m_351622_(C_12_ p_364945_, C_489_ p_364228_, float arg2)