Interface IWorldIntersectionSupplier
- Namespace
- Vintagestory.API.MathTools
- Assembly
- VintagestoryAPI.dll
public interface IWorldIntersectionSupplier
- Extension Methods
Properties
MapSize
Vec3i MapSize { get; }
Property Value
blockAccessor
IBlockAccessor blockAccessor { get; }
Property Value
Methods
GetBlock(BlockPos)
Block GetBlock(BlockPos pos)
Parameters
pos
BlockPos
Returns
GetBlockIntersectionBoxes(BlockPos)
Cuboidf[] GetBlockIntersectionBoxes(BlockPos pos)
Parameters
pos
BlockPos
Returns
- Cuboidf[]
GetEntitiesAround(Vec3d, float, float, ActionConsumable<Entity>)
Entity[] GetEntitiesAround(Vec3d position, float horRange, float vertRange, ActionConsumable<Entity> matches = null)
Parameters
position
Vec3dhorRange
floatvertRange
floatmatches
ActionConsumable<Entity>
Returns
- Entity[]
IsValidPos(BlockPos)
bool IsValidPos(BlockPos pos)
Parameters
pos
BlockPos