@Override public void readFromClientData(ProtocolSupportPacketDataSerializer serializer) throws IOException { serializer.readVarInt(); hostname = serializer.readString(); port = serializer.readUnsignedShort(); nextState = serializer.readVarInt(); }
@Override public void readFromClientData(ProtocolSupportPacketDataSerializer serializer) throws IOException { x = serializer.readDouble(); y = serializer.readDouble(); z = serializer.readDouble(); yaw = serializer.readFloat(); pitch = serializer.readFloat(); }
@Override public void readFromClientData(ProtocolSupportPacketDataSerializer serializer) { entityId = serializer.readInt(); action = Action.values()[serializer.readByte()]; }
@Override public void readFromClientData(ProtocolSupportPacketDataSerializer serializer) throws IOException { slot = serializer.readShort(); itemstack = serializer.readItemStack(); }