Code Monkey home page Code Monkey logo

spoiled's Introduction

build

Spoiled

About

Spoiling the end of your food supply since 2020.

License

  • Spoiled is licensed under the MIT License
    • (c) 2020 Mrbysco, ShyNieke
    • License

Downloads

Downloads can be found on CurseForge

spoiled's People

Contributors

championash5357 avatar mrbysco avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

spoiled's Issues

Spoilage not working

General Info

  • [x ] I am running a modpack
  • [x ] I can reproduce this issue consistently
    • In single player
    • [x ] In multiplayer
  • [x ] I have searched for this issue previously and it was either (1) not previously reported, or (2) previously fixed and I'm having the same problem.
  • I am crashing and can provide my crash report(s)
  • [x ] I am using the latest version of the mod

Client Info

  • Minecraft Version:1.16.5

  • Forge Version: 36.0.37

  • Mod Version: 1.3

  • Java Version: build 1.8.0_281-b09

Issue Description

Spoilage does not work, I've enabled percentages but no matter how long I wait food never begins to spoil.

Reproduce Steps

Additional Information

[Suggestion]: Thank you and possible downgrade to 1.19.4

General Info

  • I would like to propose new content
  • I would like to propose changes
  • I would like to propose another thing

Suggestion Description

Hey, i wanted to thank you for this mod as it encourages the player on my server to actually engage in farming! thank you! :)
Also i wanted to ask if you could port this mod back to 1.19.4 since i am planning to downgrade to this version and would love to still be able to use this mod! :)

[Bug] Soon after entering the game map, it crashes. (Locks)

General Info

  • [o] I am running a modpack
  • [o] I can reproduce this issue consistently
    • [o] In single player
    • [o] In multiplayer
  • [o
    crash-2021-05-26_17.40.34-server.txt
    ] I have searched for this issue previously and it was either (1) not previously reported, or (2) previously fixed and I'm having the same problem.
  • [o] I am crashing and can provide my crash report(s)
  • [o] I am using the latest version of the mod

Client Info

  • Minecraft Version: 1.16.5

  • Forge Version: 1.16.5-forge-36.1.23

  • Mod Version: 1.16.5

  • Java Version: java 8 291

Issue Description

Crash occurs shortly after entering the game map

Reproduce Steps

After applying the same mod as me, just enter the game map.

https://pastebin.com/37tnxNZ6 https://pastebin.com/37tnxNZ6 https://pastebin.com/37tnxNZ6

Additional Information

[Suggestion]: Allow Items to Be Given Unique Settings for What They Rot Into

General Info

  • I would like to propose new content
  • I would like to propose changes
  • I would like to propose another thing

Suggestion Description

Hey it's ya boi, Darktoasto,

Can you look into allowing a config setting so I can have specified food items rot into another item rather than 1 config option? Is it better to set it as a custom spoiling recipe and tweakable in a datapack?

Sincerely,
Ya boi, darksosto

[Bug]: character length limit

General Info

  • I am running a modpack
  • I can reproduce this issue consistently in single-player
  • I can reproduce this issue consistently in multi-player
  • I have searched for this issue previously and it was either (1) not previously reported, or (2) previously fixed and I am having the same problem.
  • I am crashing and can provide my crash report(s)
  • I am using the latest version of the mod

Forge version

47.1.28

Minecraft version

1.20.1

Mod version

2.0.0

Java version

Java 17.0.7

Issue Description

The container id setting seems to have a length limit.
java_j9CD89h6JC

Additional Information

No response

[bug] containerModifier in common config doesn't work

General Info

  • [ x ] I am running a modpack
  • [ x ] I can reproduce this issue consistently
    • [ x ] In single player
    • In multiplayer
  • [ x ] I have searched for this issue previously and it was either (1) not previously reported, or (2) previously fixed and I'm having the same problem.
  • I am crashing and can provide my crash report(s)
  • [ x ] I am using the latest version of the mod

Client Info

  • Minecraft Version: 1.16.5

  • Forge Version: 36.0.42

  • Mod Version: 1.3.4

  • Java Version: 1.8.0_281-b09

Issue Description

The custom spoil rates set by the containerModifier in the common config doesn't seem to work. After setting some containers to not spoil/spoil slower nothing happened after reload/restart. I've tested with Farmers Delight pantries, Iron Chests and Vanilla Barrels and adding those to the list following the example formating didn't work. Removing Shulker boxes from the list made food spoil in shulker boxes (although I haven't tested if spoiling worked/didn't work while it was still on the list).

On a slightly different note, food doesn't spoil in shulker boxes while the box is in an inventory, food also doesn't spoil in inventories like backpacks (I've only tested with backpacks from MrCrayfish's Backpacked and Backpacker but I would assume this goes for basically all backpack mods) I realise this could be hard to fix but does unfortunetly make cheesing the hell out of the mod very easy as soon as you start exploring the end or a lot sooner depending on the mod list.

(also food doesn't spoil in containers without a GUI, for example storage drawers, this doesn't really have a meaningful impact on gameplay. It's a very clunky way to store food since food of different spoilage doesn't go into the same drawer, just thought it was worth noting)

Reproduce Steps

Add (for example) "minecraft:barrel,0" to the containerModifier list, launch the game, insert food, watch it still spoil.

Additional Information

Config:
https://pastebin.com/PNP4HDHN

Modlist:
https://pastebin.com/V9ewmXwe

Hope I've not cause too much of a headache with all these requests. I've been playtesting a WIP modpack these last couple of days and this mod is one of the corner pieces. I really appreciate all the work you've done, thanks!

[Question]: How can I add a food spoilage recipe with an nbt tag?

General Info

  • I would like to propose new content
  • I would like to propose changes
  • I would like to propose another thing

