public final class PassiveGoal


Defines a passive goal that will be triggered when the specified condition is met which will repeat daily.

Summary

Public constructors

Constructs a new PassiveGoal with the given dataTypeCondition.

Public methods

boolean
equals(Object other)
final @NonNull DataTypeCondition<@NonNull Number, @NonNull DeltaDataType<@NonNull Number, @NonNull ?>>

DataTypeCondition which must be met for the passive goal to be triggered.

int
@NonNull String

Public constructors

PassiveGoal

Added in 1.0.0
public PassiveGoal(
    @NonNull DataTypeCondition<@NonNull Number, @NonNull DeltaDataType<@NonNull Number, @NonNull ?>> dataTypeCondition
)

Constructs a new PassiveGoal with the given dataTypeCondition. This goal will automatically repeat daily.

Public methods

equals

public boolean equals(Object other)

getDataTypeCondition

Added in 1.0.0
public final @NonNull DataTypeCondition<@NonNull Number, @NonNull DeltaDataType<@NonNull Number, @NonNull ?>> getDataTypeCondition()

DataTypeCondition which must be met for the passive goal to be triggered.

hashCode

public int hashCode()

toString

public @NonNull String toString()