package protocolsupport.protocol.transformer.middlepacket.serverbound.play;

import net.minecraft.server.v1_9_R1.Packet;
import protocolsupport.protocol.ServerBoundPacket;
import protocolsupport.protocol.transformer.middlepacket.ServerBoundMiddlePacket;
import protocolsupport.protocol.transformer.middlepacketimpl.PacketCreator;
import protocolsupport.utils.recyclable.RecyclableCollection;
import protocolsupport.utils.recyclable.RecyclableSingletonList;

public abstract class MiddleAnimation extends ServerBoundMiddlePacket {

	@Override
	public RecyclableCollection<? extends Packet<?>> toNative() throws Exception {
		return RecyclableSingletonList.create(PacketCreator.create(ServerBoundPacket.PLAY_ANIMATION.get()).create());
	}

}

@@ -524,16 +524,42 @@
 cket %7B%0A%0A
+%09protected int usedHand;%0A%0A
 %09@Overri
@@ -561,16 +561,16 @@
 verride%0A
-
 %09public 
@@ -647,46 +647,32 @@
 %7B%0A%09%09
-return RecyclableSingletonList.create(
+PacketCreator creator = 
 Pack
@@ -727,16 +727,98 @@
 N.get())
+;%0A%09%09creator.writeVarInt(usedHand);%0A%09%09return RecyclableSingletonList.create(creator
 .create(

Fix block animation