-
Notifications
You must be signed in to change notification settings - Fork 0
Conditions
5w14 edited this page Sep 9, 2025
·
2 revisions
⚠️ This page is outdated, we will make updates to these once we finish the core parts & fix bugs.📘 For now, you can click these to see the implementations (and expected arguments) of behaviours, context mutators and conditions.
no arguments required
Always evaluates to true.
-
conditions: List of ICondition - The conditions to evaluate with AND logic
-
above: float (default:Float.MAX_VALUE) - Check if player is above this height -
below: float (default:-Float.MAX_VALUE) - Check if player is below this height
-
from: integer (default:0) - The starting time -
to: integer (default:0) - The ending time
-
regex: String - The regex pattern to match against chat messages
-
prefix: String - The prefix to check in chat messages
no arguments required
Evaluates to true if debug mode is enabled.
no arguments required
no arguments required
Always evaluates to false.
-
conditions: List of ICondition - The conditions to negate
-
conditions: List of ICondition - The conditions to evaluate with OR logic
-
radius: double (default:1.0) - The radius to check for players -
min_players_nearby: integer (default:0) - Minimum number of players required -
max_players_nearby: integer (default:0) - Maximum number of players allowed
-
chance: float [0-1] - The probability of the condition evaluating to true
-
ticks: NumberProvider - The number of ticks since the event started
-
weather: Enum (RAIN,THUNDER,ANY_NON_CLEAR,CLEAR) - The weather condition to check