Suggestion Description

I'm trying to add a recipe for spoiling salted food from The Salt mod and can't figure out how to do it. I've tried doing it this way, but it doesn't work: spoilManager.addSpoiling("1_day_meat_salt", <item:minecraft:cooked_mutton>.withTag({Salted: 1}), <item:minecraft:rotten_flesh>, 8);

It looks like the mod basically can't add recipes for any items with nbt tags, although if the mod adds its tag first, you can add tags after that and everything will work.

defaultSpoilItem in serverconfig doesn't work

General Info

  • [ x ] I am running a modpack
  • [ x ] I can reproduce this issue consistently
    • [ x ] In single player
    • In multiplayer
  • [ x ] I have searched for this issue previously and it was either (1) not previously reported, or (2) previously fixed and I'm having the same problem.
  • I am crashing and can provide my crash report(s)
  • [ x ] I am using the latest version of the mod

Client Info

  • Minecraft Version: 1.16.5

  • Forge Version: 36.0.42

  • Mod Version: 1.3.3

  • Java Version: 1.8.0_281-b09

Issue Description

The "defaultSpoilItem" config option in serverconfig doesn't work

Reproduce Steps

Start a new world, change defaultSpoilItem in the serverconfig (tested with "crockpot:wet_goop" and "minecraft:dirt") restart game, put vanilla food item in inventory (tested with vanilla carrots and bread), wait for it to spoil. It will always spoil into rotten flesh, instead of specified item.

Additional Information

Server config for spoil:
https://pastebin.com/7FsPvJ9G

[Suggestion]: Auto merge spoiling food

General Info

  • I would like to propose new content
  • I would like to propose changes
  • I would like to propose another thing

Suggestion Description

Now there is a manual merging function, but it is not very convenient for automatic farms. Could you add an automatic merging function so that the chest will not be filled.
java_qVRYIgO5Q4

A little more inventory friendly idea

SUGGESTIONS

  • I would like to propose new content.
  • I would like to propose changes.
  • I would like to propose another thing.

SUGGESTION INFORMATION

Started playing around with your mod today. Really has a lot of potential. One idea I had, though, was to find a way to make food a little more stackable. I killed 3 sheep in a span of 30 seconds, and ended up with 3 stacks of mutton 1-2 each. they were not stackable, even though 2 of them had the same % spoiled.

Is it possible to 'adjust' the spoil rate, where it would only tick say, every 5%? and anything within the same 5% spoilage rate would then be stackable?

Just a thought. I really like what you have, outside of that.

[Suggestion]: Define spoilage rate by container type

General Info

  • I would like to propose new content
  • I would like to propose changes
  • I would like to propose another thing

Suggestion Description

In addition to different containers having different spoilage rates, make it possible to optionally adjust the spoilage rate by item by container. Using my dried fruit example, when you put the fruit in the drying rack, its decay rate increases rather than decreases. However, this won't apply to other items placed on the drying rack. Only the default drying rack modifier would apply to those without specified rates for that container.

[Bug]:

General Info

  • I am running a modpack
  • I can reproduce this issue consistently in single-player
  • I can reproduce this issue consistently in multi-player
  • I have searched for this issue previously and it was either (1) not previously reported, or (2) previously fixed and I am having the same problem.
  • I am crashing and can provide my crash report(s)
  • I am using the latest version of the mod

Forge version

40.1.52

Mod version

1.18.2-1.5.6

Java version

Java 8 Update 341

Issue Description

Changing the default spoil item doesn't work at all and having it empty instantly removes the item no matter what the spoil time and rate are set to

Additional Information

No response

Spoiled Description showing "s" instead of stale/fresh/something else

General Info

  • I am running a modpack
  • I can reproduce this issue consistently
    • In single player
    • In multiplayer
  • [1] I have searched for this issue previously and it was either (1) not previously reported, or (2) previously fixed and I'm having the same problem.
  • I am crashing and can provide my crash report(s)
  • I am using the latest version of the mod

Client Info

  • Minecraft Version: 1.16.5

  • Forge Version: 36.2.0

  • Mod Version: Spoiled-1.16.5-1.4.2.1

  • Java Version: build 1.8.0_301-b09

Issue Description

Spoiled description for the second stage shows only "s". In between Fresh and Stale.

Reproduce Steps

  1. Awaits the food to spoil from Fresh.

Additional Information

Spoiled food item for the composter (inspired by Food Funk mod)

SUGGESTIONS

  • I would like to propose new content.
  • I would like to propose changes.
  • I would like to propose another thing.

SUGGESTION INFORMATION

I have a fairly simple idea that involves adding one item to which food items transform by default when the spoiling process hits 100% - Rotten/Spoiled food. The texture is irrelevant and it could only be used to add to the composter

Food still doesn't spoil in a lot of modded containers

General Info

  • [ x ] I am running a modpack
  • [ x ] I can reproduce this issue consistently
    • [ x ] In single player
    • In multiplayer
  • [ x ] I have searched for this issue previously and it was either (1) not previously reported, or (2) previously fixed and I'm having the same problem.
  • I am crashing and can provide my crash report(s)
  • [ x ] I am using the latest version of the mod

Client Info

  • Minecraft Version: 1.16.5

  • Forge Version: 36.0.42

  • Mod Version: 1.3.3

  • Java Version: 1.8.0_281-b09

Issue Description

Spoiling doesn't work in a lot of (non-chest) containers, including Farmer's Delight Pantries, Builders Crafts & Additions counters, cabinets and bedside tables, Essentails Slotted Chest and Vanilla Barrels. All chest I've tested work, including chests from Quark, Iron Chests, and Terra Incognita. Adjustable Crates from Create also work (which is the only non-chest container with a GUI that works).

