package org.inventivetalent.npclib.skin;

public enum SkinLayer {

	CAPE(0),
	JACKET(1),
	LEFT_SLEEVE(2),
	RIGHT_SLEEVE(3),
	LEFT_PANTS_LEG(4),
	RIGHT_PANTS_LEG(5),
	HAT(6);

	private final int id;
	private final int shifted;

	private SkinLayer(int id) {
		this.id = id;
		this.shifted = 1 << id;
	}

	public int getID() {
		return this.id;
	}

	public int getShifted() {
		return this.shifted;
	}

}

@@ -168,16 +168,176 @@
 AT(6);%0A%0A
+%09public static final SkinLayer%5B%5D ALL = new SkinLayer%5B%5D %7B%0A%09%09%09CAPE,%0A%09%09%09JACKET,%0A%09%09%09LEFT_SLEEVE,%0A%09%09%09RIGHT_SLEEVE,%0A%09%09%09LEFT_PANTS_LEG,%0A%09%09%09RIGHT_PANTS_LEG,%0A%09%09%09HAT %7D;%0A%0A
 %09private
@@ -381,24 +381,16 @@
 fted;%0A%0A%09
-private 
 SkinLaye

add SkinLayer#ALL