#I have a question about effect length values for food

2 messages · Page 1 of 1 (latest)

manic anchor
#

What system are we using to determining how long an effect can last for, if added by food?

      event
        .create('clam_chowder')
        .group('KubeJS')
        .texture('kubejs:item/clam_chowder')
        .food((food) => {
            food.hunger(8).saturation(0.80).effect('farmersdelight:comfort', 1800, 0, 100).effect('bewitchment:hardening', 1800, 0, 100);
        })
        .displayName('Clam Chowder');    

I'm trying to get 3 minutes of comfort and 3 minutes of hardening here

odd flickerBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!