net.minecraft.world.entity

public class LightningBolt

extends Entity

All mapped superinterfaces:

Nameable, CommandSource

aqi
net.minecraft.world.entity.LightningBolt
net.minecraft.class_1538
net.minecraft.entity.LightningEntity
net.minecraft.entity.effect.LightningBoltEntity
net.minecraft.server.v1_16_R2.EntityLightning

Field summary

Modifier and TypeField
private int
c
life
field_7185
ambientTick
field_70262_b
lifeTicks
public long
b
seed
field_7186
seed
field_70264_a
private int
d
flashes
field_7183
remainingActions
field_70263_c
private boolean
e
visualOnly
field_7184
cosmetic
field_184529_d
isEffect
private ServerPlayer
f
cause
field_7182
channeler
field_204810_e

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(boolean arg0)
setVisualOnly(boolean arg0)
method_29498(boolean arg0)
setCosmetic(boolean cosmetic)
func_233623_a_(boolean arg0)
setEffect(boolean arg0)
public SoundSource
ct()
getSoundSource()
method_5634()
getSoundCategory()
func_184176_by()
getSoundCategory()
public void
d(aah arg0)
setCause(ServerPlayer arg0)
method_6961(class_3222 arg0)
setChanneler(ServerPlayerEntity channeler)
func_204809_d(ServerPlayerEntity arg0)
public void
j()
tick()
method_5773()
tick()
func_70071_h_()
tick()
private void
a(int arg0)
spawnFire(int arg0)
method_6960(int arg0)
spawnFire(int spreadAttempts)
func_195053_a(int arg0)
protected void
e()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
protected void
a(md arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
loadData(NBTTagCompound arg0)
protected void
b(md arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
saveData(NBTTagCompound arg0)
public Packet<?>
P()
getAddEntityPacket()
method_18002()
createSpawnPacket()
func_213297_N()
public boolean
a(double arg0)
shouldRenderAtSqrDistance(double arg0)
method_5640(double arg0)
shouldRender(double arg0)
func_70112_a(double arg0)