I do not know whether this is useful for someone, but a few days ago I needed something like this. GitHub Gist.
Bump.
I am working on a half year on my current project, and came to a point, where I had to say: I grabbed the description from the project's...
Yes thats right
I used the BlockRedstoneEvent to fire a rocket when a sign is powered. But when I power it (Lever->Redstone->Redstone->Standing Sign) it fires 2...
No, Im not so fimilar with this, I got the solution from lol768, too.
I think I was using the #2565 build, and it worked perfect, try using this one! EDIT: AND be sure you are using the same build on your...
I think it should be the EntitySpawnEvent, because the rocket is a entity. The explosion itself is just a mixture of particles.
Use the code that is posted above!
I have created a if-statement! When I deactivate there is no rocket, if I activate there are 2!
It works ! :) You dont know how happy I am you brought the solution to me! Off-Topic: Why is the event powered at 2 times when i apply a...
Yes, I have to know it for the plugin I am currently developing and I promised to release it this year. Do you have a idea what to do?
So finally this is my code: public void onBlockRedstone (BlockRedstoneEvent e) { if (e.getBlock().getType() == Material.SIGN ||...
https://github.com/Bukkit/CraftBukkit/commit/52e86815dbf0a002150eb3c44614c2ae7062e3e7 , I think this commit makes it possible now, doesnt it?
I think this is handled client-side, isnt it? If it is, there is no way manipulating it.
Yes, I know. You mean this one https://github.com/Bukkit/CraftBukkit/commit/52e86815dbf0a002150eb3c44614c2ae7062e3e7 dont you? With this it is...
Oh cool, I think we can use the World.spawn(Location, Class<T>) method, cant we?
I dont think that it is possible to force a player to place a block, in pur Bukkit. But maybe it is possible to send a fake packet with...
I need to know how to create and fire a Firework without a library for my currently developed plugin, but have no idea. Has someone a code snippet...
I have the FireworkExplosion, but how can i fire it at a given place?
Separate names with a comma.