public class AreaContext extends PlayerContext
Modifier and Type | Field and Description |
---|---|
private AxisAlignedBB |
area |
Constructor and Description |
---|
AreaContext(PlayerEntity ep,
AxisAlignedBB aabb) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
covers(ContextKey<?> key) |
<T> T |
get(ContextKey<T> key) |
getPlayer, getWorld
private final AxisAlignedBB area
public AreaContext(PlayerEntity ep, AxisAlignedBB aabb)
@Nullable public <T> T get(ContextKey<T> key)
protected boolean covers(ContextKey<?> key)