public class PlayerContext extends Context
Modifier and Type | Field and Description |
---|---|
private EntityPlayer |
player |
Constructor and Description |
---|
PlayerContext(EntityPlayer ep) |
Modifier and Type | Method and Description |
---|---|
EntityPlayer |
getPlayer() |
World |
getWorld()
World from where permission is requested.
|
private final EntityPlayer player
public PlayerContext(EntityPlayer ep)
public World getWorld()
IContext
public EntityPlayer getPlayer()