Jump to content

API:Sides: Difference between revisions

From Advanced Computers Wiki
swap all sides
No edit summary
 
Line 4: Line 4:
|+ Side mapping
|+ Side mapping
|-
|-
! Numerical side value !! Coordinate direction !! Minecraft direction
! Numerical side value !! Coordinate direction !! Minecraft direction (looking outwards)
|-
|-
| 0 || -y || Down
| 0 || -y || Down

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:

Side mapping
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