    001    package net.minecraft.util;
    002
    003    public enum EnumFacing
    004    {
    005        DOWN(0, 1, 0, -1, 0),
    006        UP(1, 0, 0, 1, 0),
    007        NORTH(2, 3, 0, 0, -1),
    008        SOUTH(3, 2, 0, 0, 1),
    009        EAST(4, 5, -1, 0, 0),
    010        WEST(5, 4, 1, 0, 0);
    011        private final int field_82603_g;
    012        private final int field_82613_h;
    013        private final int field_82614_i;
    014        private final int field_82611_j;
    015        private final int field_82612_k;
    016        private static final EnumFacing[] field_82609_l = new EnumFacing[6];
    017
    018        private EnumFacing(int par3, int par4, int par5, int par6, int par7)
    019        {
    020            this.field_82603_g = par3;
    021            this.field_82613_h = par4;
    022            this.field_82614_i = par5;
    023            this.field_82611_j = par6;
    024            this.field_82612_k = par7;
    025        }
    026
    027        public int func_82601_c()
    028        {
    029            return this.field_82614_i;
    030        }
    031
    032        public int func_82599_e()
    033        {
    034            return this.field_82612_k;
    035        }
    036
    037        public static EnumFacing func_82600_a(int par0)
    038        {
    039            return field_82609_l[par0 % field_82609_l.length];
    040        }
    041
    042        static {
    043            EnumFacing[] var0 = values();
    044            int var1 = var0.length;
    045
    046            for (int var2 = 0; var2 < var1; ++var2)
    047            {
    048                EnumFacing var3 = var0[var2];
    049                field_82609_l[var3.field_82603_g] = var3;
    050            }
    051        }
    052    }