public Floor(DataBuffer buffer)
	{
		while (true)
		{
			int attributeId = buffer.getUnsigned();
			
			if (attributeId == 0)
			{
				break;
			}
			else if (attributeId == 1)
			{
				rgbColor = buffer.getTribyte();
				rgbToHSL(rgbColor);
			}
			else if (attributeId == 2)
			{
				textureID = buffer.getUnsigned();
			}
			else if (attributeId == 3)
			{
				aBoolean227 = true;
			}
			else if (attributeId == 5)
			{
				occlude = false;
			}
			else if (attributeId == 6)
			{
				name = buffer.getString();
			}
			else if (attributeId == 7)
			{
				int oldHue2 = hue2;
				int oldSaturation = saturation;
				int oldLightness = lightness;
				int oldHue = hue;
				rgbToHSL(buffer.getTribyte());
				hue2 = oldHue2;
				saturation = oldSaturation;
				lightness = oldLightness;
				hue = oldHue;
				hueDivisor = oldHue;
			}
			else
			{
				System.out.println("Error unrecognised config code: " + attributeId);
			}
		}
	}