Skip to content

Cooking - issue with code in OverrideBlockInteractions #69

@ripchord

Description

@ripchord

Cooking code in Shared/OverrideBlockInteractions.cs does not seem to run after cookingTime is finished.

EnableExtendedLog doesn't show any LogDebug info so I recompiled mod changing to LogWarn which gave the following

With pot type game:claypot-blue-fired added to cookingpots.json:
12.12.2025 12:42:47 [Warning] [LevelUP] Cooking: 0.102 / 40
12.12.2025 12:42:47 [Warning] [LevelUP] Cooking: 0.205 / 40
...
12.12.2025 12:43:18 [Warning] [LevelUP] Cooking: 30.83201 / 40
12.12.2025 12:43:18 [Warning] [LevelUP] Cooking: 30.93501 / 40
... then no further logging

With pot type game:claypot-cream-fired NOT added to cookingpots.json:
12.12.2025 12:44:37 [Warning] [LevelUP] Cooking: 0.103 / 40
12.12.2025 12:44:37 [Warning] [LevelUP] Cooking: 0.204 / 40
...
12.12.2025 12:45:08 [Warning] [LevelUP] Cooking: 30.798986 / 40
12.12.2025 12:45:08 [Warning] [LevelUP] Cooking: 30.901987 / 40
12.12.2025 12:45:17 [Warning] [LevelUP] game:claypot-cream-fired finished cooking, X: 512022, Y: 119, Z: 511998
12.12.2025 12:45:17 [Warning] [LevelUP] Thread created, waiting for cooking outputStack...
12.12.2025 12:45:17 [Warning] [LevelUP] Cooking outputStack: game:claypot-cream-cooked, cooking position: X: 512022, Y: 119, Z: 511998
12.12.2025 12:45:17 [Warning] [LevelUP] [COOKING] Unkown recipe, giving default experience to JonN19, recipe: game:claypot-cream-cooked, please add in configs/levelstats/cookingpots.json or configs/levelstats/cookingsingles.json

Full client-main.log attached.
client-main.log

Issue is present both in multiplayer and singleplayer. Info above is from testing in singleplayer with no other mods added.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions