public void write(PacketByteBuf out) throws IOException { out.writeInt(this.a); out.writeInt(this.b); out.writeBoolean(this.d); out.writeShort((short) (this.c.b & '\uffff')); out.writeByteArray(this.c.a); }