PocketMine-MP 5.15.1 git-be6754494fdbbb9dd57c058ba0e33a4a78c4581f
pocketmine\entity\effect\VanillaEffects Class Reference
+ Collaboration diagram for pocketmine\entity\effect\VanillaEffects:

Static Public Member Functions

static getAll ()
 

Static Protected Member Functions

static register (string $name, Effect $member)
 
static setup ()
 

Detailed Description

This doc-block is generated automatically, do not modify it manually. This must be regenerated whenever registry members are added, removed or changed.

See also
build/generate-registry-annotations.php @generate-registry-docblock

@method static AbsorptionEffect ABSORPTION() @method static Effect BLINDNESS() @method static Effect CONDUIT_POWER() @method static Effect DARKNESS() @method static PoisonEffect FATAL_POISON() @method static Effect FIRE_RESISTANCE() @method static Effect HASTE() @method static HealthBoostEffect HEALTH_BOOST() @method static HungerEffect HUNGER() @method static InstantDamageEffect INSTANT_DAMAGE() @method static InstantHealthEffect INSTANT_HEALTH() @method static InvisibilityEffect INVISIBILITY() @method static Effect JUMP_BOOST() @method static LevitationEffect LEVITATION() @method static Effect MINING_FATIGUE() @method static Effect NAUSEA() @method static Effect NIGHT_VISION() @method static PoisonEffect POISON() @method static RegenerationEffect REGENERATION() @method static Effect RESISTANCE() @method static SaturationEffect SATURATION() @method static SlownessEffect SLOWNESS() @method static SpeedEffect SPEED() @method static Effect STRENGTH() @method static Effect WATER_BREATHING() @method static Effect WEAKNESS() @method static WitherEffect WITHER()

Definition at line 64 of file VanillaEffects.php.

Member Function Documentation

◆ getAll()

static pocketmine\entity\effect\VanillaEffects::getAll ( )
static
Returns
Effect[] @phpstan-return array<string, Effect>

Definition at line 108 of file VanillaEffects.php.

◆ register()

static pocketmine\entity\effect\VanillaEffects::register ( string  $name,
Effect  $member 
)
staticprotected

Definition at line 100 of file VanillaEffects.php.

◆ setup()

static pocketmine\entity\effect\VanillaEffects::setup ( )
staticprotected

Definition at line 67 of file VanillaEffects.php.


The documentation for this class was generated from the following file: