Not yet. In theory, would it work?
I'm trying to get pseudo-fov which angle is 180 degrees.
Ok, if I check if angle between vector of sight and vector between player and victim less than 90, it'll work? Vector dir =...
float yaw1 = vp.getLocation().getYaw() % 360; // vp is victim player (damaged) float yaw2 = p.getLocation().getYaw() % 360; // p is player...
How can I summon Evoker Fangs like does it Evoker, not one fang (line trajectory). My current code: EvokerFangs ef =...
Create, launch snowball and set max velocity to it.
Solved, wrong check (valid: if hit block null - hit entity is target, else block is target). Just be careful about ProjectileHitEvent.
this.skpl.perkUse(ARCHER_PERK_CS, plug); public void perkUse(int needperk, Plugin plug) { switch(this.skillid) {...
Solved: https://bukkit.org/threads/disable-players-shield.490818/
When I'm try to create effect cloud when arrow hits ground or entity - nothing changes... Creating cloud: public void perkCurseShot() {...
Solved, just check if entity LivingEntity or Player (you can't get Entity armor or health because armorstands and frames are entity too), and...
>.... [14:32:41 ERROR]: Could not pass event EntityDamageByEntityEvent to SkillTest v1.2 java.lang.NullPointerException: null at...
Separate names with a comma.