Not rerendering if the gui updates anywhere but the content (e.g. title).
Introduce a Pixel class containing only the information to render an ItemStack. It is used under the hood of GuiItem and anywhere, where only the display is needed, e.g. for backgrounds.
Changes
Player
references withHumanEntity
.Pixel
class containing only the information to render anItemStack
. It is used under the hood ofGuiItem
and anywhere, where only the display is needed, e.g. for backgrounds.