修复射击诸元gui渲染问题
This commit is contained in:
parent
644056e2e9
commit
97a03c50ee
1 changed files with 5 additions and 2 deletions
|
@ -9,6 +9,7 @@ import net.minecraft.client.GameNarrator;
|
|||
import net.minecraft.client.gui.GuiGraphics;
|
||||
import net.minecraft.client.gui.components.AbstractButton;
|
||||
import net.minecraft.client.gui.components.EditBox;
|
||||
import net.minecraft.client.gui.components.Renderable;
|
||||
import net.minecraft.client.gui.narration.NarrationElementOutput;
|
||||
import net.minecraft.client.gui.screens.Screen;
|
||||
import net.minecraft.network.chat.Component;
|
||||
|
@ -76,9 +77,11 @@ public class FiringParametersScreen extends Screen {
|
|||
|
||||
@Override
|
||||
public void render(@NotNull GuiGraphics pGuiGraphics, int pMouseX, int pMouseY, float pPartialTick) {
|
||||
// TODO 解决渲染问题
|
||||
super.render(pGuiGraphics, pMouseX, pMouseY, pPartialTick);
|
||||
this.renderBackground(pGuiGraphics, pMouseX, pMouseY, pPartialTick);
|
||||
this.renderBg(pGuiGraphics, pMouseX, pMouseY);
|
||||
for (Renderable renderable : this.renderables) {
|
||||
renderable.render(pGuiGraphics, pMouseX, pMouseY, pPartialTick);
|
||||
}
|
||||
this.renderPositions(pGuiGraphics, pMouseX, pMouseY, pPartialTick);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue