PocketMine-MP 5.21.2 git-a6534ecbbbcf369264567d27e5ed70f7f5be9816
Loading...
Searching...
No Matches
pocketmine\item\enchantment\VanillaEnchantments Class Reference
+ Collaboration diagram for pocketmine\item\enchantment\VanillaEnchantments:

Static Public Member Functions

static getAll ()
 

Static Protected Member Functions

static register (string $name, Enchantment $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 Enchantment AQUA_AFFINITY() @method static ProtectionEnchantment BLAST_PROTECTION() @method static Enchantment EFFICIENCY() @method static ProtectionEnchantment FEATHER_FALLING() @method static FireAspectEnchantment FIRE_ASPECT() @method static ProtectionEnchantment FIRE_PROTECTION() @method static Enchantment FLAME() @method static Enchantment FORTUNE() @method static Enchantment INFINITY() @method static KnockbackEnchantment KNOCKBACK() @method static Enchantment MENDING() @method static Enchantment POWER() @method static ProtectionEnchantment PROJECTILE_PROTECTION() @method static ProtectionEnchantment PROTECTION() @method static Enchantment PUNCH() @method static Enchantment RESPIRATION() @method static SharpnessEnchantment SHARPNESS() @method static Enchantment SILK_TOUCH() @method static Enchantment SWIFT_SNEAK() @method static Enchantment THORNS() @method static Enchantment UNBREAKING() @method static Enchantment VANISHING()

Definition at line 59 of file VanillaEnchantments.php.

Member Function Documentation

◆ getAll()

static pocketmine\item\enchantment\VanillaEnchantments::getAll ( )
static
Returns
Enchantment[] @phpstan-return array<string, Enchantment>

Definition at line 256 of file VanillaEnchantments.php.

◆ register()

static pocketmine\item\enchantment\VanillaEnchantments::register ( string $name,
Enchantment $member )
staticprotected

Definition at line 248 of file VanillaEnchantments.php.

◆ setup()

static pocketmine\item\enchantment\VanillaEnchantments::setup ( )
staticprotected

Definition at line 62 of file VanillaEnchantments.php.


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