package protocolsupport.protocol.packet.middleimpl.serverbound.play.v_9r1_9r2_10_11_12r1_12r2_13_14r1_14r2_15_16r1_16r2;

import io.netty.buffer. ByteBuf;
import protocolsupport.protocol.packet.middle.serverbound.play. MiddleBlockPlace;
import protocolsupport.protocol.serializer. MiscSerializer;
import protocolsupport.protocol.types. UsedHand;

public class UseItem extends MiddleBlockPlace {

	public UseItem(MiddlePacketInit init) {
		super(init);
	}

	@Override
	protected void readClientData(ByteBuf clientdata) {
		hand = MiscSerializer.readVarIntEnum(clientdata, UsedHand. CONSTANT_LOOKUP);
		face = -1;
	}

}
