Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'fabric-loom' version '1.9-SNAPSHOT'
id 'fabric-loom' version '1.10-SNAPSHOT'
id 'maven-publish'
}

Expand Down Expand Up @@ -88,4 +88,4 @@ publishing {
// The repositories here will be used for publishing your artifact, not for
// retrieving dependencies.
}
}
}
12 changes: 6 additions & 6 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ org.gradle.parallel=true

# Fabric Properties
# check these on https://fabricmc.net/develop
minecraft_version=1.21.4
yarn_mappings=1.21.4+build.8
loader_version=0.16.10
minecraft_version=1.21.5
yarn_mappings=1.21.5+build.1
loader_version=0.16.13

# Fabric API
fabric_version=0.115.1+1.21.4
fabric_version=0.121.0+1.21.5

# Mod Properties
mod_version=1.2.6
mod_version=1.2.7
maven_group=xyz.imcodist.quickmenu
archives_base_name=quick-menu

# owo-lib
owo_version=0.12.20+1.21.4
owo_version=0.12.20+1.21.5
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package xyz.imcodist.quickmenu.ui.surfaces;

import com.mojang.blaze3d.systems.RenderSystem;
import com.mojang.blaze3d.opengl.GlStateManager;
import io.wispforest.owo.ui.core.OwoUIDrawContext;
import io.wispforest.owo.ui.core.ParentComponent;
import io.wispforest.owo.ui.core.Surface;
Expand All @@ -25,14 +26,14 @@ public void draw(OwoUIDrawContext context, ParentComponent component) {
int sourceX = (isHeader) ? 0 : 24;

// Make sure the background renders as transparent.
if (!isHeader) RenderSystem.enableBlend();
if (!isHeader) GlStateManager._enableBlend();
RenderSystem.setShaderColor(1, 1, 1, 1);

// Draws the texture as a 9 slice.
drawNineSlicedTexture(context, x, y, width, height, sourceX, 0, 6, 6, 12, 12, 52, 50);

// Undo previous render system changes.
if (!isHeader) RenderSystem.disableBlend();
if (!isHeader) GlStateManager._disableBlend();
RenderSystem.setShaderColor(1, 1, 1, 1);
}

Expand Down
6 changes: 3 additions & 3 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
"quickmenu.mixins.json"
],
"depends": {
"fabricloader": ">=0.16.10",
"minecraft": "=1.21.4",
"fabricloader": ">=0.16.13",
"minecraft": "=1.21.5",
"java": ">=21",
"fabric-api": "*",

"fabric-key-binding-api-v1": "*"
}
}
}