net.minecraft.block

public interface ShapeContext

net.minecraft.world.phys.shapes.CollisionContext
net.minecraft.class_3726
net.minecraft.block.ShapeContext

Method summary

Modifier and TypeMethod
static ShapeContext
empty()
method_16194()
absent()
static ShapeContext
emptyWithFluidCollisions()
method_74169()
absentTreatingFluidAsCube()
static ShapeContext
of(Entity entity)
method_16195(class_1297 arg0)
of(Entity entity)
static ShapeContext
of(Entity entity, boolean alwaysCollideWithFluid)
method_61893(class_1297 arg0, boolean arg1)
of(Entity entity, boolean shouldTreatFluidAsCube)
static ShapeContext
positionContext(double y)
method_1_5606(double arg0)
block(double minY)
static ShapeContext
placementContext(Player player)
method_67715(class_1657 arg0)
ofPlacement(PlayerEntity player)
static ShapeContext
withPosition(Entity entity, double position)
method_71491(class_1297 arg0, double arg1)
ofCollision(Entity entity, double y)
boolean
isDescending()
method_16193()
isDescending()
boolean
isAbove(VoxelShape shape, BlockPos pos, boolean defaultValue)
method_16192(class_265 arg0, class_2338 arg1, boolean arg2)
isAbove(VoxelShape shape, BlockPos pos, boolean defaultValue)
boolean
isHoldingItem(Item item)
method_17785(class_1792 arg0)
isHolding(Item item)
boolean
alwaysCollideWithFluid()
method_73328()
shouldTreatFluidAsCube()
boolean
canStandOnFluid(FluidState fluidStateAbove, FluidState fluid)
method_27866(class_3610 arg0, class_3610 arg1)
canWalkOnFluid(FluidState stateAbove, FluidState state)
VoxelShape
getCollisionShape(BlockState state, CollisionGetter collisionGetter, BlockPos pos)
method_62878(class_2680 arg0, class_1941 arg1, class_2338 arg2)
getCollisionShape(BlockState state, CollisionView world, BlockPos pos)
default boolean
isPlacement()
method_67716()
isPlacement()