public class BlockPosContext extends PlayerContext
Constructor and Description |
---|
BlockPosContext(EntityPlayer ep,
BlockPos pos,
IBlockState state,
EnumFacing f) |
BlockPosContext(EntityPlayer ep,
ChunkPos pos) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
covers(ContextKey<?> key) |
<T> T |
get(ContextKey<T> key) |
getPlayer, getWorld
public BlockPosContext(EntityPlayer ep, BlockPos pos, @Nullable IBlockState state, @Nullable EnumFacing f)
public BlockPosContext(EntityPlayer ep, ChunkPos pos)
@Nullable public <T> T get(ContextKey<T> key)
protected boolean covers(ContextKey<?> key)