Your method is working fine for me with spigot 1.10, you should'nt be using spigot 1.8.
nmsStack.setTag(compound); compound = nmsStack.getTag(); That is uselessn you set the new tag anyway at the end after this method you need to...
I knew it couldn't work as you wrote in the code, i wanted to be sure. It doesn't work because the Chicken doesn't have any pathfinger using the...
Did it worked with the EntityCow.class,in the code you posted?
I dont understand what it is (sorry it may be cause of my bad english). Add the vector to the player location, instead of substracting maybe?
aswer 1: To set the target of an entity on an other one, really easy: ((EntityInsentient) ((CraftEntity)...
which version of spigot do you use?
can you show your registering code then?
I dont know how it is working in 1.11, i know 1.12 and 1.10, do you register this entity somewhere?
you need to modify the nbtTag value "Time" and set it to 1.
new Vector(p.locX-ArmorStand.locX,p.locY-armostand.locY,p.locY-armostand.locY) (replace p.loc by p.getLocation().get i dont remember exactly) the...
you can use that,the slime stop jumping EntitySlime slime; slime.goalSelector = new...
The passenger entity take control of the vehicule (since 1.12 i think). How can i prevent an entity to be controled by the passenger entity when i...
if you got the same problem that i had yesterday, Just add this method in your customEntity : public...
i want to work with all kinds of blocks ^^. I'm writing a pathFinder class, that make mobs place a block on the ground, like Endermans. That's why...
This is verry sad, NBTTags are really easy to use. ̶A̶n̶d̶ ̶i̶ ̶d̶o̶n̶t̶ ̶u̶n̶d̶e̶r̶s̶t̶a̶n̶d̶ ̶h̶o̶w̶ ̶t̶o̶ ̶c̶r̶e̶a̶t̶e̶ ̶a̶...
but the Block.setTypeAndData() uses a byte value to set the block data?!! wtf is this? how can i use an NBTTagCompound()?
oh ok , i didn't saw that method because it is decrepated, mb.I will use this then, thanks!
setTypeAndData is a method of theWorld class, BlockStone does not extend World.
The setTypeAndData command return true but create ghost block. There is my code: @EventHandler public void onBreakBlock(BlockBreakEvent event)...
Separate names with a comma.