Reproduce Steps

Put food in a non-chestlike container and watch it not spoil

Additional Information

Modlist:
https://pastebin.com/VK25Qn2n

[Bug]: Crash with Mana and Artifice runic Inscription table when Spoiled is installed

General Info

  • I am running a modpack
  • I can reproduce this issue consistently in single-player
  • I can reproduce this issue consistently in multi-player
  • I have searched for this issue previously and it was either (1) not previously reported, or (2) previously fixed and I am having the same problem.
  • I am crashing and can provide my crash report(s)
  • I am using the latest version of the mod

Forge version

36.2.0

Mod version

1.4.2.1

Java version

1.8.0_291

Issue Description

Crash to Desktop occurs whenever a Runic Inscription table from Mana and Artifice is loaded while the Spoiled mod is also installed. Narrowed down to only an incompatibility issue between these two as no other mods in my pack conflict reproduce the issue. Not sure if its due to Spoiled or Man & Artifice, also reporting issue with them.

Additional Information

https://pastebin.com/pf97yrez

modded container's spoil rate wont change

  • I am running a modpack
  • I can reproduce this issue consistently
    • In single player
    • In multiplayer
  • I have searched for this issue previously and it was either (1) not previously reported, or (2) previously fixed and I'm having the same problem.
  • I am crashing and can provide my crash report(s)
  • I am using the latest version of the mod

Client Info

  • Minecraft Version:1.16.5
  • Forge Version: 1.16.5-36.1.51
  • Mod Version: 1.4.0
  • Java Version: build 1.8.0_291-b10

Issue Description

after being able to add the mod containers to the config, i found that the spoiled time in a configured container and a normal oak chest is the same even though i set the spoiled time as 0.1 which should be 200mins meaning 2 mins for 1% of spoil rate but the rate is same as in the oak chest.

Reproduce Steps

i have cfm downloaded and edited the spoiled-common.toml
containerModifier = ["minecraft:shulker_box,0", "cfm:fridge_light,0.1", "cfm:fridge_dark,0.1", "sophisticatedbackpacks:backpack,0.35", "sophisticatedbackpacks:iron_backpack,0.3", "sophisticatedbackpacks:gold_backpack,0.25", "sophisticatedbackpacks:diamond_backpack,0.2", "sophisticatedbackpacks:netherite_backpack,0.15", "immersiveengineering:toolbox,0.5", "industrialforegoing:infinity_backpack,0"]

[Bug]: Items don't spoil in Applied Energistics 2 ME networks.

General Info

  • I am running a modpack
  • I can reproduce this issue consistently in single-player
  • I can reproduce this issue consistently in multi-player
  • I have searched for this issue previously and it was either (1) not previously reported, or (2) previously fixed and I am having the same problem.
  • I am crashing and can provide my crash report(s)
  • I am using the latest version of the mod

Forge version

40.2.0

Mod version

1.5.8

Java version

18

Issue Description

Items don't spoil in Applied Energistics 2 ME networks.

Additional Information

No response

[Suggestion]: Change effectiveness of food as it spoils

General Info

  • I would like to propose new content
  • I would like to propose changes
  • I would like to propose another thing

Suggestion Description

As food decays, have it be less nourishing, and provide less hunger. Further, if it has any attributes on it (Nourishing, for instance) the duration of these effects degrade. So a 50% decayed food that gives 8 minutes of nourishment would, instead, give a 4m nourishing.

[Suggestions] Ability to config the tooltip message/color/percentage

SUGGESTIONS

  • I would like to propose new content.
  • I would like to propose changes.
  • I would like to propose another thing.

SUGGESTION INFORMATION

If it is possible, I would really like to suggest the ability to change the tool tip for "Fresh/Stale" and their corrresponding color, it makes more variety and allows modpack developers to add more different types of spoil type.
(E.g "Fresh,0.1,0.3,orange" means Fresh shows up when the spoil percent is only 10~30, and orange color for the text)

Aside from that, the default expiry date for the food can be shown too on the tooltips, letting player know this food estimate last for how long once created/made.

[Bug]: food spoils in containers added in the container modifier with a value of 0

General Info

  • I am running a modpack
  • I can reproduce this issue consistently in single-player
  • I can reproduce this issue consistently in multi-player
  • I have searched for this issue previously and it was either (1) not previously reported, or (2) previously fixed and I am having the same problem.
  • I am crashing and can provide my crash report(s)
  • I am using the latest version of the mod

Loader version

fabric 0.15.11

Minecraft version

1,20,1

Mod version

2.0.4

Java version

java 8 update 381

Issue Description

i am using this mod with paladin's furniture mod (and a bunch of others) but pfm adds fridges, so i added the fridges to the container modifier alongside the shulker box with the same syntax, i am running on a server i host myself, both the client and server config are the exact same (copy pasted). however i also blacklisted a bunch of items from croptopia to prevent them from spoiling, and that seems to work fine, so i'm not sure why the food keeps spoiling in the fridges.
foodinfridge
Config

Additional Information

No response

[Bug]: Item frames halt the spoiling progress.

General Info

  • I am running a modpack
  • I can reproduce this issue consistently in single-player
  • I can reproduce this issue consistently in multi-player
  • I have searched for this issue previously and it was either (1) not previously reported, or (2) previously fixed and I am having the same problem.
  • I am crashing and can provide my crash report(s)
  • I am using the latest version of the mod

Forge version

40.1.87

Mod version

1.5.7

Java version

1.18.2

Issue Description

Item frames halt the spoiling progress.

Additional Information

No response

Items not stacking

General Info

  • I am running a modpack
  • I can reproduce this issue consistently
    • In single player
    • In multiplayer
  • I have searched for this issue previously and it was either (1) not previously reported, or (2) previously fixed and I'm having the same problem.
  • I am crashing and can provide my crash report(s)
  • I am using the latest version of the mod

Client Info

  • Minecraft Version: 1.16.5

  • Forge Version: 36.1.32 & 36.2.0

  • Mod Version: 1.4.2

  • Java Version: Version 8 update 291 (build 1.8.0_291-b10)

When I have this mod loaded, I experience a bug that causes identical items not to stack together. For instance, if I have 30 dirt in my inventory, and I gathered some more, it would start it's own stack. If I try to combine the two stacks, they simply swap places (like they would if they were stacks of different blocks). This happens with every kind of stackable item I've tested so far, vanilla and modded.

Reproduce Steps

Since I seem to be the only person having this problem, I'd assume it's a conflict with one of the many other mods I have loaded, so running those particular mods would probably number one. Here's my modlist.
I have trouble reproducing this in survival mode (it happens but only sometimes, I'm not sure what causes it) I can 100% reproduce it in creative by doing the following:
-give yourself some blocks (not a full stack)
-place some of those blocks in the world
-enter survival mode
-harvest the blocks in survival mode

They should go into your inventory but form a separate stack.

Additional Information

Video

Ability to change rot time

I cant find any way to change how long it takes for food to spoil. I'd like to extend it to a few days rather than just one

[Suggestion]: Spoilage Output By Container

General Info

  • I would like to propose new content
  • I would like to propose changes
  • I would like to propose another thing

Suggestion Description

I want to be able to define the output I get when an item spoils based on the container it's in. Ths allows a much broader application of the process you've introduced. For instance, if I put fruit in a drying rack, I would like for it to turn into dried fruit, not spoil. If it's in a chest, or my inventory, it will spoil.

[Bug]: Removing spoilage not working

General Info

  • I am running a modpack
  • I can reproduce this issue consistently in single-player
  • I can reproduce this issue consistently in multi-player
  • I have searched for this issue previously and it was either (1) not previously reported, or (2) previously fixed and I am having the same problem.
  • I am crashing and can provide my crash report(s)
  • I am using the latest version of the mod

Forge version

36.2.20

Mod version

1.16.5 - 1.4.3

Java version

Java 11

Issue Description

Hi mod creator, I am unable to remove an item from spoilage using the syntax provided in the wiki. I have tried the following:

spoiling.removeRecipeByInput(item:minecraft:spider_eye input);
spoiling.removeRecipeByInput(item:minecraft:spider_eye);
spoiling.removeByName(minecraft:spider_eye);
...

It always return "Parser Exception" when the scripts are reloaded.

Additional Information

No response

[Suggestion]: "Spoilage" identifier change per container

General Info

  • I would like to propose new content
  • I would like to propose changes
  • I would like to propose another thing

Suggestion Description

Again, using the dried fruit example given earlier. When my fresh fruit is placed in a drying rack, its "Spoilage: X%" changes to "Drying: X%" to indicate the process it's undergoing. Make this configurable per food item (or category if we can specify fruit vs other.)

[Bug]: Food isn't spoiling in most cases

General Info

  • I am running a modpack
  • I can reproduce this issue consistently in single-player
  • I can reproduce this issue consistently in multi-player
  • I have searched for this issue previously and it was either (1) not previously reported, or (2) previously fixed and I am having the same problem.
  • I am crashing and can provide my crash report(s)
  • I am using the latest version of the mod

Forge version

40.1.19 also 40.1.25, 30, 31

Mod version

1.5.4.3

Java version

First Java 8 update 321 then updated to 333

Issue Description

What i do:

  1. On a fresh install of forge I install Spoiled and create a new singleplayer world
  2. Give myself a chest and two apples (anything will work) in creative mode
  3. Switch to survival mode put down the chest down an place 1 apple inside, the other remains in may hand
  4. Both start to spoil normally, showing fresh (or precentage if I turn that on) everything is fine!
  5. Switch back to creative fly a few hundred blocks away
  6. Repeat the same thing and suddenly the apple in the chest doesn't spoil anymore but the one in my hand does, i waited an hour doing other things away from my pc and it still didn't spoil while the one in my hand turned into rotten flesh.
    Tried to move it, replace it, create a new chest next to it and a whole bunch of things but nothing changed.
  7. I flew back to spawn repeated the process within 50-100 blocks of the first chest and it worked, so it feels like its not time but distance, maybe chunk based but its such a chore to test, and i've already been testing it for a few days since originally the problem arised in a big modpack and I was binary searching what could it be and I just realised that it was the mod itself or I don't know.. I just don't understand this bug at all.
    Also, I can replicate this over and over creating new worlds, it's always the same. I have no way to test this in multiplayer however as I'm not experienced in that.

Additional Information

No response

[Crash]: Exception in server tick loop

General Info

  • I am running a modpack
  • I can reproduce this issue consistently in single-player
  • I can reproduce this issue consistently in multi-player
  • I have searched for this issue previously and it was either (1) not previously reported, or (2) previously fixed and I am having the same problem.
  • I am crashing and can provide my crash report(s)
  • I am using the latest version of the mod

Forge version

36.2.39

Mod version

1.5.0

Java version

Java 11

Issue Description

I am running Minecraft 1.16.5 with the latest Spoiled version available for it (would love the food combining feature too though!)

With Spoiled and Macaw's Furniture installed, I can replicate a crash when placing and removing any of the storage blocks that Macaw adds. This doesn't happen immediately, but seems to corelate when Spoiled ticks their furniture for the first time (and after it was destroyed).

My config's spoilrate was set to 30.

It seems to happen with most furniture from his furniture mod. I was able to have it happen with the Double Drawer as well as the Bookshelves. I assume there are more, but it's a lot of crashing to go through ^^

I have attached the crash log. Please note, removing Spoiled from the mod list fixes this issue (But I would hate to miss out on it-). I also have the entire log, if that is of any help, though it doesn't show much more than the crash log itself.

Additional Information

Crash Log

[Bug]: Config resets after restart

General Info

  • I am running a modpack
  • I can reproduce this issue consistently in single-player
  • I can reproduce this issue consistently in multi-player
  • I have searched for this issue previously and it was either (1) not previously reported, or (2) previously fixed and I am having the same problem.
  • I am crashing and can provide my crash report(s)
  • I am using the latest version of the mod

Forge version

Fabric Loader 0.14.21, Fabric API tested on v0.85 and 0.86

Minecraft version

1.20.1

Mod version

Spoiled-fabric-1.20.1-2.0.0

Java version

graalvm-ee-java17-22.3.1

Issue Description

When editing the config ingame via ModMenu the changes are set to default after restarting minecraft. When editing the config file directly the first startup if fine, then after a restart the config resets.

I use a fair bit of mods so I'll have to test a bit more on a separated instance, but since there are no config related mods involved I think it's most likely a bug in Spoiled.

I only add the fridge of cookingforblockheads and edit the spoil timers (via file since the sliders ingame are bugged, maybe just a missing max Int)

Spoiled sliders

Additional Information

No response

[Suggestion]: Some suggestions

General Info

  • I would like to propose new content
  • I would like to propose changes
  • I would like to propose another thing

Suggestion Description

Hi, Mrbysco

I like a lot this mod and I want to suggest some features:

  1. Making drinks spoilable. Making this mod effective on thirst mod like Tough As Nails.

  2. Food have specialized rotten variants.
    Example:
    Any type of flesh will became rotten flesh.
    Potatoes will became a poisonous potatoes.
    Potions or drinks will became normal water (or if it is possible, making it became dirty water if using this mod with the mod Tough As Nails).
    If a food is from a mod it will spoil in rotten flesh (configurable in config saying X item will became Y)

  3. Add some some more rotten variants to improve the suggestion number 2.
    Example:
    Rotten bread (take longer to be eat + give hunger effect)
    Rotten soup/stew (give hunger effect)
    Rotten fruit (give hunger effect)
    Rotten cake (give hunger effect)
    Rotten fish (give poison effect)

  4. Adding a item called Can to make canned food by simply putting the can with the item (food or drink) you want to can in a crafting table, after, when the item is canned it won't spoil. The canned mark can be like this:
    image
    Canned mark in the picture is a gray colored lore made with cheats (It's not a mod) and the "light meal" with the hunger symbol is by quark mod

Also I like this mod a lot.

whats is the format of adding new container?

in the common config, i saw that [Syntax: tileentity:spoil_rate] is the format, and it gave an example of "minecraft:shulker_box,0"
however i kept getting errors when adding an item, whats the syntax?

i want to add MrCRAYFISH's furniture fridge, i tried ["MrCrayfish's_Furniture:fridge_(light),0.1"] and ["cfm:fridge_(light),0.1"] but both failed. so how do you add new items or items from other mods?
crash-2021-07-20_18.00.43-client.txt

[Suggestions] Food stacking

SUGGESTIONS

  • I would like to propose new content.
  • I would like to propose changes.
  • I would like to propose another thing.

SUGGESTION INFORMATION

Because individual foods have their own spoil rate, this causes multiple repeating foods with different spoil rate flooding the inventory.
It would be good if there is a config that allows for toggling food with different spoil rate stacks together, but the spoil rate takes the (item1) + (item2) = (item3)'s spoil rate. An example would be (stale + fresh) = (edible), (fresh + fresh) = (fresh), (stale + stale) = (Stale but slightly higher), basically adding the percentage together.

Similar concept can be found through Don't Starve Together.

A few bugs and suggested fix

  1. Food doesn't spoil in vanilla barrels
  2. Food doesn't spoil in most mod containers I tested
  3. Food doesn't spoil in containers that are in item form (shulker box - like containers)
  4. Food seems to animate weirdly when held in hand, as if player is switching between different items

My impression is that this is all due to the way the spoiling works by ticking through containers. Maybe one way to fix that (and to increase performance) would to change to a system where items store the value of getTotalWorldTime() when they were created, and are only checked for spoilage when needed (when moving them or opening a container for example), based on the difference between that stored value and the current getTotalWorldTime()

[Bug]: Spoiling food unable merge

General Info

  • I am running a modpack
  • I can reproduce this issue consistently in single-player
  • I can reproduce this issue consistently in multi-player
  • I have searched for this issue previously and it was either (1) not previously reported, or (2) previously fixed and I am having the same problem.
  • I am crashing and can provide my crash report(s)
  • I am using the latest version of the mod

Forge version

40.1.84

Mod version

Spoiled-1.18.2-1.5.7

Java version

jkd-17.0.4.1

Issue Description

I have enabled merge in spoiled, but it is not possible to merge spoiling food in fact
#When enabled enables a special recipe to merge spoiling food together [default: false]
mergeSpoilingFood = true
I hope you can help me solve this problem.

Additional Information

1

[Suggestion]: Different spoilage categories for different types of food

General Info

  • I would like to propose new content
  • I would like to propose changes
  • I would like to propose another thing

Suggestion Description

Meat spoils at a different rate than eggs or veggies. It would be nice to have the ability to create different categories that have different spoiling rates and then be able to add items to the categories. There would still be a generic spoilage rate that would be applied to food items that don't have a value specified.

Crash on worldgen

General Info

  • I am running a modpack
  • I can reproduce this issue consistently
    • In single player
    • In multiplayer
  • I have searched for this issue previously and it was either (1) not previously reported, or (2) previously fixed and I'm having the same problem.
  • I am crashing and can provide my crash report(s)
  • I am using the latest version of the mod

Client Info

  • Minecraft Version: 1.15.2

  • Forge Version: 31.1.45

  • Mod Version: 1.15-1.1.1

  • Java Version: 1.8.0_51

Issue Description

Just crash on generating new chunk

Reproduce Steps

Additional Information

crash report : https://hastebin.com/efodegefag.pl

[Suggestion]: Chance of Nausea based on Food Spoilage

General Info

  • I would like to propose new content
  • I would like to propose changes
  • I would like to propose another thing

Suggestion Description

The more decayed an item is (With a configurable threshold of, say, min 25% spoilage), the more likely you will develop nausea when you eat it. The duration of the nausea should increase as the spoilage increases.

[Bug]: Crafttweaker can't read my scripts with language provided by latest spoiled (for 1.16.5)

General Info

  • I am running a modpack
  • I can reproduce this issue consistently in single-player
  • I can reproduce this issue consistently in multi-player
  • I have searched for this issue previously and it was either (1) not previously reported, or (2) previously fixed and I am having the same problem.
  • I am crashing and can provide my crash report(s)
  • I am using the latest version of the mod

Forge version

36.2.34

Mod version

1.5.0

Java version

Java 8 Update 331

Issue Description

Crafttweaker can't read the scripts that it otherwise could with Spoiled 1.16.5- 1.4.3. This is actually a big issue because Crafttweaker will invalidate all scripts if a single line is wrong and I have many scripts. If there were any changes in the language provided by Spoiled, I would appreciate it if you could tell me what those changes were.

Additional Information

Crafttweaker log:

[00:32:01.589][CONSTRUCT][CLIENT][INFO] Starting building internal Registries
[00:32:09.358][CONSTRUCT][CLIENT][INFO] The following mods have explicit CraftTweaker support:
'crafttweaker' at version '7.1.2.509'
'gamestages' at version '7.3.13'
'jeitweaker' at version '1.1.0.49'
'recipestages' at version '2.0.0.21'
'spoiled' at version '1.5.0'
[00:32:13.925][CONSTRUCT][CLIENT][INFO] Completed building internal Registries
[00:32:46.558][COMMON_SETUP][CLIENT][INFO] Started loading Scripts for Loader 'setupCommon'!
[00:32:50.486][COMMON_SETUP][CLIENT][INFO] Finished loading Scripts!
[00:36:09.100][DONE][CLIENT][INFO] Started loading Scripts for Loader 'crafttweaker'!
[00:36:09.252][DONE][CLIENT][INFO] Loading file: 'tags for beams.zs' with priority: 400
[00:36:09.258][DONE][CLIENT][INFO] Loading file: 'compost.zs' with priority: 10
[00:36:09.259][DONE][CLIENT][INFO] Loading file: 'ctRecipes.zs' with priority: 10
[00:36:09.265][DONE][CLIENT][INFO] Loading file: 'furnaceRecipes.zs' with priority: 10
[00:36:09.265][DONE][CLIENT][INFO] Loading file: 'loot.zs' with priority: 10
[00:36:09.265][DONE][CLIENT][INFO] Loading file: 'remove.zs' with priority: 10
[00:36:09.266][DONE][CLIENT][INFO] Loading file: 'spoil.zs' with priority: 10
[00:36:09.267][DONE][CLIENT][INFO] Loading file: 'stRecipes.zs' with priority: 10
[00:36:09.267][DONE][CLIENT][INFO] Loading file: 'tooltips.zs' with priority: 10
[00:36:09.332][DONE][CLIENT][ERROR] spoil.zs:7:0 spoil.zs:7:0: No such symbol: spoiling
[00:36:09.332][DONE][CLIENT][ERROR] spoil.zs:8:0 spoil.zs:8:0: No such symbol: spoiling
[00:36:09.332][DONE][CLIENT][ERROR] spoil.zs:9:0 spoil.zs:9:0: No such symbol: spoiling
[00:36:09.332][DONE][CLIENT][ERROR] spoil.zs:10:0 spoil.zs:10:0: No such symbol: spoiling
[00:36:09.332][DONE][CLIENT][ERROR] spoil.zs:11:0 spoil.zs:11:0: No such symbol: spoiling
[00:36:09.332][DONE][CLIENT][ERROR] spoil.zs:12:0 spoil.zs:12:0: No such symbol: spoiling
[00:36:09.332][DONE][CLIENT][ERROR] spoil.zs:13:0 spoil.zs:13:0: No such symbol: spoiling
[00:36:09.332][DONE][CLIENT][ERROR] spoil.zs:14:0 spoil.zs:14:0: No such symbol: spoiling
[00:36:09.332][DONE][CLIENT][ERROR] spoil.zs:18:0 spoil.zs:18:0: No such symbol: spoiling
[00:36:09.332][DONE][CLIENT][ERROR] spoil.zs:19:0 spoil.zs:19:0: No such symbol: spoiling
[00:36:09.332][DONE][CLIENT][ERROR] spoil.zs:20:0 spoil.zs:20:0: No such symbol: spoiling
[00:36:09.332][DONE][CLIENT][ERROR] spoil.zs:21:0 spoil.zs:21:0: No such symbol: spoiling
[00:36:09.332][DONE][CLIENT][ERROR] spoil.zs:22:0 spoil.zs:22:0: No such symbol: spoiling
[00:36:09.332][DONE][CLIENT][ERROR] spoil.zs:23:0 spoil.zs:23:0: No such symbol: spoiling
[00:36:09.332][DONE][CLIENT][ERROR] spoil.zs:24:0 spoil.zs:24:0: No such symbol: spoiling
[00:36:09.333][DONE][CLIENT][ERROR] spoil.zs:25:0 spoil.zs:25:0: No such symbol: spoiling
[00:36:09.333][DONE][CLIENT][ERROR] spoil.zs:26:0 spoil.zs:26:0: No such symbol: spoiling
[00:36:09.333][DONE][CLIENT][ERROR] spoil.zs:27:0 spoil.zs:27:0: No such symbol: spoiling
[00:36:09.333][DONE][CLIENT][ERROR] spoil.zs:28:0 spoil.zs:28:0: No such symbol: spoiling
[00:36:09.333][DONE][CLIENT][ERROR] spoil.zs:29:0 spoil.zs:29:0: No such symbol: spoiling
[00:36:09.333][DONE][CLIENT][ERROR] spoil.zs:30:0 spoil.zs:30:0: No such symbol: spoiling
[00:36:09.333][DONE][CLIENT][ERROR] Scripts are invalid!
[00:36:09.333][DONE][CLIENT][INFO] Finished loading Scripts!
[00:36:09.336][DONE][CLIENT][INFO] This reload was made possible by Phillip Swearingain and more! Become a patron at https://patreon.com/jaredlll08?s=crtmod
[00:36:51.809][DONE][CLIENT][INFO] Started loading Scripts for Loader 'crafttweaker'!
[00:36:51.883][DONE][CLIENT][INFO] Loading file: 'tags for beams.zs' with priority: 400
[00:36:51.884][DONE][CLIENT][INFO] Loading file: 'compost.zs' with priority: 10
[00:36:51.885][DONE][CLIENT][INFO] Loading file: 'ctRecipes.zs' with priority: 10
[00:36:51.889][DONE][CLIENT][INFO] Loading file: 'furnaceRecipes.zs' with priority: 10
[00:36:51.890][DONE][CLIENT][INFO] Loading file: 'loot.zs' with priority: 10
[00:36:51.890][DONE][CLIENT][INFO] Loading file: 'remove.zs' with priority: 10
[00:36:51.891][DONE][CLIENT][INFO] Loading file: 'spoil.zs' with priority: 10
[00:36:51.891][DONE][CLIENT][INFO] Loading file: 'stRecipes.zs' with priority: 10
[00:36:51.892][DONE][CLIENT][INFO] Loading file: 'tooltips.zs' with priority: 10
[00:36:51.924][DONE][CLIENT][ERROR] spoil.zs:7:0 spoil.zs:7:0: No such symbol: spoiling
[00:36:51.924][DONE][CLIENT][ERROR] spoil.zs:8:0 spoil.zs:8:0: No such symbol: spoiling
[00:36:51.924][DONE][CLIENT][ERROR] spoil.zs:9:0 spoil.zs:9:0: No such symbol: spoiling
[00:36:51.924][DONE][CLIENT][ERROR] spoil.zs:10:0 spoil.zs:10:0: No such symbol: spoiling
[00:36:51.924][DONE][CLIENT][ERROR] spoil.zs:11:0 spoil.zs:11:0: No such symbol: spoiling
[00:36:51.925][DONE][CLIENT][ERROR] spoil.zs:12:0 spoil.zs:12:0: No such symbol: spoiling
[00:36:51.925][DONE][CLIENT][ERROR] spoil.zs:13:0 spoil.zs:13:0: No such symbol: spoiling
[00:36:51.925][DONE][CLIENT][ERROR] spoil.zs:14:0 spoil.zs:14:0: No such symbol: spoiling
[00:36:51.925][DONE][CLIENT][ERROR] spoil.zs:18:0 spoil.zs:18:0: No such symbol: spoiling
[00:36:51.925][DONE][CLIENT][ERROR] spoil.zs:19:0 spoil.zs:19:0: No such symbol: spoiling
[00:36:51.925][DONE][CLIENT][ERROR] spoil.zs:20:0 spoil.zs:20:0: No such symbol: spoiling
[00:36:51.925][DONE][CLIENT][ERROR] spoil.zs:21:0 spoil.zs:21:0: No such symbol: spoiling
[00:36:51.925][DONE][CLIENT][ERROR] spoil.zs:22:0 spoil.zs:22:0: No such symbol: spoiling
[00:36:51.925][DONE][CLIENT][ERROR] spoil.zs:23:0 spoil.zs:23:0: No such symbol: spoiling
[00:36:51.925][DONE][CLIENT][ERROR] spoil.zs:24:0 spoil.zs:24:0: No such symbol: spoiling
[00:36:51.926][DONE][CLIENT][ERROR] spoil.zs:25:0 spoil.zs:25:0: No such symbol: spoiling
[00:36:51.926][DONE][CLIENT][ERROR] spoil.zs:26:0 spoil.zs:26:0: No such symbol: spoiling
[00:36:51.926][DONE][CLIENT][ERROR] spoil.zs:27:0 spoil.zs:27:0: No such symbol: spoiling
[00:36:51.926][DONE][CLIENT][ERROR] spoil.zs:28:0 spoil.zs:28:0: No such symbol: spoiling
[00:36:51.926][DONE][CLIENT][ERROR] spoil.zs:29:0 spoil.zs:29:0: No such symbol: spoiling
[00:36:51.926][DONE][CLIENT][ERROR] spoil.zs:30:0 spoil.zs:30:0: No such symbol: spoiling
[00:36:51.926][DONE][CLIENT][ERROR] Scripts are invalid!
[00:36:51.926][DONE][CLIENT][INFO] Finished loading Scripts!

[Crash]: Exception in server tick loop

General Info

  • I am running a modpack
  • I can reproduce this issue consistently in single-player
  • I can reproduce this issue consistently in multi-player
  • I have searched for this issue previously and it was either (1) not previously reported, or (2) previously fixed and I am having the same problem.
  • I am crashing and can provide my crash report(s)
  • I am using the latest version of the mod

Forge version

40.1.0

Mod version

1.5.1

Java version

Java 8

Issue Description

Minecraft Version: 1.18.2
Description: Exception in server tick loop
crash-2022-05-05_17.36.52-server.txt

Upon entering world OR starting a server

Additional Information

No response

[Bug]: The mod doesn't work

General Info

  • I am running a modpack
  • I can reproduce this issue consistently in single-player
  • I can reproduce this issue consistently in multi-player
  • I have searched for this issue previously and it was either (1) not previously reported, or (2) previously fixed and I am having the same problem.
  • I am crashing and can provide my crash report(s)
  • I am using the latest version of the mod

Loader version

Forge 43.2.21

Minecraft version

1.19.2

Mod version

1.6.3

Java version

17.0.8+7

Issue Description

I installed the mod in my modpack and found that it does not display the degree of food spoilage. Then I installed the mod on a clean version 1.19.2 without any other mods at all and encountered the same problem. I waited 30 minutes and the food did not spoil.

Additional Information

No response

[Suggestion]: Itemstacks of greater than one item on decay

General Info

  • I would like to propose new content
  • I would like to propose changes
  • I would like to propose another thing

Suggestion Description

It makes sense for some items to output more than one item when they finish decaying. A potato may give one "rot" when decaying, while a hamburger gives two rot, and a feast item gives 3. In short: Allow specifying stack size of output of rot per food item.

This could also have a default handling where number of output items is based optionally based on hunger restoration of the food.

[Suggestion]: Allow food to spoil in unloaded chunks

General Info

  • I would like to propose new content
  • I would like to propose changes
  • I would like to propose another thing

Suggestion Description

This could be done by basing spoiling on an "expiry date" instead of a timer, by storing the time the item was created and comparing it to the current time every now and again to update its status. This way, items don't need to be loaded to spoil.

Alternatively, if the current timer system has advantages I've missed (or just to simplify), storing the last timer increment time and recalculating the timers based on that whenever a chunk loads could work as well.

Trimming Feature Idea

SUGGESTIONS

  • I would like to propose new content.
  • I would like to propose changes.
  • I would like to propose another thing.

SUGGESTION INFORMATION

A possible way to restack foods that have different spoil rates.
Possibly craft the two foods with a knife and have the output favour the more spoiled rate or an average between the two, to prevent inventory spam.

[Bug]:

General Info

  • I am running a modpack
  • I can reproduce this issue consistently in single-player
  • I can reproduce this issue consistently in multi-player
  • I have searched for this issue previously and it was either (1) not previously reported, or (2) previously fixed and I am having the same problem.
  • I am crashing and can provide my crash report(s)
  • I am using the latest version of the mod

Forge version

36.2.21

Mod version

1.5.0

Java version

1.8.0_312 Eclipse OpenJ9 VM

Issue Description

Containers from MrCrayfish's Furniture mod are not working in the container modifier system.
I tried it these past days, and none of them worked - tried the fridge and the coolers, of course, but even others are not working.

Additional Information

No response

Mod crashes on Tick

General Info

  • I am running a modpack
  • I can reproduce this issue consistently
    • In single player
    • In multiplayer
  • I have searched for this issue previously and it was either (1) not previously reported, or (2) previously fixed and I'm having the same problem.
  • I am crashing and can provide my crash report(s)
  • I am using the latest version of the mod

Client Info

  • Minecraft Version: 1.15.2

  • Forge Version: 31.1.30

  • Mod Version: 1.1

  • Java Version: 8

Issue Description

Upon the ticking in the world, the mod a crashes due to a misfire

Reproduce Steps

Explore around the world and wait for the crash to occur

Additional Information

Crash Report:
https://paste.gg/p/anonymous/e7b351050e40443f8a0a5f66e0aa0c88

Food in inventory doesn't dissapear when fully spoilt

General Info

  • [ x ] I am running a modpack
  • [ x ] I can reproduce this issue consistently
    • [ x ] In single player
    • In multiplayer
  • [ x ] I have searched for this issue previously and it was either (1) not previously reported, or (2) previously fixed and I'm having the same problem.
  • I am crashing and can provide my crash report(s)
  • [ x ] I am using the latest version of the mod

Client Info

  • Minecraft Version: 1.16.5

  • Forge Version: 36.0.42

  • Mod Version: 1.3.2

  • Java Version: 1.8.0_281-b09

Issue Description

Food that has fully spoiled in player inventory doesn't dissapear but instead continues to produce rotten flesh (or other set product, this seems to be the case for all spoiling, including the ones already supported by the mod (vanilla food) and food added by crafttweaker. Food in inventories that spoil seem to dissapear as intended and produce a product.

)

Reproduce Steps

Add food into inventory (I've tested with carrots, bread, [wheat, mushrooms and pumpkins] with spoiling added by CT and [strawberries and sweet berry cake] with spoiling added by CT) wait for it to spoil and watch the rotten flesh multiply.

Additional Information

This is the script used to add custom spoiling. I don't know if it's super messy but top part is the mods, second part is all items from crockpot (I added these seperatly since I wanted items to spoil into wet goop and wet goop to not spoil). Last is a bunch of inedible items that I wanted to spoil for balance reasons. Not sure if any of this could cause the issue but thought it was worth including.
https://pastebin.com/zZdXWaBy

Modlist:
https://pastebin.com/VK25Qn2n

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.