public interface IBoundingBox
IBoundingBox defines an implementers that have bounding box.RaytraceBlock.trace().| Modifier and Type | Method and Description |
|---|---|
default void |
addCollisionBoxToList(net.minecraft.block.state.IBlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.AxisAlignedBB mask,
java.util.List<net.minecraft.util.math.AxisAlignedBB> list,
net.minecraft.entity.Entity collidingEntity) |
default net.minecraft.util.math.RayTraceResult |
collisionRayTrace(net.minecraft.block.state.IBlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.Vec3d src,
net.minecraft.util.math.Vec3d dest) |
net.minecraft.util.math.AxisAlignedBB |
getBoundingBox(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
BoundingBoxType type) |
default net.minecraft.util.math.AxisAlignedBB[] |
getBoundingBoxes(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
BoundingBoxType type)
Gets the
AxisAlignedBB for this IBoundingBox. |
default net.minecraft.util.math.AxisAlignedBB[] |
getCollisionBoundingBoxes(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state) |
default net.minecraft.util.math.AxisAlignedBB[] |
getRayTraceBoundingBox(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state) |
default net.minecraft.util.math.AxisAlignedBB[] |
getRenderBoundingBox(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state) |
static net.minecraft.util.math.AxisAlignedBB |
getRenderingBounds(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos)
Gets the rendering bounds for the Block at the specified
BlockPos. |
default net.minecraft.util.math.AxisAlignedBB |
getSelectedBoundingBox(net.minecraft.block.state.IBlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos) |
net.minecraft.util.math.AxisAlignedBB getBoundingBox(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
BoundingBoxType type)
default net.minecraft.util.math.AxisAlignedBB[] getBoundingBoxes(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
BoundingBoxType type)
AxisAlignedBB for this IBoundingBox.world - the worldpos - the postype - the typedefault net.minecraft.util.math.AxisAlignedBB[] getCollisionBoundingBoxes(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state)
default void addCollisionBoxToList(net.minecraft.block.state.IBlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.AxisAlignedBB mask,
java.util.List<net.minecraft.util.math.AxisAlignedBB> list,
net.minecraft.entity.Entity collidingEntity)
default net.minecraft.util.math.AxisAlignedBB getSelectedBoundingBox(net.minecraft.block.state.IBlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos)
default net.minecraft.util.math.AxisAlignedBB[] getRenderBoundingBox(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state)
default net.minecraft.util.math.AxisAlignedBB[] getRayTraceBoundingBox(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state)
default net.minecraft.util.math.RayTraceResult collisionRayTrace(net.minecraft.block.state.IBlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.Vec3d src,
net.minecraft.util.math.Vec3d dest)
static net.minecraft.util.math.AxisAlignedBB getRenderingBounds(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos)
BlockPos.world - the worldpos - the pos