net.minecraft.world.entity

public class LightningBolt

extends Entity

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource

bbe
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
c
START_LIFE
field_30062
f_kruqxeba
field_30062
START_CONVERSION
f_147136_
private static final double
d
DAMAGE_RADIUS
field_33906
f_lbtvntdj
field_33906
DAMAGE_RADIUS
f_147137_
private static final double
e
DETECTION_RADIUS
field_33907
f_vqotjggq
field_33907
DETECTION_RADIUS
f_147138_
private int
f
life
field_7185
f_saydlpko
ambientTick
ambientTick
f_20860_
public long
b
seed
field_7186
f_isdkpjts
seed
seed
f_20859_
private int
ao
flashes
field_7183
f_szlzylkk
remainingActions
remainingActions
f_20861_
private boolean
ap
visualOnly
field_7184
f_neufpjec
cosmetic
cosmetic
f_20862_
private ServerPlayer
aq
cause
field_7182
f_wbghvzsi
channeler
channeler
f_20863_
private final Set<Entity>
ar
hitEntities
field_33904
f_ofiqefdk
struckEntities
struckEntities
f_147134_
private int
as
blocksSetOnFire
field_33905
f_mppvapzl
blocksSetOnFire
blocksSetOnFire
f_147135_

Constructor summary

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

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
cS()
getSoundSource()
method_5634()
m_nsggwems()
getSoundCategory()
getSoundCategory()
m_5720_()
public ServerPlayer
h()
getCause()
method_35052()
m_xdelqxpw()
getChanneler()
getChanneler()
m_147158_()
public void
b(afp 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
l()
powerLightningRod()
method_31499()
m_yvdlyaug()
powerLightningRod()
powerLightningRod()
m_147161_()
public void
k()
tick()
method_5773()
m_arkgrfeb()
tick()
tick()
m_8119_()
private BlockPos
n()
getStrikePosition()
method_36607()
m_pntspdjr()
getAffectedBlockPos()
getAffectedBlockPos()
m_147162_()
private void
a(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
b(cga arg0, gt 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(cga arg0, gt arg1, gt$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_4681_ p_147148_, int p_147149_)
private static Optional<BlockPos>
c(cga arg0, gt 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_()
defineSynchedData()
method_5693()
m_lwugwlsw()
initDataTracker()
initDataTracker()
m_8097_()
protected void
a(pj 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(pj 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 Packet<?>
S()
getAddEntityPacket()
method_18002()
m_tugxrexj()
createSpawnPacket()
createSpawnPacket()
m_5654_()
public int
i()
getBlocksSetOnFire()
method_37220()
m_hmblytbz()
getBlocksSetOnFire()
getBlocksSetOnFire()
m_147159_()
public Stream<Entity>
j()
getHitEntities()
method_37221()
m_kylbaent()
getStruckEntities()
getStruckEntities()
m_147160_()