public static byte getPrecedence(byte t) {
		switch (t) {
			case WATER:
				return WATER_PRECEDENCE;
			case GRASS:
				return GRASS_PRECEDENCE;
			case SNOW:
				return SNOW_PRECEDENCE;
			case SAVANNAH:
				return SAVANNAH_PRECEDENCE;
			case SAND_DESERT:
				return SAND_DESERT_PRECEDENCE;
			default:
				return (byte) 0;
		}
	}