So, basically, I want to make it so that when you buy a mob spawner, you can place it AND it will have a mob inside the spawner that it spawns. Also, it seems as when I buy it through /shop, I CANT place it. Plugins: (5) EconomyAPI, GuiShop (By VMPE Development Team), DevTools, TeaSpoon, PureEntitiesX Suggested solutions that DIDN'T work: Upgrade the Pocketmine-MP file, Remove PureEntitiesX, Enable "mobSpanwrs". PLEASE HELP MOI I NEED HELP THANKS!
Well you'll need to add sum like public function onRun(int $tick){ $tile = $this->block->getLevel()->getTile(new Vector3($this->block->getX(), $this->block->getY(), $this->block->getZ())); if($tile instanceof MobSpawner) { echo "Translating to {$this->type}..."; switch($this->type){ case "zombie": $tile->setEntityId(32); break;
So this would be a zombie spawner. Right? I want it to be like I can buy the spawners in the shop that spawners different things like zombies, iron golems, skeletons, etc.. Also, let me rephrase my problem. I CAN place normal mob spawners (ID=52). But, I can't place unnormal spawners (ID=52:32) (32 = zombie)
I think pure entity disabled mobs for now. I don't recomend spoons can break your server. When you get an egg and tap the spawner does it work or nothing happened if it activates wait if somthing spawns and if nothing spawns it's the mob plugin.
Yes I can tap the spawner with a mob and then it appears and it spawns. I use teaspoon and PureEntitiesX
Also, I understand that if I break a spawner with silk touch with a certain entity in it and place the spawner again, it still has the mob saved into it. Does this have to do with something?
Really need help with this stuff. I litterly have everything setup on my server. (Crates, perms, tebex, etc...) And im just trying to get spawners to work.
Btw mob AI hasn't been added yet to pocketmine and pure entity disabled mobs and tea spoon could work it's just not stable. I'm not a pro developer.
Wait acually? But how doees other MCPE servers do it? Please... I really want to release my skyblock. Legit just waiting for spawners.
It's not my plugin. Also, I have tried teaspoon and no it doesn't work. I have enabled spawners aswell. Please help. SpawnerPE Link: https://github.com/thebigsmileXD/SimpleSpawner