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

Predicate overrides cause major FPS loss

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Works As Intended
    • Affects Version/s: Minecraft 1.9.4, Minecraft 1.10
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Community Consensus

      Description

      Applying a large number of predicate overrides to an item in a resource pack will cause considerable FPS loss if the item is rendered too many times (example: armor stand head/hand slot).

      Steps to recreate:

      1- Download provided resource pack
      2- Apply resource pack
      3- Use the following command: "/give @p armor_stand 1 0 {EntityTag:{ArmorItems:[{},{},{},

      {id:diamond_hoe,Count:1,Damage:0s}

      ]}}"
      4- With the given item, place down 100* armor stands
      5- Use the following command: "/replaceitem entity @e[type=ArmorStand] slot.armor.head diamond_axe 1 0"
      6- Compare difference of FPS between diamond hoe (with 1,561 overrides applied) and diamond axe

      *this number may vary depending on machine.


      Code analysis by [Mod] NeunEinser in this comment

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              FruBasilicum [Mojang] Agnes Larsson
              Reporter:
              Sarc Simply Sarc
              Votes:
              66 Vote for this issue
              Watchers:
              23 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                CHK: