public static byte[] hitCoconut(boolean spawn, int id, int type) {
        MaplePacketLittleEndianWriter mplew = new MaplePacketLittleEndianWriter();

        mplew.writeShort(SendPacketOpcode.HIT_COCONUT.getValue());
        mplew.writeInt(spawn ? 32768 : id);
        mplew.write(spawn ? 0 : type);

        return mplew.getPacket();
    }