API:Sides: Difference between revisions
Appearance
Created page with "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 direction listed below: {| class="wikitable" |+ Side mapping |- ! Numerical side value !! Coordinate direction !! Minecraft direction |- | 0 || +y || Up |- | 1 || -y || Down |- | 2 || +z || South |- | 3 || -z || North |- | 4 || +x || East |- | 5 || -x || West |}" |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
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 | 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: | ||
{| class="wikitable" | {| class="wikitable" | ||
|+ Side mapping | |+ Side mapping | ||
|- | |- | ||
! Numerical side value !! Coordinate direction !! Minecraft direction | ! Numerical side value !! Coordinate direction !! Minecraft direction (looking outwards) | ||
|- | |- | ||
| 0 || | | 0 || -y || Down | ||
|- | |- | ||
| 1 || | | 1 || +y || Up | ||
|- | |- | ||
| 2 || | | 2 || -z || North | ||
|- | |- | ||
| 3 || | | 3 || +z || South | ||
|- | |- | ||
| 4 || | | 4 || -x || West | ||
|- | |- | ||
| 5 || | | 5 || +x || East | ||
|} | |} | ||
Latest 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 (looking outwards) |
|---|---|---|
| 0 | -y | Down |
| 1 | +y | Up |
| 2 | -z | North |
| 3 | +z | South |
| 4 | -x | West |
| 5 | +x | East |