Lightning bolts aren't rendered.
rubensworks opened this issue ยท 2 comments
Try:
MinecraftServer.getServer().getConfigurationManager().sendToAllNear(target.blockX, target.blockY, target.blockZ, 512.0D, player.dimension, new S2CPacketSpawnGlobalEntity(bolt));