Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-269715

Food won't be eaten when the component food.eat_seconds is less than 0.05

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 24w12a, 24w13a, 1.20.6
    • None
    • Confirmed
    • Commands
    • Low
    • Platform

      Use this command:

      /give @s minecraft:diamond[minecraft:food={nutrition:1,saturation_modifier:0,eat_seconds:0.049,can_always_eat:true}] 64 

      when food.eat_seconds <0.05,the food won't be eaten

      when food.eat_seconds ≥0.05,it will be eaten

            Unassigned Unassigned
            jiajinxuan2009 jiajinxuan2009
            Votes:
            8 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: