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

Beacon effect button does not use potion.potency.1

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 1.16.5, 21w20a
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Plausible
    • Category:
      (Unassigned)

      Description

      "II" is hardcoded in the tooltip of the beacon effect button for upgrading the effects to level II. This is inconsistent with other parts of the UI, and makes it so that resource packs cannot change the string. It should use potion.potency.1 translation string instead.

      Found while mapping GUI for Fabric.

      Code from BeaconScreen's inner class (yarn name, 21w20a):

        protected MutableText method_37082(StatusEffect arg) {
          return (new TranslatableText(arg.getTranslationKey())).append(" II");
        }
      

      It should append a space and new TranslatableText("potion.potency.1"), not " II"

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            apple502j apple502j
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              CHK: