RegistryUtils: generate ordered doc comments

this makes things easier to find, especially in the large ones like VanillaBlocks.
This commit is contained in:
Dylan K. Taylor
2021-03-22 16:16:28 +00:00
parent 90161f24e3
commit 49438d360d
16 changed files with 76 additions and 68 deletions

View File

@@ -31,24 +31,24 @@ use pocketmine\utils\RegistryTrait;
* This must be regenerated whenever registry members are added, removed or changed.
* @see \pocketmine\utils\RegistryUtils::_generateMethodAnnotations()
*
* @method static ProtectionEnchantment PROTECTION()
* @method static ProtectionEnchantment FIRE_PROTECTION()
* @method static ProtectionEnchantment FEATHER_FALLING()
* @method static ProtectionEnchantment BLAST_PROTECTION()
* @method static ProtectionEnchantment PROJECTILE_PROTECTION()
* @method static Enchantment THORNS()
* @method static Enchantment RESPIRATION()
* @method static SharpnessEnchantment SHARPNESS()
* @method static KnockbackEnchantment KNOCKBACK()
* @method static FireAspectEnchantment FIRE_ASPECT()
* @method static Enchantment EFFICIENCY()
* @method static Enchantment SILK_TOUCH()
* @method static Enchantment UNBREAKING()
* @method static Enchantment POWER()
* @method static Enchantment PUNCH()
* @method static ProtectionEnchantment FEATHER_FALLING()
* @method static FireAspectEnchantment FIRE_ASPECT()
* @method static ProtectionEnchantment FIRE_PROTECTION()
* @method static Enchantment FLAME()
* @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 THORNS()
* @method static Enchantment UNBREAKING()
* @method static Enchantment VANISHING()
*/
final class VanillaEnchantments{