PlayerUtil

public class PlayerUtil

Constructors

Link copied to clipboard
public void PlayerUtil()

Functions

Link copied to clipboard
public static Location getLookBlock(Player player)
Get the block a player is looking at.
Link copied to clipboard
public static Location getOpposite(Player player)
Get the block location on the opposite side of the player
Link copied to clipboard
public static void give(Player player, ItemStack item)
Give a player an item and drop what doesn't fit.