Added item activation, zombie spawn egg

This commit is contained in:
Shoghi Cervantes
2014-08-16 14:01:07 +02:00
parent 758a6af678
commit c675605014
5 changed files with 114 additions and 9 deletions

View File

@@ -24,6 +24,7 @@
*/
namespace pocketmine\block;
use pocketmine\entity\Zombie;
use pocketmine\item\Item;
use pocketmine\level\Level;
use pocketmine\level\Position;
@@ -449,10 +450,10 @@ abstract class Block extends Position implements Metadatable{
[Item::COMPASS, 0],
[Item::MINECART, 0],
//TODO: Villager
[Item::SPAWN_EGG, 10], //Chicken
[Item::SPAWN_EGG, 11], //Cow
[Item::SPAWN_EGG, 12], //Pig
[Item::SPAWN_EGG, 13], //Sheep
//[Item::SPAWN_EGG, 10], //Chicken
//[Item::SPAWN_EGG, 11], //Cow
//[Item::SPAWN_EGG, 12], //Pig
//[Item::SPAWN_EGG, 13], //Sheep
//TODO: Wolf
//TODO: Mooshroom
//TODO: Creeper
@@ -460,7 +461,7 @@ abstract class Block extends Position implements Metadatable{
//TODO: Silverfish
//TODO: Skeleton
//TODO: Slime
//TODO: Zombie
[Item::SPAWN_EGG, Zombie::NETWORK_ID],
//TODO: PigZombie
//TODO: Replace with Entity constants