| 71 | } |
| 72 | |
| 73 | @SuppressWarnings("all") |
| 74 | public static void createText(MinecraftClient mc, DrawContext context, TextRenderer textRenderer) { |
| 75 | // display the current gui's sync id, revision |
| 76 | context.drawText(textRenderer, "Sync Id: " + mc.player.currentScreenHandler.syncId, 200, 5, Color.WHITE.getRGB(), false); |
| 77 | context.drawText(textRenderer, "Revision: " + mc.player.currentScreenHandler.getRevision(), 200, 35, Color.WHITE.getRGB(), false); |
| 78 | } |
| 79 | |
| 80 | // bro are you ever going to clean this up? |
| 81 | // this code is very messy, ill clean it up if you dont |