TerraFirmaCraft

TerraFirmaCraft

2M Downloads

Registering a Food Item with a 0 for decay modifier hide nutrient values from tool tip

drhaber opened this issue ยท 0 comments

commented

The Decay is set to 0 and the nutrition does not show.
https://cdn.discordapp.com/attachments/432527966266851339/685259719727906833/unknown.png

The Decay is set to 6 and the nutrition does show.
https://cdn.discordapp.com/attachments/432527966266851339/685259879207796744/unknown.png

This issue is consistent with all "non-expiring food items" Including the Golden Apple.
CUSTOM_FOODS.put(IIngredient.of(Items.GOLDEN_APPLE), () -> new FoodHandler(null, new float[] {0, 0, 2, 2, 0}, 3, 12, 0));
https://i.imgur.com/boud7ei.png