toggle menu
HMCWraps API
1.5.1
jvm
switch theme
search in API
HMCWraps API
/
de.skyslycer.hmcwraps.util
/
PlayerUtil
Player
Util
public
class
PlayerUtil
Members
Constructors
Player
Util
Link copied to clipboard
public
void
PlayerUtil
(
)
Functions
get
Look
Block
Link copied to clipboard
public
static
Location
getLookBlock
(
Player
player
)
Get the block a player is looking at.
get
Opposite
Link copied to clipboard
public
static
Location
getOpposite
(
Player
player
)
Get the block location on the opposite side of the player
give
Link copied to clipboard
public
static
void
give
(
Player
player
,
ItemStack
item
)
Give a player an item and drop what doesn't fit.