src/main/java/brokenlib/common/notification/Notification.java
/**
     * Saves the notification in order to be able to retrieve the exact same instance when calling
     * {@link Notification#fromSave(NBTTagCompound)}.
     * @return the serialized notification to save on the disk
     */
Saves the notification in order to be able to retrieve the exact same instance when calling
Notification#fromSave(NBTTagCompound).
@return the serialized notification to save on the disk
Saves the notification in order to be able to retrieve the exact same instance when calling Notification#fromSave ( NBTTagCompound ) . @return the serialized notification to save on the disk
NBTTagCompound toSave() {
        NBTTagCompound nbt = new NBTTagCompound();
        this.parameters.forEach(param -> param.writeToNBT(nbt));
        return nbt;
    }
NBTTagCompound toSave ( ) { NBTTagCompound nbt = new NBTTagCompound ( ) ; this . parameters . forEach ( param -> param . writeToNBT ( nbt ) ) ; return nbt ; }
Saves the notification in order to be able to retrieve the exact same instance when calling
 {@link Notification#fromSave(NBTTagCompound)}.
Saves the notification in order to be able to retrieve the exact same instance when calling { @link Notification#fromSave ( NBTTagCompound ) } .