Decorated Pots return menu type of CHEST

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Affects Version/s: None
    • None
    • CraftBukkit version 4484-Spigot-3dafb73-d688748 (MC: 1.21.5) (Implementing API version 1.21.5-R0.1-SNAPSHOT)
    • Yes

      For the Decorated Pot, the inventory.getType() method returns "CHEST".

       

      Per JavierFlores09 on discord "since decoratedpot doesn't have an inventory type, it defaults to chest"

       

      This means the getMenuType() method returns CraftMenuType{key=minecraft:generic_9x3, handle=Reference{ResourceKey[minecraft:menu / minecraft:generic_9x3]=net.minecraft.world.inventory.Containers@7f197020}} and the isCreatable returns true.

       

      The pot can only accept items via right click and return items via block break, there is no menu/UI.

       

            Assignee:
            Unassigned
            Reporter:
            Michael Botsko
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: