NoMoreCooked | Expiration dates for foods | Fridge mechanic | Fridge Tier | ItemsAdder Support icon

NoMoreCooked | Expiration dates for foods | Fridge mechanic | Fridge Tier | ItemsAdder Support -----

Add expiration dates to foods, Convert good food into its ingredients, Become ill if you eat spoiled




Fridge Tier
You can now configure 6 fridge tiers, each fridge has its own settings
  • Inventory size : 9, 18, 27, 36, 45, 54
  • Fridge and inventory name (Color code support)
  • Fridge lore (Color code support)
  • Expiration multiplier
  • Block type (Support any block or ItemsAddercusto block)
  • Custom craft

Fridge custom block support
You're no longer limited to a chest or a white shulker box
  • Multiple fridges support any vanilla block
  • Multiple fridges support any custom block from ItemsAdder

Virtual inventory
  • Multiple fridges introduce virtual inventories for more flexibility
  • Cache system to optimize inventory processing
  • SQLite database for inventory persistence between reboots

Others

  • Added command to get fridges by tier /nmc give fridge <tier>
  • Added enable-multiple-fridges option to config.yml
  • Rewrote configuration in fridges section of config.yml
  • New configuration file in fridges/multiple-fridges.yml to configure fridge tier

Fixes
  • Lore is no longer suppressed when food is removed from the fridge
  • Some fridge expiry calculation error resolved
  • There are still some bugs with the calculated expiration of the food in fridges that I need to fix
----------, Oct 30, 2024

  • Expired food can be transformed into rotten flesh
  • Activation option for this feature added to config.yml
----------, Oct 24, 2024

  • If an item has lore, it will now be preserved. Expiration information is added at the end.
----------, Oct 23, 2024

Config automatic converter
  • Remove the deletion of the old configuration after conversion to the new one, to make sure that it doesn't delete unexpected parameters that are not taken into account by the automatic converter.
  • Ignore the configuration date-format key and value to avoid specific formatting that could interrupt or break the conversion process.
----------, Oct 19, 2024

Add Custom Stages
  • Allows you to define five different stages based on the percentage of time remaining before expiration in relation to the total time
  • Each stage has its own parameters
  • Customized lore (color-code support)
  • Saturation bonus
  • Health bonus
  • Chance of negative effects
Configuration
  • Configuration cleaned up, rearranged and separated into categories
  • Automatic conversion from old to new configuration, keeping your previous settings
Console
  • Reduced number of console messages on plugin startup
  • Added colors to console messages on plugin startup
Fixes
  • Fixed the blacklist bug, which supported only one custom model data per item type
----------, Oct 19, 2024

  • It is now possible to add items with custom model data to a blacklist to prevent them from being affected by the expiration system
  • Added configuration options in config.yml
----------, Oct 17, 2024

  • Fixes for crafts that didn't register
----------, Oct 16, 2024

Following a positive test of the hourly expiry system, this is now the default expiry system.
It offers numerous benefits in terms of inventory filling, general organization and QoL.
The old system, which operated on a per-second basis, can still be activated at the bottom of configuration, but in my opinion is obsolete.
----------, Sep 25, 2024

  • Add a reload command: /nmc reload
  • Fix fridge duplication under certain conditions
  • Sale of food with expiry date with EconomyShopGUI supported, instructions below.
Please add these lines to this section of the EconomyShopGUI config:
Code (YAML):
old-items-ignored-NBTtags :
- 'custom_data::PublicBukkitValues::nomorecooked:expiration'
- 'custom_data::PublicBukkitValues::nomorecooked:cookedtimestamp'

If you would like to be able to resell food that has expired for any reason, please also add :

Code (YAML):
- 'custom_data::PublicBukkitValues::nomorecooked:spoiled'
Thanks to @Gypopo for his update on the tags following our conversation !
----------, Sep 25, 2024

  • Removal of dev logs concerning hoppers, this is an oversight on my part.
----------, Sep 5, 2024

  • A logic error in the code reset the expiration time if it was indeed a multiple of 3600 (1h) when the hourly expiration system is activated. This has now been fixed, and custom expiry times with the hourly expiry system should work correctly.
----------, Sep 5, 2024

New Features

Expiration per hour

  • It is possible to activate expiration by hours at the very bottom of the configuration.
  • upload_2024-9-4_17-29-26.png
  • This allows foods with the same expiry time to be re-stacked.
  • This avoids unnecessarily filling inventories with food that expires within seconds or minutes.
  • Currently in the testing phase, I'm waiting for your feedback before switching it to default mode.

