ScriptWorld:

-Increased the accuracy of rayCastPos().
This commit is contained in:
Luis C.M committed 2023-05-31 23:59:11 -05:00
1 parent f07e76b567
commit 8c61d07b10
1 file changed
+4
@@ -87,6 +87,8 @@ public interface IEntityLivingBase<T extends EntityLivingBase> extends IEntity<T
*/
IPos getLookVector();
IBlock getLookingAtBlock(int maxDistance, boolean stopOnBlock, boolean stopOnLiquid, boolean stopOnCollision);
/**
*
* @param maxDistance The max distance to perform checks before stopping
@@ -94,6 +96,8 @@ public interface IEntityLivingBase<T extends EntityLivingBase> extends IEntity<T
*/
IBlock getLookingAtBlock(int maxDistance);
IPos getLookingAtPos(int maxDistance, boolean stopOnBlock, boolean stopOnLiquid, boolean stopOnCollision);
/**
* Returns an IPos object corresponding to the final obstructed point following along the
* entity's look vector. If no obstructions are found (entity is looking in a straight path of