I think you need to better explain what you want. It is hard to understand
Is there a better way than checking on a player interact event?
I mean what do I pass in as the final two arguments of the EntityDamageByEntityEvent constructor Map<EntityDamageEvent.DamageModifier, Double>...
in 1.7.10 EntityDamageByEntityEvent(Entity damager, Entity damagee, EntityDamageEvent.DamageCause cause, double damage) is...
Ya. I don't like repeating tasks though. Just a personal preference :)
To expand on this, What you want to do is as follows. When a player blocks with his sword, give him a velocity and create a sync delayed task to...
I was changing imports last night. That could be the issue. I will try it later! I can't seem to find any double imports. Any other information...
I recently updated a plugin to 1.7.10 and now when a player is killed, two death events are created and fired for them. It isn't the same event...
My Piggies :D
Then your problem is not in this code. Post the whole class
Try this if(p.getInventory().containsAtLeast(new ItemStack(Material.ARROW), 1)){ p.getInventory().removeItem(new...
Why are you doing: if(Attacker.equals(killer)) How can killer(a string) be equal to Attacker(A list of strings)? Also, remove all of the test...
This is very messy code. you are going to need to explain what you are trying to do because I can't understand your end goal from this. Also for...
You cannot modify an ArrayList as you cycle through it. Post more code so we can provide a solution
Hi. This is a bit of code I made a few years ago for boots that make you fly if you put them on and stop you flying if you take them off....
Shotbow doesn't rebuild the map, it loads a copy of the map into the game being played
You can't, you need to create a resource pack and force download when the player joins
With a resource pack
Random rand = new Random(); int index = rand.nextInt(list.size()); ItemStack itemStack = list.get(index);
What are you trying to do?
Separate names with a comma.