public interface ShapeContext
Modifier and Type | Method and Description |
---|---|
static ShapeContext |
absent() |
boolean |
isAbove(VoxelShape shape,
BlockPos pos,
boolean defaultValue) |
boolean |
isDescending() |
boolean |
isHolding(Item item) |
static ShapeContext |
of(Entity entity) |
static ShapeContext absent()
static ShapeContext of(Entity entity)
boolean isDescending()
boolean isAbove(VoxelShape shape, BlockPos pos, boolean defaultValue)
boolean isHolding(Item item)