├── image.png ├── plugin.yml ├── .poggit.yml ├── README.md └── src └── skh6075 └── netheriteloader ├── item ├── armor │ ├── NetheriteBoots.php │ ├── NetheriteHelmet.php │ ├── NetheriteLeggings.php │ └── NetheriteChestplate.php ├── NetheriteHoe.php ├── NetheriteAxe.php ├── NetheritePickaxe.php ├── NetheriteShovel.php └── NetheriteSword.php └── NetheriteLoader.php /image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skh6075/AdvancedNetherite/HEAD/image.png -------------------------------------------------------------------------------- /plugin.yml: -------------------------------------------------------------------------------- 1 | name: NetheriteLoader 2 | main: skh6075\netheriteloader\NetheriteLoader 3 | author: AvasKr 4 | version: 1.0.0 5 | api: [4.0.0] 6 | website: https://github.com/GodVas -------------------------------------------------------------------------------- /.poggit.yml: -------------------------------------------------------------------------------- 1 | --- # Poggit-CI Manifest. Open the CI at https://poggit.pmmp.io/ci/GodVas/AdvancedNetherite 2 | build-by-default: true 3 | branches: 4 | - master 5 | projects: 6 | AdvancedNetherite: 7 | path: "" 8 | ... 9 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # AdvancedNetherite 2 | PocketMine-MP Activates the Nerherite item tool and armor 3 | Activates the Nerherite item tool and armor of Minecraft version 1.16. 4 | 5 | # image 6 | 7 | ![](https://raw.githubusercontent.com/GodVas/AdvancedNetherite/master/image.png) 8 | -------------------------------------------------------------------------------- /src/skh6075/netheriteloader/item/armor/NetheriteBoots.php: -------------------------------------------------------------------------------- 1 | applyDamage(1); 21 | } 22 | 23 | public function getMaxDurability(): int{ 24 | return 2000; 25 | } 26 | } -------------------------------------------------------------------------------- /src/skh6075/netheriteloader/item/NetheriteAxe.php: -------------------------------------------------------------------------------- 1 | getBreakInfo()->getHardness() > 0) { 34 | return $this->applyDamage(1); 35 | } 36 | return false; 37 | } 38 | 39 | public function onAttackEntity(Entity $victim): bool{ 40 | return $this->applyDamage(2); 41 | } 42 | } -------------------------------------------------------------------------------- /src/skh6075/netheriteloader/item/NetheritePickaxe.php: -------------------------------------------------------------------------------- 1 | getBreakInfo()->getHardness() > 0) { 33 | //TODO.. Enchant support 34 | return $this->applyDamage(1); 35 | } 36 | return false; 37 | } 38 | 39 | public function onAttackEntity(Entity $victim): bool{ 40 | //TODO.. Enchant support 41 | return $this->applyDamage(2); 42 | } 43 | } -------------------------------------------------------------------------------- /src/skh6075/netheriteloader/item/NetheriteShovel.php: -------------------------------------------------------------------------------- 1 | getBreakInfo()->getHardness() > 0) { 39 | return $this->applyDamage(1); 40 | } 41 | return false; 42 | } 43 | 44 | public function onAttackEntity(Entity $victim): bool{ 45 | return $this->applyDamage(2); 46 | } 47 | } -------------------------------------------------------------------------------- /src/skh6075/netheriteloader/item/NetheriteSword.php: -------------------------------------------------------------------------------- 1 | getBreakInfo()->getHardness() > 0) { 47 | return $this->applyDamage(2); 48 | } 49 | return false; 50 | } 51 | 52 | public function onAttackEntity(Entity $victim): bool{ 53 | return $this->applyDamage(1); 54 | } 55 | } -------------------------------------------------------------------------------- /src/skh6075/netheriteloader/NetheriteLoader.php: -------------------------------------------------------------------------------- 1 | register(new NetheritePickaxe(new ItemIdentifier(745, 0), "Netherite Pickaxe", ToolTier::DIAMOND())); 28 | $factory->register(new NetheriteSword(new ItemIdentifier(743, 0), "Netherite Sword", ToolTier::DIAMOND())); 29 | $factory->register(new NetheriteShovel(new ItemIdentifier(744, 0), "Netherite Shovel", ToolTier::DIAMOND())); 30 | $factory->register(new NetheriteAxe(new ItemIdentifier(746, 0), "Netherite Axe", ToolTier::DIAMOND())); 31 | $factory->register(new NetheriteHoe(new ItemIdentifier(747, 0), "Netherite Hoe", ToolTier::DIAMOND())); 32 | 33 | $factory->register(new NetheriteHelmet(new ItemIdentifier(748, 0), "Netherite Helmet", new ArmorTypeInfo(3, 407, ArmorInventory::SLOT_HEAD))); 34 | $factory->register(new NetheriteChestplate(new ItemIdentifier(749, 0), "Netherite Chestplate", new ArmorTypeInfo(5, 592, ArmorInventory::SLOT_CHEST))); 35 | $factory->register(new NetheriteLeggings(new ItemIdentifier(750, 0), "Netherite Leggings", new ArmorTypeInfo(6, 555, ArmorInventory::SLOT_LEGS))); 36 | $factory->register(new NetheriteBoots(new ItemIdentifier(751, 0), "Netherite Boots", new ArmorTypeInfo(3, 481, ArmorInventory::SLOT_FEET))); 37 | } 38 | } 39 | --------------------------------------------------------------------------------