net.minecraft.world.entity

public class LightningBolt

extends Entity

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource

ats
net.minecraft.world.entity.LightningBolt
net.minecraft.class_1538
net.minecraft.unmapped.C_kbpqznyn
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
f_147136_
private static final double
d
DAMAGE_RADIUS
field_33906
f_lbtvntdj
field_33906
f_147137_
private static final double
e
DETECTION_RADIUS
field_33907
f_vqotjggq
field_33907
f_147138_
private int
f
life
field_7185
f_saydlpko
ambientTick
f_20860_
public long
b
seed
field_7186
f_isdkpjts
seed
f_20859_
private int
ao
flashes
field_7183
f_szlzylkk
remainingActions
f_20861_
private boolean
ap
visualOnly
field_7184
f_neufpjec
cosmetic
f_20862_
private ServerPlayer
aq
cause
field_7182
f_wbghvzsi
channeler
f_20863_
private final Set<Entity>
ar
hitEntities
field_33904
f_ofiqefdk
struckEntities
f_147134_
private int
as
blocksSetOnFire
field_33905
f_mppvapzl
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)
m_20874_(boolean arg0)
setEffect(boolean arg0)
public SoundSource
cJ()
getSoundSource()
method_5634()
m_nsggwems()
getSoundCategory()
m_5720_()
getSoundCategory()
public ServerPlayer
h()
getCause()
method_35052()
m_xdelqxpw()
getChanneler()
m_147158_()
public void
b(abs arg0)
setCause(ServerPlayer arg0)
method_6961(class_3222 arg0)
m_hpktkjgb(C_mxrobsgg arg0)
setChanneler(ServerPlayerEntity channeler)
m_20879_(C_13_ arg0)
private void
l()
powerLightningRod()
method_31499()
m_yvdlyaug()
powerLightningRod()
m_147161_()
public void
k()
tick()
method_5773()
m_arkgrfeb()
tick()
m_8119_()
tick()
private BlockPos
n()
getStrikePosition()
method_36607()
m_pntspdjr()
getAffectedBlockPos()
m_147162_()
private void
a(int arg0)
spawnFire(int arg0)
method_6960(int arg0)
m_wozuylsh(int arg0)
spawnFire(int spreadAttempts)
m_20870_(int arg0)
private static void
b(bwp arg0, gg arg1)
clearCopperOnLightningStrike(Level arg0, BlockPos arg1)
method_34707(class_1937 arg0, class_2338 arg1)
m_uyiordsh(C_cdctfzbn arg0, C_hynzadkk arg1)
cleanOxidization(World world, BlockPos pos)
m_147150_(C_1596_ p_147151_, C_4675_ p_147152_)
private static void
a(bwp arg0, gg arg1, gg$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)
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>
c(bwp arg0, gg arg1)
randomStepCleaningCopper(Level arg0, BlockPos arg1)
method_34710(class_1937 arg0, class_2338 arg1)
m_mnnonlzb(C_cdctfzbn arg0, C_hynzadkk arg1)
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)
m_6783_(double arg0)
protected void
a_()
defineSynchedData()
method_5693()
m_lwugwlsw()
initDataTracker()
m_8097_()
initDatawatcher()
protected void
a(na arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
loadData(NBTTagCompound arg0)
protected void
b(na arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
saveData(NBTTagCompound arg0)
public Packet<?>
P()
getAddEntityPacket()
method_18002()
m_tugxrexj()
createSpawnPacket()
m_5654_()
getPacket()
public int
i()
getBlocksSetOnFire()
method_37220()
m_hmblytbz()
getBlocksSetOnFire()
m_147159_()
public Stream<Entity>
j()
getHitEntities()
method_37221()
m_kylbaent()
getStruckEntities()
m_147160_()