GrowthcraftCE / Growthcraft-1.7

Community Edition of Gwafu's Growthcraft Mod
Other
39 stars 29 forks source link

[1.7.10] All the pressed cheeses turn into cheddar if piped in to the cheese press. #458

Closed cheesealmighty closed 1 year ago

cheesealmighty commented 6 years ago

I'm trying to automate the cheese production at the moment, as a fun project.

But it seems like if you pipe/hopper in the cheese to the cheese press, the drained curds turn into cheddar cheese when it is waxed. Same issue occurs with vanilla hoppers.

They work fine if they're manually put in. (I'll activate debugging mode and post it here.)

Any idea why?

Edit: Oh biscuits. Can't find where it is outputting the logs.

Edit 2: Opencomputers robots seem to be unaffected by this. They work fine.

Edit 3: Nope, the behaviour is somewhat erratic. Can't exactly pinpoint what is causing it.

Edit 4: Okay, for reference: https://ocdoc.cil.li/api:robot Using robot.drop([count: number]) doesn't work, probably because this simulates hopper/pipe behaviour. Using robot.use([side: number[, sneaky: boolean[, duration: number]]]) does work. Probably since it uses a fakeplayer.

So this script works with cheese press: https://paste.ubuntu.com/p/QTdHKbk3sT/

IceDragon200 commented 6 years ago

An issue is how we determine cheese types from curds, the information is stored in the NBT data, if that data gets lost at any point it would revert to cheddar.

Another issue is, cheese production was meant to be manual, never automated, so I expect all kinds of oddities, but just for you, I'll try to look into it over the week, do remind me if I don't respond by Saturday

cheesealmighty commented 6 years ago

Yup, I assumed cheddar was the default/fallback value.

And yup, been following this mod for years, I love the simulated hobby sort of vibe of it. But I just wanted to challenge myself trying to automate something that wasn't meant to be automated. Which actually did work at the end, see here: https://www.reddit.com/r/feedthebeast/comments/95192v/1710_fully_automated_growthcraft_cheese_factory/

but just for you, I'll try to look into it over the week, do remind me if I don't respond by Saturday

Much appreciated, thanks. Will do.

IceDragon200 commented 6 years ago

Okay I've looked at it, and checked the referenced issue:

Notes

Changes

Sorry I couldn't do much more :(

cheesealmighty commented 6 years ago

Oh. No problem. Thanks for looking into it. :)