Skip to content

FAQ Troubleshooting

Alatyami edited this page Jan 2, 2019 · 1 revision

Growthcraft Troubleshoot Guide / FAQ

So, I heard you're having trouble with Growthcraft? This here guide will (hopefully) answer your questions, otherwise please do open an issue on our github page.

Here here on, the user will be referred to as YOU. To drive the point home of course. Some strong standards language may be used here such as SHOULD, MUST, WILL NOT, etc..

Modpacks

If running a modpack, YOU SHOULD include the Growthcraft json configs. These configs MUST be in sync with the server and client to work correctly, otherwise Growthcraft may produce undefined behaviour.

Always test your modpacks, and check configs, possibly redeploying or re-installing the pack from scratch to ensure it works correctly.

Minecraft crashes with some error related to AppleCore

Something like this?

java.lang.NoSuchFieldError: dispatcher
at growthcraft.core.integration.AppleCore.validateGrowthTick_AC(AppleCore.java:34)
at growthcraft.core.integration.AppleCore.validateGrowthTick(AppleCore.java:40)

Update your copy of Apple Core to 1.3.x or later

Updating from 2.4.x to 2.5.x

Users updating from 2.4.x, may encounter the GSON error in their game, this is solved by removing the growthcraft json configs, or updating them to the new format. These files are located under the growthcraft directory in your minecraft configs directory. There will be several sub directories each containing some json configs. config/growthcraft/**/*.json

Updating in the future

If YOU have been haphazardly updating ANYTHING (whether it be applications, packages, or mods), STOP. YOU should be paying attention to the mods being updated; especially when they aren't updating in a teeny or patch level version (x.y.Z where Z is the teeny/patch level: eg. from 2.5.1 to 2.5.2).

Growthcraft uses semantic versions, when we update a minor version it means something critical changed and YOU SHOULD check your configs.

This is being relayed to YOU from experience within the software development community. Haphazardly updating mods, packages, or applications is a royal way to screw yourself over.

We will not modify, AND OR remove already present config files

Once the configs are generated the first time, Growthcraft WILL NOT modify them: as modifying these files after creation can potentially remove user settings (dropping whole recipes from the config), AND OR add unwanted behaviour (re-adding recipes that where removed, or modified to fit the user).

IllegalStateException

com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 1 column 2 Remove your config/growthcraft/**/*.json config files, (this means from all .json files under the growthcraft config directory) For more information, see at Updating from 2.4.x to 2.5.x

NoSuchMethodErrors (affected 2.4.x bundles)

java.lang.NoSuchMethodError: net.minecraft.item.ItemStack.getItem()Lnet/minecraft/item/Item;

Question, are YOU using the individual jars?

  • YES?, remove the api jar. The API is already included with the core.
  • NO?, try running your setup with Growthcraft ALONE. If the problem persists, please report this on the Growthcraft github issue tracker.

Brew Time, Brew Yield etc... aren't changing after changing settings in the growthcraft/*.cfg

This issue is present in 2.4.x, with the introduction of the User API: Brewing, Fermenting, Pressing recipes are generated when YOU start minecraft and their are no config files present, the initial values are pulled from the basic config (growthcarft/cellar.cfg), if you change the brew time, or brew yield, its best to:

  • A - Remove the generated JSON config files
  • B - Edit the JSON config files

Note that the config options will be REMOVED in 2.5.x in favour of using the JSON API instead.

My custom recipes aren't working!

Toggle the debug option in the cellar module (growthcraft/cellar.cfg) and watch the console for error logs from Growthcraft (depending on your version of Forge, the logs may not be prefixed with Growthcraft, in that case lookout for keywords (fermenting, pressing, brewing etc..))

Growthcraft will log as best as it can the problems present in your custom recipe, if your JSON file is malformed, then the game will probably crash.

Yeast/Culture Jar isn't creating anything!

The Culture Jar works on a very specific set of rules:

  • The Jar MUST be placed into a specific set of biomes defined by the configs/growthcraft/cellar/yeast.json config in order to create yest
  • The Jar MUST be filled with a YOUNG Booze of your choosing.
  • If YOU wish to duplicate, replicate a specific yeast, then you must FILL do the previous step and place the yeast YOU wish to dup., or rep. into the yeast slot, this will work REGARDLESS of biome.

In order to determine if a Booze is young, simply look at its name or description, it should include Young in its name or description tags

How do I remove the Discard Button on Cellar blocks!?

Added in 2.5.0's development is a config option to disable the Discard button.

Minecraft crashes with an error pointed at ItemKey something something

First up, we've tried my utmost hardest to make that class as bulletproof as possible since its used for ALL the Growthcraft Registry items. In the case that it DOES fail, it means it was used in a way not meant to be (passing a null ItemStack, or a ItemStack with an invalid item etc..), in that case ItemKey will play it safe and fail immediately, nothing is messier than a gameplay error caused by the Registries

Minecraft crashes with an error pointed at a Villager ID.

You need to change the "Brewer ID" in the cellar.conf file to the new default of 6677 instead of the old default of 10.

Why does Growthcraft crash on startup instead of just erroring in some cases?

Fail fast and fail hard, if YOU made a mistake in the Growthcraft's config, then: YOU SHOULD FIX IT. By ignoring these errors, they accumulate over time and cause more errors, and undesired behaviour. By crashing early and forcing YOU to correct the problem, this removes the need for reporting user errors, and wasting valuable development time to find a non-existant, or user produced problem.

If YOU are not sure what caused the problem, or it is not covered by this FAQ, please report the issue on the github issue tracker, it will be addressed ASAP.

I have a brilliant idea for a module!

Stop! TOMARE! Please read the Module Contribution Guide first.

Did YOU tl;dr? Then we'll tl;dr your module idea as well.

References

Semantic versioning

X.Y.Z X = Major Version, we've updated to a new version of Minecraft (definitely something broke) Y = Minor Version, we've added new features to the existing Z = Teeny Version, we've fixed several minor issues, or including some small non-breaking changes