Darkhax-Minecraft / BotanyPots

Adds some flower pots that can be used to grow various crops.
GNU Lesser General Public License v2.1
102 stars 77 forks source link

[Suggestion] Config for differentiating growth time between Hopping/Non-Hopping Pots #136

Open NielsPilgaard opened 3 years ago

NielsPilgaard commented 3 years ago

Hi there!

Would you consider making a config option or datapack field for differentiating growth time between Hopping and Non-Hopping Botany Pots? I'm looking to nerf Botany Pots a bit, but don't see the need to nerf the non-hopping variety quite as much as the hopping.

CodexHere commented 3 years ago

I would like some kind of config as well for growth time. It becomes incredibly OP, way too quick, and very capable early game.

We have new players that are able to essentially get infinite food within 20 minutes of joining the server for the first time, which just seems like a waste.

Darkhax commented 3 years ago

@NillerMedDild I will consider this for a future update.

@nerdfoundrygaming This is already possible with something like CraftTweaker. For example this script can be used to make every crop 20x slower.

import mods.botanypots.ZenCrop;
val crops = <recipetype:botanypots:crop>;

crops.forEach((recipe) => {

    recipe.setGrowthTicks(recipe.getGrowthTicks() * 20);
});
fpbrault commented 3 years ago

@NillerMedDild I will consider this for a future update.

@nerdfoundrygaming This is already possible with something like CraftTweaker. For example this script can be used to make every crop 20x slower.

import mods.botanypots.ZenCrop;
val crops = <recipetype:botanypots:crop>;

crops.forEach((recipe) => {

    recipe.setGrowthTicks(recipe.getGrowthTicks() * 20);
});

This script does not appear to work on my 1.16.5 server, as I get this error: growth.zs:4:0 No such member: forEach

Is this normal?

slebreton79 commented 3 years ago

Yeah this example script I get the same error... no such member forEach

Darkhax commented 3 years ago

Yes, the example script does not work. It looks like that version was never publicly released. I will look into getting that version out soon.

CodexHere commented 3 years ago

I personally wasn't wanting to add CraftTweaker to the environment, so I opted for a datapack that just updates the recipes.

There wasn't any sophistication done here - every item takes 30min to mature with this pack. I originally planned on scalling them all linearly based on their pre-packaged settings, but when it came down to it I wanted crops to take a bit to mature to avoid abuse, and it was easy to string-replace across the entire set of recipes.

Feel free to use this in the meantime, tweak as you see fit, etc... It's nothing special, just already done.

botanypots_vanillarize.zip