001package net.minecraft.util;
002
003public class Facing
004{
005    /** Converts a face to a side. */
006    public static final int[] faceToSide = new int[] {1, 0, 3, 2, 5, 4};
007
008    /**
009     * gives the offset required for this axis to get the block at that side.
010     */
011    public static final int[] offsetsXForSide = new int[] {0, 0, 0, 0, -1, 1};
012
013    /**
014     * gives the offset required for this axis to get the block at that side.
015     */
016    public static final int[] offsetsYForSide = new int[] { -1, 1, 0, 0, 0, 0};
017
018    /**
019     * gives the offset required for this axis to get the block at that side.
020     */
021    public static final int[] offsetsZForSide = new int[] {0, 0, -1, 1, 0, 0};
022    public static final String[] facings = new String[] {"DOWN", "UP", "NORTH", "SOUTH", "WEST", "EAST"};
023}