Skip to content

Instantly share code, notes, and snippets.

@isXander
Created March 25, 2023 12:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save isXander/251915e21970d25ecee388dc4d85fc36 to your computer and use it in GitHub Desktop.
Save isXander/251915e21970d25ecee388dc4d85fc36 to your computer and use it in GitHub Desktop.
public void renderScrollingString(PoseStack matrices, Font textRenderer, int xOffset, int color) {
int i = this.getX() + xOffset;
int j = this.getX() + this.getWidth() - xOffset;
Component var10002 = this.getMessage();
int var10004 = this.getY();
int var10006 = this.getY() + this.getHeight();
int var7 = this.localvar$zei000$controlify$shiftDrawSize(i);
renderScrollingString(matrices, textRenderer, var10002, i, var10004, j, var10006, color);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment