Hey, I need StoneGenerator plugin for my server . What is StoneGenerator? See this bukkit plugin: http://dev.bukkit.org/bukkit-plugins/stone-generator/ I want to write plugin for mcpe. Can anyone give me code for; when I place PHP: Item::END_STONE on EndStone plugin create stone, when I break stone, creating new stone (and so on)..
So you want if a player places EndStone that on top of that stone is getting created and if the stone is broken the stone is created again Little idea: On PlayerBlockPlaceEvent if($event->getBlock()->getID() == "ID OF ENDSTONE") Create new Vector3 thingy and set an block above it On PlayerBlockBreakEvent if($event->getBlock()->getID() == "ID OF STONE") Create new Vector3 thingy and check if there block below is if(Vector3Stuff->getBlock()->getID() == "ID OF ENDSTONE) set an stone block above it