修复狗牌GUI问题
This commit is contained in:
parent
a34fe36a2b
commit
b27b4d6da7
1 changed files with 4 additions and 1 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.core.component.DataComponents;
|
||||
|
@ -84,7 +85,9 @@ public class DogTagEditorScreen extends Screen {
|
|||
public void render(@NotNull GuiGraphics pGuiGraphics, int pMouseX, int pMouseY, float pPartialTick) {
|
||||
this.renderBackground(pGuiGraphics, pMouseX, pMouseY, pPartialTick);
|
||||
this.renderBg(pGuiGraphics);
|
||||
super.render(pGuiGraphics, pMouseX, pMouseY, pPartialTick);
|
||||
for (Renderable renderable : this.renderables) {
|
||||
renderable.render(pGuiGraphics, pMouseX, pMouseY, pPartialTick);
|
||||
}
|
||||
this.name.render(pGuiGraphics, pMouseX, pMouseY, pPartialTick);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue