Simple Farming

Simple Farming

11M Downloads

[1.16.4] Tag was used before it was bound

Gbergz opened this issue ยท 5 comments

commented

Forge Version
35.1.36 - 1.16.4

Mod list (Scroll down.)
https://www.curseforge.com/minecraft/modpacks/tnp-limitless-3/files/3164238

Log file / crash report
https://hatebin.com/dygvyodnsl

Describe the issue
Someone from my discord reported this and describes it like this:
When I do a right click anywhere on a block ( chest, door ,furnace and other ) I crash and I have this error

commented

i know it's too late now, but i'm writing for everyone who will ever face a similar problem: try to install an older version of mode (for your version of Minecraft). I had this error at 1.16.5 with simple farming 1.3.8 and downloading 1.3.5 solved the problem

commented

This looks like a mod incompatibility to me. Simple Farming only registers to crop harvest events on the event bus which then call a function that uses this item tag. The scenario you describe where it happens upon right-clicking on anything makes no sense. Furthermore, this tag is registered normally like any other tag would be registered for Minecraft. It's not using any weird or unorthodox mechanism to do it. So, there is no reason why it should be unbound when it is called.

Have you been able to reproduce this yourself, or is it only happening on this one person's machine? I have used this mod extensively myself, and never experienced this.

Some more information about how to reproduce this bug, if it is even a bug, would be helpful.

commented

Hmm.... You seem to have multiple mods that add crops and some form of harvesting in your mod list, in addition to a mod list that is now about 15 table pages on CurseForge.

I'm not sure if Harvestcraft and Simplefarming are compatible or not. I haven't looked at the other mod and wasn't aware of it until I saw it in your list.

commented

I haven't gotten a report of this since it happened. Might've been fixed or it doesn't happen nearly enough times or is common enough.

commented

I took a look at the code for Harvestcraft. I would suggest you not use that mod. The code is... interesting.

EDIT: never mind what I said. I was looking at old code from an older repo. The new code is much better.