ExpandingPulsePlan

public final class ExpandingPulsePlan extends Record

Divides one expanding area effect into disjoint rings. A stationary target belongs to exactly one pulse, and the last ring lands at the advertised duration.

Constructors

Link copied to clipboard
public void ExpandingPulsePlan(List<ExpandingPulsePlan.Pulse> pulses)

Types

Link copied to clipboard
public final class Pulse extends Record

Functions

Link copied to clipboard
public static ExpandingPulsePlan create(double maximumRadius, int pulseCount, int durationTicks)
Link copied to clipboard
public Optional<ExpandingPulsePlan.Pulse> pulseForDistance(double distance)

Inherited functions

Link copied to clipboard
public abstract boolean equals(Object p)
Link copied to clipboard
public abstract int hashCode()
Link copied to clipboard
public abstract String toString()