MCPcopy Index your code
hub / github.com/Coderx-Gamer/ui-utils / render

Method render

src/main/java/com/ui_utils/mixin/ScreenMixin.java:88–94  ·  view source on GitHub ↗
(DrawContext context, int mouseX, int mouseY, float delta, CallbackInfo ci)

Source from the content-addressed store, hash-verified

86 }
87
88 @Inject(at = @At("TAIL"), method = "render")
89 public void render(DrawContext context, int mouseX, int mouseY, float delta, CallbackInfo ci) {
90 // display sync id, revision, if ui utils is enabled
91 if (SharedVariables.enabled && mc.player != null && mc.currentScreen instanceof LecternScreen) {
92 MainClient.createText(mc, context, ((ScreenAccessor) this).getTextRenderer());
93 }
94 }
95}

Callers

nothing calls this directly

Calls 2

createTextMethod · 0.95
getTextRendererMethod · 0.80

Tested by

no test coverage detected