Looks like it's time for me to build an array of metadata values... again... Hopefully BlockStates come soon at least
This one's been bugging me for a while. I'm trying to build a NavMesh in my plugin and I need to check if Doors/Fence Gates and whatnot are open,...
First you need the Location of the Item Frame.
$frame = $level->getTile($loc);
$item = $frame->getItem();
It should be by block if I'm not wrong
Also if you want the players to still be knocked around it's better to set the damage to 0 rather than...
Now, I know that to generate my stuff inside a world, I simply add my own populator that executes custom logic to a biome and let it run. I've...
BuilderTools refuses to work on my server for some reason, but I can easily write my own plugin to get block meta. Thanks for the tip!
It works and rotates locations of objects, but I don't know how to rotate directions of objects, so doors and stairs and furnaces and whatnot are...
I currently have a plugin that flips objects on their axes,but the problem is that the blocks are still facing the same direction even after the...
It Sure sounds simple, take the two corners of the area you want to copy and paste it elsewhere, but i got stuck on how to save the structure. The...
I thought it was || doing && checks for both variables
Tldr PHP cant understand you like a living human can (unless the human is a dumbo that is)
Ok here ill do it for you:
Give me some time to properly organise and read your code then ill try and see what i can do
So do you want an effect that plays when a player teamkills their teammate? We need to know How do you define teams first though
Use PHP tags to format code, i can barely read what is in there :/
Fixed, apparently you cannot set the pitch of the Wither because pitch actually refers to the whole body of the entity in pocketmine, instead of...
So I added a Wither (No AI yet) to Pocketmine with a Plugin but when it spawns it looks horrible
its back is horribly arched and...
I never got DevTools considering that the Eclipse IDE i have can straight off import the pocketmine phar and export a phar file directly xd
Ah thanks that made my life easier xd
Just checked, its valid
Ehh which phar..?
Separate names with a comma.