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

component "consumable" doesn't work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 24w34a
    • None
    • Unconfirmed
    • (Unassigned)

      as the title says

      How to reproduce:

      1.Use command

      /give @s tnt[consumable={eat_seconds:0.05,using_converts_to:{id:stone,count:1},effects:[{effect:{duration:600,id:wither,amplifier:1,ambient:true,show_icon:true,show_particles:false},probability:1}]},food={can_always_eat:true,nutrition:10,saturation:20}]

      2.edible

      expected behavior:

      Expected behavior: It takes 0.05 seconds to eat the item. After eating, you will get the stone and wither status effects of the item.

      What actually happened:
      nothing

       

      Sorry, I originally thought effects, eat_seconds, using_converts_to were just split from food component to consumable component, so please help me close the ticket

            Unassigned Unassigned
            Kirby46994 beebee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: