mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-03 08:35:20 +00:00
Moved EnchantmentIds to pocketmine/data/bedrock package
This commit is contained in:
@ -24,7 +24,6 @@ declare(strict_types=1);
|
||||
namespace pocketmine\data\bedrock;
|
||||
|
||||
use pocketmine\item\enchantment\Enchantment;
|
||||
use pocketmine\item\enchantment\EnchantmentIds;
|
||||
use pocketmine\item\enchantment\VanillaEnchantments;
|
||||
use pocketmine\utils\SingletonTrait;
|
||||
use function array_key_exists;
|
||||
|
69
src/data/bedrock/EnchantmentIds.php
Normal file
69
src/data/bedrock/EnchantmentIds.php
Normal file
@ -0,0 +1,69 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
*
|
||||
* ____ _ _ __ __ _ __ __ ____
|
||||
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
|
||||
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
|
||||
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
|
||||
* |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* @author PocketMine Team
|
||||
* @link http://www.pocketmine.net/
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace pocketmine\data\bedrock;
|
||||
|
||||
final class EnchantmentIds{
|
||||
|
||||
private function __construct(){
|
||||
//NOOP
|
||||
}
|
||||
|
||||
public const PROTECTION = 0;
|
||||
public const FIRE_PROTECTION = 1;
|
||||
public const FEATHER_FALLING = 2;
|
||||
public const BLAST_PROTECTION = 3;
|
||||
public const PROJECTILE_PROTECTION = 4;
|
||||
public const THORNS = 5;
|
||||
public const RESPIRATION = 6;
|
||||
public const DEPTH_STRIDER = 7;
|
||||
public const AQUA_AFFINITY = 8;
|
||||
public const SHARPNESS = 9;
|
||||
public const SMITE = 10;
|
||||
public const BANE_OF_ARTHROPODS = 11;
|
||||
public const KNOCKBACK = 12;
|
||||
public const FIRE_ASPECT = 13;
|
||||
public const LOOTING = 14;
|
||||
public const EFFICIENCY = 15;
|
||||
public const SILK_TOUCH = 16;
|
||||
public const UNBREAKING = 17;
|
||||
public const FORTUNE = 18;
|
||||
public const POWER = 19;
|
||||
public const PUNCH = 20;
|
||||
public const FLAME = 21;
|
||||
public const INFINITY = 22;
|
||||
public const LUCK_OF_THE_SEA = 23;
|
||||
public const LURE = 24;
|
||||
public const FROST_WALKER = 25;
|
||||
public const MENDING = 26;
|
||||
public const BINDING = 27;
|
||||
public const VANISHING = 28;
|
||||
public const IMPALING = 29;
|
||||
public const RIPTIDE = 30;
|
||||
public const LOYALTY = 31;
|
||||
public const CHANNELING = 32;
|
||||
public const MULTISHOT = 33;
|
||||
public const PIERCING = 34;
|
||||
public const QUICK_CHARGE = 35;
|
||||
public const SOUL_SPEED = 36;
|
||||
}
|
Reference in New Issue
Block a user