Skip to content

Commit 30e21df

Browse files
authored
Merge pull request #24 from tehbeard/1.21.3
1.21.3 build
2 parents fdd107b + a75c1c9 commit 30e21df

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
id 'fabric-loom' version '1.6-SNAPSHOT'
2+
id 'fabric-loom' version '1.9-SNAPSHOT'
33
id 'maven-publish'
44
}
55

gradle.properties

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@ org.gradle.parallel=true
44

55
# Fabric Properties
66
# check these on https://fabricmc.net/develop
7-
minecraft_version=1.21
8-
yarn_mappings=1.21+build.2
9-
loader_version=0.15.11
7+
minecraft_version=1.21.3
8+
yarn_mappings=1.21.3+build.2
9+
loader_version=0.16.9
1010

1111
# Fabric API
12-
fabric_version=0.100.3+1.21
12+
fabric_version=0.110.0+1.21.3
1313

1414
# Mod Properties
15-
mod_version=1.2.4
15+
mod_version=1.2.5
1616
maven_group=xyz.imcodist.quickmenu
1717
archives_base_name=quick-menu
1818

1919
# owo-lib
20-
owo_version=0.12.10+1.21
20+
owo_version=0.12.18+1.21.2
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11-bin.zip
44
networkTimeout=10000
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists

src/main/java/xyz/imcodist/quickmenu/ui/surfaces/SwitcherSurface.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import io.wispforest.owo.ui.core.OwoUIDrawContext;
55
import io.wispforest.owo.ui.core.ParentComponent;
66
import io.wispforest.owo.ui.core.Surface;
7+
import net.minecraft.client.render.RenderLayer;
78
import net.minecraft.util.Identifier;
89

910
public class SwitcherSurface implements Surface {
@@ -58,7 +59,7 @@ public void drawNineSlicedTexture(OwoUIDrawContext context, int x, int y, int wi
5859
}
5960

6061
public void drawTexture(OwoUIDrawContext context, int x, int y, int sourceX, int sourceY, int sourceWidth, int sourceHeight, int textureWidth, int textureHeight) {
61-
context.drawTexture(Identifier.of("quickmenu", "textures/switcher_textures.png"), x, y, sourceX, sourceY, sourceWidth, sourceHeight, textureWidth, textureHeight);
62+
context.drawTexture(RenderLayer::getGuiTexturedOverlay, Identifier.of("quickmenu", "textures/switcher_textures.png"), x, y, sourceX, sourceY, sourceWidth, sourceHeight, textureWidth, textureHeight);
6263
}
6364

6465
public void drawRepeatingTexture(OwoUIDrawContext context, int x, int y, int sourceX, int sourceY, int sourceWidth, int sourceHeight, int textureWidth, int textureHeight, int width, int height) {

0 commit comments

Comments
 (0)