😔
This commit is contained in:
parent
4f0e390c14
commit
3efb992e92
2 changed files with 5 additions and 2 deletions
|
@ -223,6 +223,7 @@ public class HexAdditionalRenderers {
|
|||
if (text.isEmpty()) {
|
||||
ps.translate(0, mc.font.lineHeight, 0);
|
||||
}
|
||||
ps.translate(0, 6, 0);
|
||||
}
|
||||
|
||||
ps.popPose();
|
||||
|
|
|
@ -22,8 +22,10 @@ public class ForgeHexClientInitializer {
|
|||
evBus.addListener((RenderLevelLastEvent e) ->
|
||||
HexAdditionalRenderers.overlayLevel(e.getPoseStack(), e.getPartialTick()));
|
||||
|
||||
evBus.addListener((RenderGameOverlayEvent.PreLayer e) ->
|
||||
HexAdditionalRenderers.overlayGui(e.getMatrixStack(), e.getPartialTicks()));
|
||||
evBus.addListener((RenderGameOverlayEvent.PreLayer e) -> {
|
||||
if (e.getType() == RenderGameOverlayEvent.ElementType.ALL)
|
||||
HexAdditionalRenderers.overlayGui(e.getMatrixStack(), e.getPartialTicks());
|
||||
});
|
||||
|
||||
|
||||
evBus.addListener((TickEvent.RenderTickEvent e) -> {
|
||||
|
|
Loading…
Reference in a new issue