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

SlotWrapper does nothing and obfuscates behavior

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.16.3, 1.16.4 Release Candidate 1, 1.16.4, 20w45a
    • None
    • Plausible
    • (Unassigned)

      The following internal class does nothing based on its implementation, which is a pure class wrapper that adds 0 behavior. Including minuscule memory and performance implication, this wrapper slot actually adds minor developmental burden, as all slots in a creative inventory need to derive from it, because mouse interaction casts every slot into a creative slot (again, for no actual reason). For additional headache, the wrapper class inhibits some more specific modding attempts regarding the creative inventory.

      net.minecraft.client.gui.screens.inventory.CreativeModeInventoryScreen$SlotWrapper
      

            Unassigned Unassigned
            EmilyPloszaj Emily
            Votes:
            2 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              CHK: