mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-01-14 19:41:21 +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;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user