package protocolsupport.protocol.typeskipper.id;

import protocolsupport.utils.ProtocolVersionsHelper;

public class IdSkipper {

	public static final SkippingRegistry ENCHANT = new SkippingRegistry() {
		{
			//depth strider
			registerSkipEntry(8, ProtocolVersionsHelper.BEFORE_1_8);
			//lure
			registerSkipEntry(62, ProtocolVersionsHelper.BEFORE_1_7);
			//luck of the sea
			registerSkipEntry(61, ProtocolVersionsHelper.BEFORE_1_7);
		}
		@Override
		protected SkippingTable createTable() {
			return new SkippingTable(256);
		}
	};

	public static final SkippingRegistry EFFECT = new SkippingRegistry() {
		{
			//health boost
			registerSkipEntry(21, ProtocolVersionsHelper.BEFORE_1_6);
			//absorbtion
			registerSkipEntry(22, ProtocolVersionsHelper.BEFORE_1_6);
			//saturation
			registerSkipEntry(23, ProtocolVersionsHelper.BEFORE_1_6);
		}
		@Override
		protected SkippingTable createTable() {
			return new SkippingTable(32);
		}
	};

	public static final SkippingRegistry INVENTORY = new SkippingRegistry() {
		{
			registerSkipEntry(11, ProtocolVersionsHelper.BEFORE_1_6);
			registerSkipEntry(9, ProtocolVersionsHelper.BEFORE_1_5);
			registerSkipEntry(10, ProtocolVersionsHelper.BEFORE_1_5);
		}
		@Override
		protected SkippingTable createTable() {
			return new SkippingTable(16);
		}
	};

}

@@ -196,24 +196,172 @@
 try() %7B%0A%09%09%7B%0A
+%09%09%09//frost walker, mending%0A%09%09%09registerSkipEntry(9, ProtocolVersionsHelper.BEFORE_1_9);%0A%09%09%09registerSkipEntry(70, ProtocolVersionsHelper.BEFORE_1_9);%0A
 %09%09%09//depth s
@@ -436,16 +436,33 @@
 %09%09//lure
+, luck of the sea
 %0A%09%09%09regi
@@ -519,29 +519,8 @@
 7);%0A
-%09%09%09//luck of the sea%0A
 %09%09%09r
@@ -762,44 +762,248 @@
 %09%09//
-health boost%0A%09%09%09registerSkipEntry(21
+glowing, levitation, luck, unluck%0A%09%09%09registerSkipEntry(24, ProtocolVersionsHelper.BEFORE_1_9);%0A%09%09%09registerSkipEntry(25, ProtocolVersionsHelper.BEFORE_1_9);%0A%09%09%09registerSkipEntry(26, ProtocolVersionsHelper.BEFORE_1_9);%0A%09%09%09registerSkipEntry(27
 , Pr
@@ -1032,25 +1032,25 @@
 EFORE_1_
-6
+9
 );%0A%09%09%09//
 absorbti
@@ -1045,14 +1045,40 @@
 %09%09//
-absorb
+health boost, absorbtion, satura
 tion
@@ -1100,17 +1100,17 @@
 pEntry(2
-2
+1
 , Protoc
@@ -1146,20 +1146,65 @@
 %0A%09%09%09
-//saturation
+registerSkipEntry(22, ProtocolVersionsHelper.BEFORE_1_6);
 %0A%09%09%09

Add new enchantments and effects to skipping table