New missing foods added

  • Added : Bucket of milk - Pufferfish - Spider Eye - Cake - Poisonous potato - Rotten Flesh - Chorus Fruit
  • Cow milking supported
  • Cake cannot be placed if out of date
  • New lines in the configuration related to the new foods

Bug fixes
  • Hopper support, food is now subject to expiration even if it passes through a hopper
  • When food is thrown out with the “Q” key or equivalent to throw when the food is inside a furnace without a expiry date, the food once picked up has a default expiration date.
  • When rotten food is consumed as part of a stack, the stack is no longer consumed.
  • Commands support all newly added foods
  • Exception handling when EntityDeathEvent is of unknown cause
  • Support for 1.16.5 and below reinstated
  • Removed duplicate config when switching from v8 to v9
  • Inventory modification performed synchronously instead of asynchronously
----------, Sep 4, 2024

Update notes

Further to issues #12 and #13 on Github

  • Effects of expired foods work again in 1.20.4 and below
  • Expiration support for raw meats and wheat
  • Expiration support for cooked foods without expiry date is picked up (Use the expiry time setup individually without application of the multiplicator)
  • Added very primary protection against cooking expired raw meats and fish

Communication
As I'm on vacation from tomorrow, I won't be able to provide any more updates. I'm aware of some bugs, but I'll fix them when I get back in early September.

Code fixes planned for the next update
  • Issue #9 : Support for hopper when used with a furnace or other cooking method and the food is dropped by a hopper
  • Issue #9 : Better support for cooked foods dropped from a furnace or other cooking method when dropped with "Q" or other control associated with this function (Throw)
  • Better protection to prevent expired food from cooking
  • Rework of commands to support all new foods added since a few updates
----------, Aug 7, 2024

  • The chances of successful composting of expired meat can be set in the configuration
----------, Jul 19, 2024

  • Adds support for Minecraft version 1.21
  • The expiry system now applies to all foods! Including fresh foods, craftable foods and golden foods.
  • It is now possible to choose the desired expiration time for each food individually.
  • The fridge recipe is now customizable.
  • You can also choose whether the fridge is a chest or a Shulker Box.
  • Snow particles now appear around fridge, and can be set or disabled if necessary.
  • If the expiry time is set individually, you can also set a multiplier depending on the cooking mode.
  • Spoiled meats can be used in a composter.

----------, Jul 19, 2024

  • Temporary change in code to fix issue #7 error
  • Resolution of the expiry time applied to food cooked in a furnace, which was 0 when custom time was activated
----------, May 4, 2024

  • Expiration system supported when exchanging cooked food with villagers
  • New configuration options:
    • Option to activate custom GUI
    • Customized expiration time for food exchanged with villagers
  • Concerning the /nmc give fridge command:
    • Command added to /nmc help
    • Added translation of command utility
  • Code change for cooking food with Campfire
----------, Mar 27, 2024

  • Extension of the support for cooked foods obtained by entities when killed by fire as a general rule
  • Added the possibility of defining different expiration times depending on the cooking method
  • New options related to different expiration times in config.yml
  • Added "/nmc give fridge" command to obtain a fridge instantly
----------, Mar 21, 2024

  • ItemsAdder Support : First integration, please report any bugs on Github
  • When an entity is killed with the Fire Aspect enchantment, the cooked food dropped will be affected by the expiration system
  • New configuration options in config.yml for ItemsAdder
----------, Mar 20, 2024

  • Resolved first-run error concerning incorrect structure of fridges.json when first created
  • Resolved bug concerning lore and expiration system not working after cooking or crafting a supported food item
----------, Mar 18, 2024

  • Add a Fridge: Extending food shelf life
  • Fridge specific Craft added (See description page)
  • New fridge configuration options added
  • Lore updated instantly : When moved in or out of the fridge
  • System for storing only food inside the fridge
----------, Mar 16, 2024

  • The bug that meant that all foods could no longer be eaten unless rotten has been fixed.
  • Removal of popped chorus fruit from expiration system, was not supposed to be added in 0.0.6, my mistake.
----------, Jan 26, 2024

  • Removed the ability to make the original ingredient of a prepared food when it is rotten. This spoiled the whole point of the plugin and the problem is now fixed.
----------, Jan 25, 2024

  • Support for bread, baked potato, dried kelp and popped chorus fruit in the expiry system.
  • Newly-supported foods can therefore be reprocessed upside down in a crafting table to prevent rotting and recover the ingredients.
  • Rotten food is no longer nourishing (so you no longer benefit from the satiety effect).
----------, Jan 25, 2024

Resource Information
Author:
----------
Total Downloads: 1,447
First Release: Jan 19, 2024
Last Update: Oct 30, 2024
Category: ---------------
All-Time Rating:
10 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings