Class EntitySelection
- Namespace
- Vintagestory.API.Common
- Assembly
- VintagestoryAPI.dll
public class EntitySelection
- Inheritance
-
EntitySelection
- Inherited Members
- Extension Methods
Fields
Entity
The selected Entity.
public Entity Entity
Field Value
Face
the facing of the entity.
public BlockFacing Face
Field Value
HitPosition
The hit position of the entity.
public Vec3d HitPosition
Field Value
Position
The position of the selected entity.
public Vec3d Position
Field Value
SelectionBoxIndex
Which selection box was aimed at. The index corresponds to the array returned by Block.GetSelectionBoxes()
public int SelectionBoxIndex
Field Value
Methods
Clone()
public EntitySelection Clone()