Updated the code :)
https://bukkit.org/threads/snippet-paper-intersection-of-the-players-vision-and-the-block-face.262806/
@Th3Gam3rz an easier option (for the user at least) would be to make a builder class: Rule.builder("Rule Name").desc("Line 1", "Line 2").build().
You may want to make your code broadcast "E1" so it matches your screenshot.
Solidly written tutorial :)
@xTrollxDudex was ANVIL ever implemented?
List<E> :P lists store Elements.
lespauls19 100%? For blank lines, just set scores: ChatColor.RESET.toString() ChatColor.RESET.toString() + ChatColor.RESET.toString()...
JTGaming2012 only call player.getLocation() once as it creates a new object each time.
FabeGabeMC use .distanceSquared() for code efficiency
What's the error? Are you importing org.bukkit?
<3 It was a pleasure working with you back in my BukkitDev staff days last year. And of course, how could I forget about Minecon! :)
Pr07o7yp3 store player.getLocation() in a variable, and then use loc.add(loc.getDirection().normalize().multiply(10)), I think
nanerz_123 https://forums.bukkit.org/threads/get-server-tps.143410/
Separate names with a comma.