public class Dismounting extends Object
| Constructor and Description |
|---|
Dismounting() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
canDismountInBlock(double height) |
static boolean |
canPlaceEntityAt(CollisionView collisionView,
LivingEntity entity,
Box targetBox) |
static int[][] |
getDismountOffsets(Direction movementDirection) |
static VoxelShape |
method_30341(BlockView blockView,
BlockPos blockPos) |
static Vec3d |
method_30342(CollisionView collisionView,
double double2,
double double3,
double double4,
LivingEntity livingEntity,
EntityPose entityPose) |
static double |
method_30343(BlockPos blockPos,
int int2,
Function<BlockPos,VoxelShape> function) |
public static int[][] getDismountOffsets(Direction movementDirection)
public static boolean canDismountInBlock(double height)
public static boolean canPlaceEntityAt(CollisionView collisionView, LivingEntity entity, Box targetBox)
@Nullable public static Vec3d method_30342(CollisionView collisionView, double double2, double double3, double double4, LivingEntity livingEntity, EntityPose entityPose)
public static VoxelShape method_30341(BlockView blockView, BlockPos blockPos)
public static double method_30343(BlockPos blockPos, int int2, Function<BlockPos,VoxelShape> function)