Skip to content

Commit 08fd6e3

Browse files
add TODO in EnderEye
1 parent edf5016 commit 08fd6e3

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

src/item/EnderEye.php

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?php
2+
3+
/*
4+
*
5+
* ____ _ _ __ __ _ __ __ ____
6+
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
7+
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
8+
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
9+
* |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
10+
*
11+
* This program is free software: you can redistribute it and/or modify
12+
* it under the terms of the GNU Lesser General Public License as published by
13+
* the Free Software Foundation, either version 3 of the License, or
14+
* (at your option) any later version.
15+
*
16+
* @author PocketMine Team
17+
* @link http://www.pocketmine.net/
18+
*
19+
*
20+
*/
21+
22+
declare(strict_types=1);
23+
24+
namespace pocketmine\item;
25+
26+
class EnderEye extends Item{
27+
//TODO: Implement projectile logics
28+
}

src/item/VanillaItems.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@
157157
* @method static Item EMERALD()
158158
* @method static EnchantedBook ENCHANTED_BOOK()
159159
* @method static GoldenAppleEnchanted ENCHANTED_GOLDEN_APPLE()
160-
* @method static Item ENDER_EYE()
160+
* @method static EnderEye ENDER_EYE()
161161
* @method static EnderPearl ENDER_PEARL()
162162
* @method static EndCrystal END_CRYSTAL()
163163
* @method static ExperienceBottle EXPERIENCE_BOTTLE()
@@ -489,6 +489,8 @@ protected static function setup() : void{
489489
self::register("emerald", fn(IID $id) => new Item($id, "Emerald"));
490490
self::register("enchanted_book", fn(IID $id) => new EnchantedBook($id, "Enchanted Book", [EnchantmentTags::ALL]));
491491
self::register("enchanted_golden_apple", fn(IID $id) => new GoldenAppleEnchanted($id, "Enchanted Golden Apple"));
492+
self::register("end_crystal", fn(IID $id) => new EndCrystal($id, "End Crystal"));
493+
self::register("ender_eye", fn(IID $id) => new EnderEye($id, "Ender Eye"));
492494
self::register("ender_pearl", fn(IID $id) => new EnderPearl($id, "Ender Pearl"));
493495
self::register("experience_bottle", fn(IID $id) => new ExperienceBottle($id, "Bottle o' Enchanting"));
494496
self::register("feather", fn(IID $id) => new Item($id, "Feather"));

0 commit comments

Comments
 (0)