I updated the OffersHUD to MC 1.20 and also is compatible with 1.20.1
Minecraft now uses the new class net.minecraft.client.gui.DrawContext to ease the rendering (fabric blog) , so I replaced the methods of the old ItemRender and DrawableHelper with the new ones in DrawContext.
I updated the OffersHUD to MC 1.20 and also is compatible with 1.20.1
Minecraft now uses the new class
net.minecraft.client.gui.DrawContext
to ease the rendering (fabric blog) , so I replaced the methods of the oldItemRender
andDrawableHelper
with the new ones inDrawContext
.