API:Sides: Difference between revisions
Appearance
No edit summary |
swap all sides |
||
| Line 6: | Line 6: | ||
! Numerical side value !! Coordinate direction !! Minecraft direction | ! Numerical side value !! Coordinate direction !! Minecraft direction | ||
|- | |- | ||
| 0 || | | 0 || -y || Down | ||
|- | |- | ||
| 1 || | | 1 || +y || Up | ||
|- | |- | ||
| 2 || | | 2 || -z || North | ||
|- | |- | ||
| 3 || | | 3 || +z || South | ||
|- | |- | ||
| 4 || | | 4 || -x || West | ||
|- | |- | ||
| 5 || | | 5 || +x || East | ||
|} | |} | ||
Revision as of 23:24, 21 September 2026
Several components refer to sides in method calls via an integer. Valid values are in the range 0 to 5, where each integer maps to the following absolute directions listed below:
| Numerical side value | Coordinate direction | Minecraft direction |
|---|---|---|
| 0 | -y | Down |
| 1 | +y | Up |
| 2 | -z | North |
| 3 | +z | South |
| 4 | -x | West |
| 5 | +x | East |