PocketMine-MP 5.23.3 git-f7687af337d001ddbcc47b8e773f014a33faa662
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 FROST_WALKER() @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 60 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 311 of file VanillaEnchantments.php.

◆ register()

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

Definition at line 303 of file VanillaEnchantments.php.

◆ setup()

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

Definition at line 63 of file VanillaEnchantments.php.


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