Package net.minecraft.block
Interface ShapeContext
- All Known Implementing Classes:
EntityShapeContext
public interface ShapeContext
-
Method Summary
Modifier and Type Method Description static ShapeContext
absent()
boolean
canWalkOnFluid(FluidState state, FlowableFluid fluid)
boolean
isAbove(VoxelShape shape, BlockPos pos, boolean defaultValue)
boolean
isDescending()
boolean
isHolding(Item item)
static ShapeContext
of(Entity entity)
-
Method Details
-
absent
-
of
-
isDescending
boolean isDescending() -
isAbove
-
isHolding
-
canWalkOnFluid
-