GrowthTime set to -1 after world reload
blockgoblin31 opened this issue ยท 13 comments
I'm not sure exactly what caused this, but after closing and reopening my world I noticed I couldnt harvest the plant anymore. I then checked with /ct block_info and a bunch of feilds in the block were set to -1, including GrowthTime, which I suspect was what was causing the issue. Taking the seed out and then putting it back in fixed it. The pot was in a compact machine and I was in the same compact machine when I left/rejoined the world if that makes a difference. Forge 1.19.2.
Closing this issue due to inactivity. If you have a reliable reproduction case feel free to re-open this issue.
Sorry for not responding, I was sick for a couple weeks. I have now tested it with adding the recipe by datapack and the issue does not occur. I've made an issue report on the crafttweaker github instead.
The exact data is this [19:18:32.933][INFO]: Block Entity Data: { DoneGrowing: 0 as byte, GrowthTime: -1 as int, Inventory: { Items: [ { Slot: 0 as byte, id: "minecraft:dirt", Count: 1 as byte }, { Slot: 1 as byte, id: "mysticalagriculture:skeleton_seeds", Count: 1 as byte } ] }, PrevComparatorLevel: 0 as int, ForgeCaps: {}, ExportDelay: -1 as int, HarvestDelay: -1 as int, ComparatorLevel: 0 as int, RandomSeed: -3893913908529542914 as long }
but it doesnt happen with my other botany pot with a different recipe, so maybe my recipe is at fault somehow? I can send that if you think its relevant
the recipe json looks like this {type: "botanypots:crop", seed: {item: "mysticalagriculture:skeleton_seeds", count: 1}, categories: ["dirt"], growthTicks: 1200, drops: [{minRolls: 1, output: {item: "minecraft:bone", count: 1}, chance: 0.25, maxRolls: 1}, {minRolls: 2, output: {item: "minecraft:bone_meal", count: 1}, chance: 1.0, maxRolls: 4}], display: {type: "botanypots:aging", block: "mysticalagriculture:skeleton_crop"}}
and the other recipe that is working is the oak sapling recipe from botany trees
@blockgoblin31 Are you adding the recipe through CraftTweaker or a standard JSON recipe? Also is it all dimensions or just inside the compact machine dimension? Also do you have any log messages that may be related to this?
it does not happen in other dimensions, so it seems like this might be on compact machines' end
Nothing in the log, adding a json recipe through crafttweaker, and I havent tested outside the custom machinery dimension. It also happens when just changing machines btw, not only on dimension reload
Ok it only happens with "botanypots:aging" recipes, thats the difference between the custom recipe and the tree recipe
I've played around with Compact Machines a bit more but wasn't able to recreate your issue. Generally the GrowthTime is only set to -1 when the data has become invalid, like a crop on a soil that is no longer valid. I would recommend ruling out CraftTweaker by moving your custom crops to a true datapack first.