EffectInstance
Immutable effect value expressed in simulation ticks. Amplifier zero is level one.
Bedriox\Api\Effect\EffectInstance
classBedriox\Api\Effect
Public methods
__construct(Bedriox\Api\Effect\EffectType $type, int $durationTicks, int $amplifier = 0, bool $visible = true, bool $ambient = false, bool $infinite = false)Typed public method.
level(): intTyped public method.
remainingAfter(int $ticks): selfTyped public method.
Constants
MAXIMUM_DURATION_TICKSMAXIMUM_AMPLIFIER
