Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/keve1227/rubi
Browse files Browse the repository at this point in the history
  • Loading branch information
keve1227 committed Feb 10, 2025
2 parents f634c1b + 5d7657e commit d11d4c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
# Done to increase the memory available to gradle.
org.gradle.jvmargs=-Xmx1G
org.gradle.parallel=true

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

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

# Dependencies
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 d11d4c8

Please sign in to comment.