JFood mod


MrJakobLaichs food mod. This mod adds food that gives the player buffs! Intended for usage in combination with "Pyanodons" mods but works standalone as well!

1 year, 9 months ago
1.1
311
Environment Manufacturing

a V2

3 years ago

V2 of my food mod, I will add more stuff.
Currently adds three items, two of which give boosts to the player, all of them are located in their own TAB in the player inventory.

sushi
burger bun
wheat

Infos about the items:

sushi
    stack_size: 50
    cooldown: 120
    boosts: movement
    boost: 1
    boosts? YES.

    recipe:
    makes 5 sushi
    takes 1s
    ingredients:
        raw-fish x 10

burger bun
    stack_size: 200
    cooldown: 600
    boosts: movement
    boost: 3
    boosts? YES.

    recipe:
    makes 1 burger bun
    takes 4s
    ingredients:
        wood  x 16

wheat
    stack_size: 50
    boosts? NO.

    recipe:
    makes 4 wheat
    takes 1s
    ingredients:
        wood  x 1

The boost is calculated by the following formula:

movement-speed = movement-speed + boost

The length of the boost depends on the cooldown, you can only activate one boost of the same type at once.
So the burger bun should boost you for 10s if your game runs at normal 60fps.

New response