Try adding 1 tick of delay
frymaster Thank you very much! That worked great! :D
Arena
So, I need to replace the thread with a scheduler?
leimekiller I'm not sure, but I think you can do .setTypeId(int);
@EventHandler public void onProjectileHit(ProjectileHitEvent e) { e.getEntity().getLocation().add(0, 1, 0).getBlock(); }
@EventHandler public void onProjectileHit(ProjectileHitEvent e) { e.getEntity().getLocation().getBlock() }
When you open the jar with winrar or 7zip, right there - don't open any folders, just as soon as you open the jar
Just put it in the root of the jar
Hello. I am writting a simple plugin that fires kittens from a bow then explodes them into a firework (Adorable, right?). I am getting this...
I'm pretty sure you can change the player's velocity but I've never got it to work
package me.CurlyFries.Healer; import java.util.logging.Logger; import org.bukkit.World; import org.bukkit.Bukkit; import org.bukkit.ChatColor;...
? BUMP! EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Sorry. Its only one block. The coords are: x = -495 y = 66 z = 522 This is only temporary while I am writing the plugin but I will change it when...
How do I set loc?
um.... I just copied what it said on the wiki. I just got rid of it
Thank you :D This is my new code: package me.CurlyFries.Healer; import java.util.logging.Logger; import org.bukkit.World; import...
No.... I'll have a look I just tried what what it said on the wiki and I got this: Type mismatch: cannot convert from org.bukkit.World to...
package me.CurlyFries.Healer; import java.util.logging.Logger; import net.minecraft.server.Block; import net.minecraft.server.World; import...
If only that were true... The way you're telling me, does it work triggered by command? EDIT by Moderator: merged posts, please use the edit...
Separate names with a comma.