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/
Perhaps something with particle packets? http://wiki.vg/Protocol#Particle
Yes, eventually. Cache the list.
You will be missed :( Have fun with your daughter!
Assuming you want to get a random object from a List, //In your class Random random = new Random(); //Whenever you need a spawnpoint return...
What a great way to wake up in the morning ;(
GalaxyCraft https://github.com/MilkBowl/VaultAPI#implementing-vault
Separate names with a comma.