Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

get block player is looking at bukkit

Player player = (Player) sender;
Block block = player.getTargetBlock(null, 100);
Location bl = block.getLocation();
Source by bukkit.org #
 
PREVIOUS NEXT
Tagged: #block #player #bukkit
ADD COMMENT
Topic
Name
3+7 =