mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-01-15 03:51:20 +01:00
Add getters for the current main line block.
This commit is contained in:
parent
705170f80c
commit
6e68278245
@ -393,6 +393,30 @@ public abstract class RayTracing {
|
|||||||
this.maxSteps = maxSteps;
|
this.maxSteps = maxSteps;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Current block coordinate (main line).
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
public int getBlockX() {
|
||||||
|
return blockX;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Current block coordinate (main line).
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
public int getBlockY() {
|
||||||
|
return blockY;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Current block coordinate (main line).
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
public int getBlockZ() {
|
||||||
|
return blockZ;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* One step in the loop.
|
* One step in the loop.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user