net.minecraft.world.entity

public class LightningBolt

extends Entity

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, UniquelyIdentifyable, ScoreHolder, DataComponentGetter

bxd
net.minecraft.world.entity.LightningBolt
net.minecraft.class_1538
net.minecraft.unmapped.C_kbpqznyn
net.minecraft.entity.LightningEntity
net.minecraft.entity.LightningEntity

Field summary

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

Constructor summary

ModifierConstructor
public (EntityType<? extends LightningBolt> arg0, 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)
public SoundSource
dm()
getSoundSource()
method_5634()
m_nsggwems()
getSoundCategory()
getSoundCategory()
public ServerPlayer
f()
getCause()
method_35052()
m_xdelqxpw()
getChanneler()
getChanneler()
public void
b(arr arg0)
setCause(ServerPlayer arg0)
method_6961(class_3222 arg0)
m_hpktkjgb(C_mxrobsgg arg0)
setChanneler(ServerPlayerEntity channeler)
setChanneler(ServerPlayerEntity channeler)
private void
m()
powerLightningRod()
method_31499()
m_yvdlyaug()
powerLightningRod()
powerLightningRod()
public void
h()
tick()
method_5773()
m_arkgrfeb()
tick()
tick()
private BlockPos
n()
getStrikePosition()
method_36607()
m_pntspdjr()
getAffectedBlockPos()
getAffectedBlockPos()
private void
b(int arg0)
spawnFire(int arg0)
method_6960(int arg0)
m_wozuylsh(int arg0)
spawnFire(int spreadAttempts)
spawnFire(int spreadAttempts)
private static void
b(dja arg0, iu 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)
private static void
a(dja arg0, iu arg1, iu$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)
private static Optional<BlockPos>
c(dja arg0, iu 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)
public boolean
a(double arg0)
shouldRenderAtSqrDistance(double arg0)
method_5640(double arg0)
m_foqrqvze(double arg0)
shouldRender(double arg0)
shouldRender(double arg0)
protected void
a(akn$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)
protected void
a(tz arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
readCustomDataFromNbt(NbtCompound arg0)
protected void
b(tz arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
writeCustomDataToNbt(NbtCompound arg0)
public int
g()
getBlocksSetOnFire()
method_37220()
m_hmblytbz()
getBlocksSetOnFire()
getBlocksSetOnFire()
public Stream<Entity>
j()
getHitEntities()
method_37221()
m_kylbaent()
getStruckEntities()
getStruckEntities()
public final boolean
a(arq arg0, buu 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)