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

Saturation effect can't have duration applied to a potion, but can using /effect

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.13.2, 1.15.1, 1.16 Release Candidate 1, 1.16, 20w51a, 21w03a, 1.16.5, 21w06a, 21w08b, 21w10a, 21w20a, 1.17, 1.17.1, 1.19.3, 1.19.4 Pre-release 1, 1.19.4, 1.21 Pre-Release 4
    • Confirmed
    • Items

      So i was trying to make a potion that had saturation 4 for 6000 ticks.  So that i could make items they could buy to keep their hunger full for a set amount of time. But when i tried.

      What i did:

      /give @p minecraft:potion{CustomPotionEffects:[{Id:23b,Amplifier:4b,Duration:6000}]} 1
      

      What should of happened:

      Have gotten a potion when drank, refills your hunger completely for 5 minutes.

      What actually happened:

      Just filled my hunger for a second.

      How to make it work:

      /effect give {name} minecraft:saturation 600 4

       

      I dont see why the saturation effect shouldnt be allowed to have a duration tag attached to it when its in potion form but can in a base command. Please add it.

            Unassigned Unassigned
            GhostlyScythe Ghostly
            Votes:
            13 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              CHK: