public interface IContext
BlockPosContext or PlayerContext when possible| Modifier and Type | Method and Description | 
|---|---|
<T> T | 
get(ContextKey<T> key)  | 
EntityPlayer | 
getPlayer()  | 
World | 
getWorld()
World from where permission is requested. 
 | 
boolean | 
has(ContextKey<?> key)  | 
@Nullable World getWorld()
@Nullable EntityPlayer getPlayer()
@Nullable <T> T get(ContextKey<T> key)
key - Context keyboolean has(ContextKey<?> key)
key - Context key