修复雷达GUI问题
This commit is contained in:
parent
16ce71da61
commit
81fc926b5a
1 changed files with 8 additions and 0 deletions
|
@ -67,6 +67,12 @@ public class FuMO25Screen extends AbstractContainerScreen<FuMO25Menu> {
|
|||
|
||||
// 信息显示
|
||||
renderInfo(pGuiGraphics);
|
||||
|
||||
RenderSystem.depthMask(true);
|
||||
RenderSystem.defaultBlendFunc();
|
||||
RenderSystem.enableDepthTest();
|
||||
RenderSystem.disableBlend();
|
||||
RenderSystem.setShaderColor(1, 1, 1, 1);
|
||||
}
|
||||
|
||||
private void renderXLine(GuiGraphics guiGraphics, int i, int j) {
|
||||
|
@ -216,7 +222,9 @@ public class FuMO25Screen extends AbstractContainerScreen<FuMO25Menu> {
|
|||
@Override
|
||||
public void render(GuiGraphics pGuiGraphics, int pMouseX, int pMouseY, float pPartialTick) {
|
||||
this.renderBackground(pGuiGraphics);
|
||||
pGuiGraphics.pose().pushPose();
|
||||
super.render(pGuiGraphics, pMouseX, pMouseY, pPartialTick);
|
||||
pGuiGraphics.pose().popPose();
|
||||
this.renderTooltip(pGuiGraphics, pMouseX, pMouseY);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue