VanillaEffects
in package
Uses
RegistryTrait
This doc-block is generated automatically, do not modify it manually.
This must be regenerated whenever registry members are added, removed or changed.
Tags
Table of Contents
- $members : array<string|int, object>
- __callStatic() : object
- ABSORPTION() : AbsorptionEffect
- BLINDNESS() : Effect
- CONDUIT_POWER() : Effect
- FATAL_POISON() : PoisonEffect
- FIRE_RESISTANCE() : Effect
- getAll() : array<string|int, Effect>
- HASTE() : Effect
- HEALTH_BOOST() : HealthBoostEffect
- HUNGER() : HungerEffect
- INSTANT_DAMAGE() : InstantDamageEffect
- INSTANT_HEALTH() : InstantHealthEffect
- INVISIBILITY() : InvisibilityEffect
- JUMP_BOOST() : Effect
- LEVITATION() : LevitationEffect
- MINING_FATIGUE() : Effect
- NAUSEA() : Effect
- NIGHT_VISION() : Effect
- POISON() : PoisonEffect
- REGENERATION() : RegenerationEffect
- RESISTANCE() : Effect
- SATURATION() : SaturationEffect
- SLOWNESS() : SlownessEffect
- SPEED() : SpeedEffect
- STRENGTH() : Effect
- WATER_BREATHING() : Effect
- WEAKNESS() : Effect
- WITHER() : WitherEffect
- preprocessMember() : object
- register() : void
- setup() : void
- _registryFromString() : object
- _registryGetAll() : array<string|int, object>
- _registryRegister() : void
- Adds the given object to the registry.
Properties
$members
private
static array<string|int, object>
$members
= null
Methods
__callStatic()
public
static __callStatic(string $name, array<string|int, mixed> $arguments) : object
Parameters
- $name : string
- $arguments : array<string|int, mixed>
Tags
Return values
object —ABSORPTION()
public
static ABSORPTION() : AbsorptionEffect
Return values
AbsorptionEffect —BLINDNESS()
public
static BLINDNESS() : Effect
Return values
Effect —CONDUIT_POWER()
public
static CONDUIT_POWER() : Effect
Return values
Effect —FATAL_POISON()
public
static FATAL_POISON() : PoisonEffect
Return values
PoisonEffect —FIRE_RESISTANCE()
public
static FIRE_RESISTANCE() : Effect
Return values
Effect —getAll()
public
static getAll() : array<string|int, Effect>
Return values
array<string|int, Effect> —HASTE()
public
static HASTE() : Effect
Return values
Effect —HEALTH_BOOST()
public
static HEALTH_BOOST() : HealthBoostEffect
Return values
HealthBoostEffect —HUNGER()
public
static HUNGER() : HungerEffect
Return values
HungerEffect —INSTANT_DAMAGE()
public
static INSTANT_DAMAGE() : InstantDamageEffect
Return values
InstantDamageEffect —INSTANT_HEALTH()
public
static INSTANT_HEALTH() : InstantHealthEffect
Return values
InstantHealthEffect —INVISIBILITY()
public
static INVISIBILITY() : InvisibilityEffect
Return values
InvisibilityEffect —JUMP_BOOST()
public
static JUMP_BOOST() : Effect
Return values
Effect —LEVITATION()
public
static LEVITATION() : LevitationEffect
Return values
LevitationEffect —MINING_FATIGUE()
public
static MINING_FATIGUE() : Effect
Return values
Effect —NAUSEA()
public
static NAUSEA() : Effect
Return values
Effect —NIGHT_VISION()
public
static NIGHT_VISION() : Effect
Return values
Effect —POISON()
public
static POISON() : PoisonEffect
Return values
PoisonEffect —REGENERATION()
public
static REGENERATION() : RegenerationEffect
Return values
RegenerationEffect —RESISTANCE()
public
static RESISTANCE() : Effect
Return values
Effect —SATURATION()
public
static SATURATION() : SaturationEffect
Return values
SaturationEffect —SLOWNESS()
public
static SLOWNESS() : SlownessEffect
Return values
SlownessEffect —SPEED()
public
static SPEED() : SpeedEffect
Return values
SpeedEffect —STRENGTH()
public
static STRENGTH() : Effect
Return values
Effect —WATER_BREATHING()
public
static WATER_BREATHING() : Effect
Return values
Effect —WEAKNESS()
public
static WEAKNESS() : Effect
Return values
Effect —WITHER()
public
static WITHER() : WitherEffect
Return values
WitherEffect —preprocessMember()
protected
static preprocessMember(object $member) : object
Parameters
- $member : object
Return values
object —register()
protected
static register(string $name, Effect $member) : void
Parameters
- $name : string
- $member : Effect
Return values
void —setup()
protected
static setup() : void
Return values
void —_registryFromString()
private
static _registryFromString(string $name) : object
Parameters
- $name : string
Tags
Return values
object —_registryGetAll()
private
static _registryGetAll() : array<string|int, object>
Return values
array<string|int, object> —_registryRegister()
Adds the given object to the registry.
private
static _registryRegister(string $name, object $member) : void
Parameters
- $name : string
- $member : object