SihenZhang / CrockPot

Bring Crock Pot from Don't Starve to Minecraft.
MIT License
19 stars 7 forks source link

Suggestion: Config to alter the attributes of the food #17

Closed deicide-wil closed 3 years ago

deicide-wil commented 3 years ago

For example, the potion effects you get after eating a fish stick. Something like nerfing it from regen 2 to regen 1, the duration of the effect or changing it to instant health

SeraphJACK commented 3 years ago

Technically we can add a data pack handler for modifying the effects of a given food, but the question is that should we include this function in CrockPot? Maybe I can just write another mod that allows you to do that, would you take that?

By the way, we're planning to rebalance the values of the foods. For example, as you mentioned, the fish ticks are too overpowered and we're probably going to nerf it. Any idea about balancing the values are welcomed!

deicide-wil commented 3 years ago

Sounds like a good idea! I am new to moding though so may you give clearer instructions with how to use the data pack handler?

I am trying to make a modpack, it is an rlcraft like pack. Not sure if you have played rlcraft before, but im using this mod as similar to the effects of the lycanites mobs special food.

As my modpack is aiming to a more challenging experience, i think I would nerf the fish sticks to 2 secs of regen 1/instant health/absorption.

Further suggestion, there is a very good mod out there called project mmo, which is a skill system, you may look into it to see possibilities of integration, not necessary tho, for me it is still pretty good with better configurability.

Thanks!

SeraphJACK commented 3 years ago

My suggestion is that I can write a utility mod that enables you to modify food effects by writing data packs.

SeraphJACK commented 3 years ago

And if you take that, I need to know the exact Minecraft version you're using for your modpack.

deicide-wil commented 3 years ago

my modpack is on 1.16.4 minecraft!

SeraphJACK commented 3 years ago

Done, just check this.

You may also need to have a look at Global Data- & Resourcepacks.

If you have any other questions, feel free to ask here.

SeraphJACK commented 3 years ago

If it tests out, please let me know and I'll release it on CurseForge so that you can include it in your modpack.

deicide-wil commented 3 years ago

ok i will try it out

deicide-wil commented 3 years ago

A problem occurred configuring root project 'FoodEffects-master'.

Failed to notify project evaluation listener. 'org.gradle.internal.nativeplatform.filesystem.FileSystem org.gradle.internal.nativeintegration.services.FileSystems.getDefault()'

sorry if im dumb, cuz im new to this stuff

SeraphJACK commented 3 years ago

Yeah I mean.. I've completed the mod, you can just install it in your Minecraft and use it to modify effects. You don't need to set up a development workspace.

You can download the mod jar from releases.

deicide-wil commented 3 years ago

ok im dumb. thanks!

deicide-wil commented 3 years ago

it works! thanks for the mod