Skip to content

Commit

Permalink
Revert "Merge pull request #9 from Wetterquarz/mc1.21.3"
Browse files Browse the repository at this point in the history
This reverts commit ad53532, reversing
changes made to 7cd5df9.
  • Loading branch information
keve1227 committed Feb 10, 2025
1 parent f42a401 commit 1b97683
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ org.gradle.parallel=true

# Fabric Properties
# check these on https://fabricmc.net/develop
minecraft_version=1.21.3
yarn_mappings=1.21.3+build.2
loader_version=0.16.9
minecraft_version=1.20
yarn_mappings=1.20+build.1
loader_version=0.16.5

# Mod Properties
mod_version=1.1.0
maven_group=com.kevinsundqvistnorlen
archives_base_name=rubi

# Dependencies
fabric_version=0.110.0+1.21.3
minecraft_range=>=1.21.2 <=1.21.3
fabric_version=0.83.0+1.20
minecraft_range=1.20.0
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ public abstract void drawWithOutline(
@Inject(
method =
"draw(Ljava/lang/String;FFIZLorg/joml/Matrix4f;Lnet/minecraft/client/render/VertexConsumerProvider;" +
"Lnet/minecraft/client/font/TextRenderer$TextLayerType;II)I",
"Lnet/minecraft/client/font/TextRenderer$TextLayerType;IIZ)I",
at = @At("HEAD"), cancellable = true, order = 900
)
private void onDraw(
String text, float x, float y, int color, boolean shadow, Matrix4f matrix,
VertexConsumerProvider vertexConsumers, TextRenderer.TextLayerType layerType, int backgroundColor, int light,
CallbackInfoReturnable<Integer> cir
boolean rightToLeft, CallbackInfoReturnable<Integer> cir
) {
this.onDraw(
visitor -> TextVisitFactory.visitFormatted(text, Style.EMPTY, visitor), x, y, color, shadow, matrix,
Expand Down

0 comments on commit 1b97683

Please sign in to comment.