Pixelmon Mod - Bug tracker

[9.0.0] CustomDropScreens are not shown properly fix completed

Ticket description:
Using CustomDropScreen.class and its builder ended up in a menu with no Title, buttons or item preview. In addition an item is rendered in the wrong location (red incircled in the photo). It also appears that the menu is "flickering" sometimes.
This is the code used to create the menu:

Code: Select allCustomDropScreen.builder()
                .setTitle(new StringTextComponent("Lootmenu"))
                .setButtonText(PositionTriState.CENTER, "Close")
                .setItems(displayItems)
                .sendTo(player);


Picture for reference:
Image

Comments

#25769 Posted by Katzyn » 29 May 2022 20:28

Hi! Somehow my reply didn't go through - but I have forwarded this issue to Internal!

Ticket details

  • Ticket ID: 17743
  • Project: Pixelmon Mod
  • Status: Fix completed
  • Component: Other
  • Project version: 1.16.5-9.x.x
  • Priority: Normal
  • Severity: Normal
  • Forge/Sponge: (unknown)
  • What else would be useful to know?: (unknown)
  • Assigned to: Katzyn
  • Reported by: Geisterhand (Send PM)
  • Reporter's tickets: (List all tickets)
  • Reported on: 27 May 2022 19:50
  • Ticket last visited by: Katzyn on 26 Oct 2022 01:32
JOIN THE TEAM