Answers for "set block where player looking spigot"

1

get block player is looking at bukkit

Player player = (Player) sender;
Block block = player.getTargetBlock(null, 100);
Location bl = block.getLocation();
Posted by: Guest on October-23-2020

Code answers related to "set block where player looking spigot"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language