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