Class LightningBolt

All Implemented Interfaces:
DataComponentGetter, TypedInstance<EntityType<?>>, SyncedDataHolder, DebugValueSource, ItemOwner, SlotProvider, EntityAccess, UniquelyIdentifyable, Nameable, ScoreHolder, IAttachmentHolder, IEntityExtension

public class LightningBolt extends Entity
  • Field Details

    • START_LIFE

      private static final int START_LIFE
      See Also:
    • DAMAGE_RADIUS

      private static final double DAMAGE_RADIUS
      See Also:
    • DETECTION_RADIUS

      private static final double DETECTION_RADIUS
      See Also:
    • life

      private int life
    • seed

      public long seed
    • flashes

      private int flashes
    • visualOnly

      private boolean visualOnly
    • cause

      private @Nullable ServerPlayer cause
    • hitEntities

      private final Set<Entity> hitEntities
    • blocksSetOnFire

      private int blocksSetOnFire
    • damage

      private float damage
  • Constructor Details

  • Method Details