Skip to content

Commit

Permalink
fix: move rendered text higher up
Browse files Browse the repository at this point in the history
  • Loading branch information
2No2Name committed Aug 7, 2022
1 parent 2507bcd commit 5039aee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ private void renderInfo(T entity, float yaw, float tickDelta, MatrixStack matric

float f = entity.getHeight() + 0.5f;

float yOffset = 20 - (infoTexts.size() * 10);
float yOffset = 10 - (infoTexts.size() * 10);
for (Text infoText : infoTexts) {
matrices.push();
matrices.translate(0.0, f, 0.0);
Expand Down

0 comments on commit 5039aee

Please sign in to comment.