1.20.1 port

This commit is contained in:
Oth3r 2024-12-22 17:58:25 -06:00
commit de1e7d8d65
7 changed files with 48 additions and 78 deletions

View file

@ -19,7 +19,7 @@ public class ClickableImageWidget extends ButtonWidget {
}
@Override
protected void renderWidget(DrawContext context, int mouseX, int mouseY, float delta) {
protected void renderButton(DrawContext context, int mouseX, int mouseY, float delta) {
context.setShaderColor(1.0f, 1.0f, 1.0f, this.alpha);
RenderSystem.enableBlend();
RenderSystem.enableDepthTest();