OMG xD Biggest facepalm ever. That solves it. Thank you very much Sir for taking your time explaining to an idiot xD
But then again, im not having an object to follow. You have to now that the player can change between weapons. So an iteminHand wont be useful....
I have no other idea how i should code this^^ So the class is just a Runnable, that Checks the Item with the Velocity(Snowball) every x...
@I Al Istannen I will give it a try later ;) We hadnt had vectors yet too in school, so im a total noob working with them xD
But then i cant do this, can I? @teej107 package Weapon; import org.bukkit.ChatColor; import org.bukkit.Location; import org.bukkit.Material;...
I am dropping a Snowball and it justs gets a velocity. Item item=p.getWorld().dropItem(p.getEyeLocation(), new ItemStack(Material.SNOW_BALL));
It actually seems to work sometimes, sometimes it really gets removed. Sadly i guess that isnt the ultimate solutin for my problem :/ But Thank...
Checking the block position doesnt work because it is going to bounce really before the x or the z is "increased". How do i check the velocity of...
This sounds great!, but i am setting the velocity of an item, not a projectile though. This could be an axe or a shovel too....
I ran into a bug i cant fix. Im giving an item(in my case snowball) a velocity so it flys in the players direction. So this is working just fine,...
@timtower Ok :D @mythbusterma @Zombie_Striker I reworked it and made it into a scheduler, like this but its not working :(, Detailed: The Axe is...
Why may i not sleep the thread ;)?? Wouldnt the server just explode if i wouldnt sleep it?
@Zombie_Striker 1. Yeah thats useless (Facepalm) 2. (Facepalm) 3.I am not an expert, so i dont know how to make sync Threads or how to do in...
@megamichiel Ok i just thought it would, because it happend 2times in a row(have been testing around with stuff), and in the detailed Report...
So, Today i ran into a server crashing error: Exception ticking world entities java.util.NoSuchElementException at...
Separate names with a comma.