Interface PotentSulfur

All Superinterfaces:
BlockEntity, CopyableDataHolder, DataHolder, DataHolder.Mutable, DataSerializable, Locatable, SerializableDataHolder, SerializableDataHolder.Mutable, ValueContainer

public interface PotentSulfur extends BlockEntity
Represents a geyser-like, periodically erupting block that applies a nausea effect to nearby living entities while a suitable noxious source exists above it, and may launch entities upward during an eruption.

The countdown exposed by eruptionCountdown() advances each server tick the block entity finds a valid source; when it elapses the block toggles between its dormant and erupting block-state forms (see BlockStateKeys.POTENT_SULFUR_STATE).

See Also:
  • Method Details

    • eruptionCountdown

      default Value.Mutable<Ticks> eruptionCountdown()
      Keys.ERUPTION_COUNTDOWN

      The remaining ticks until the next state flip. When the block entity has not yet evaluated its surroundings (or no suitable noxious source is present), this value is absent.

      Returns:
      The mutable eruption countdown.
    • resetCountdown

      default void resetCountdown()
      Clears the eruption countdown, forcing the block entity to re-evaluate its surroundings on the next server tick.