I was wrong at this point : "The returned value will be our margin of error for Rho, so do the same with with Theta. We'll call the margins of...
@bennie3211 Use EventPriority at medium, low or lowest. The higher the priority is, the first it gets called. If you register if after, then it's...
@MrFrozen Also, I want to warn you ahead : There are dots in the coordinates, replace them all with _, then at the time of extracting it from the...
Do not serialize them, make them more appealing like World/x/y/z/type, you'll have a hard time removing the useless data saved.
@ethant That isn't the server log, it's the source code...
Line 20 : Add a space between return and cmdArgs. Instead of if (!args[0].equals("")) { use if(!args.isEmpty()){
@ImAFlo This is a mod, talk to the creator for help. He might have created it in a lot of ways possible.
You can't just boolean test an effect you're adding to an entity. Just keep it inside a variable, test if it has particles, then add it to the...
@I Al Istannen Yep, ZoneViewer is a runnable, and has the while(!Thread.currentThread().isInterrupted()) loop. I did the same as you, but somehow...
When I initialize it : ZoneViewer zv = new ZoneViewer(l, player, zone, l.zc.getColor(player.getUniqueId(),...
@I Al Istannen I call it from the zv class instanced in the created thread. I added a quick test as you said to see if it is running on the bukkit...
@I Al Istannen Using this : Thread t = new Thread(zv); t.start();
In a thread, I have a while loop that runs until the thread is interrupted, with a delay between all iterations. But, when I try to interrupt it...
@CaptainUniverse I'll use an example : The player you're aiming at is at 10 meters away from you. You convert his coordinates relatives to you,...
Here is for the spherical coordinates : public class SphericalLocation { public double Rho=0; public double Theta=0; public double...
@CaptainUniverse Then you'll have to do some maths : - Get the target's location, substract the player's location to it, then transfer that...
@I Al Istannen Nop, that is LivingEntity.canSee. Just try it.
Don't use replaceAll. It's glitched. Use replace instead.
Try using LivingEntity.hasLineOfSight(Entity other). It may work just fine.
just check if args. It'll return a true if it contains something.
Separate names with a comma.