Skip to content

Commit

Permalink
updated to minecraft version 1.20.6
Browse files Browse the repository at this point in the history
  • Loading branch information
ItziSpyder committed May 14, 2024
1 parent 00bf129 commit 01e341a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# Done to increase the memory available to gradle.
org.gradle.jvmargs=-Xmx1G
org.gradle.java.home=/Program Files/Java/jdk-21

# Fabric Properties
# check these on https://modmuss50.me/fabric.html
minecraft_version=1.20.4
yarn_mappings=1.20.4+build.1
loader_version=0.15.7
minecraft_version=1.20.6
yarn_mappings=1.20.6+build.1
loader_version=0.15.10

# Mod Properties
mod_version = 0.0.3-BETA
Expand All @@ -14,4 +15,4 @@ org.gradle.jvmargs=-Xmx1G

# Dependencies
# check this on https://modmuss50.me/fabric.html
fabric_version=0.96.0+1.20.4
fabric_version=0.98.0+1.20.6
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ public abstract class MixinMinecraftClient {
@Shadow @Final private FontManager fontManager;
@Shadow @Final public static Identifier UNICODE_FONT_ID;

@Inject(method = "initFont", at = @At("TAIL"))
public void initFont(boolean forcesUnicode, CallbackInfo ci) {
@Inject(method = "onFontOptionsChanged", at = @At("TAIL"))
public void initFont(CallbackInfo ci) {
var fonts = ((FontManagerAccessor)this.fontManager);
ImproperUIClient.getInstance().codeRenderer = fonts.createRenderer(UNICODE_FONT_ID);
}
Expand Down

0 comments on commit 01e341a

Please sign in to comment.