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