Skip to content

Status Effect

apace100 edited this page Mar 10, 2021 · 3 revisions

Entity Condition. Checks whether the player has a specific status effect in a given amplifier and/or duration range.

Type ID: origins:status_effect

Fields:

effect, String: ID of the status effect the player should have.

min_amplifier, int, default = 0: The minimum amplifier the status effect should have in order to pass the check.

max_amplifier, int, default = 2147483647: The maximum amplifier the status effect should have in order to pass the check.

min_duration, int, default = 0: The minimum duration in ticks the status effect should have left in order to pass the check.

max_duration, int, default = 2147483647: The maximum duration in ticks the status effect should have left in order to pass the check.

Clone this wiki locally