public abstract class BattleScreen extends BattleBaseScreen
Modifier and Type | Class and Description |
---|---|
static class |
BattleScreen.ActionButton |
static class |
BattleScreen.EnumBattleButton |
Modifier and Type | Field and Description |
---|---|
static net.minecraft.util.ResourceLocation |
BACKGROUND |
static net.minecraft.util.ResourceLocation |
DETAILS |
static net.minecraft.util.ResourceLocation |
MENU_BAG |
static net.minecraft.util.ResourceLocation |
MENU_BAG_DISABLED |
static net.minecraft.util.ResourceLocation |
MENU_BAG_ICON |
static net.minecraft.util.ResourceLocation |
MENU_POKE |
static net.minecraft.util.ResourceLocation |
MENU_POKE_DISABLED |
static net.minecraft.util.ResourceLocation |
MENU_POKE_ICON |
static net.minecraft.util.ResourceLocation |
MENU_RUN |
static net.minecraft.util.ResourceLocation |
MENU_RUN_DISABLED |
static net.minecraft.util.ResourceLocation |
MENU_RUN_ICON |
bm, mode, parent
Constructor and Description |
---|
BattleScreen(BattleScreen parent,
BattleMode mode)
Initializes the battle screen.
|
Modifier and Type | Method and Description |
---|---|
void |
drawButtons(com.mojang.blaze3d.matrix.MatrixStack matrix,
int mouseX,
int mouseY,
float partialTicks) |
boolean |
handleButtonClick(double mouseX,
double mouseY) |
void |
init() |
void |
renderBackground(com.mojang.blaze3d.matrix.MatrixStack matrix,
int width,
int height,
int mouseX,
int mouseY,
int vOffset) |
click, getMode, isScreen, render
addButton, addWidget, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, onClose, onFilesDrop, removed, render, renderBackground, renderBackground, renderComponentHoverEffect, renderComponentTooltip, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderToolTip, renderWrappedToolTip, resize, sendMessage, sendMessage, shouldCloseOnEsc, tick, wrapScreenError
getFocused, isDragging, setDragging, setFocused
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final net.minecraft.util.ResourceLocation BACKGROUND
public static final net.minecraft.util.ResourceLocation DETAILS
public static final net.minecraft.util.ResourceLocation MENU_BAG
public static final net.minecraft.util.ResourceLocation MENU_BAG_DISABLED
public static final net.minecraft.util.ResourceLocation MENU_BAG_ICON
public static final net.minecraft.util.ResourceLocation MENU_POKE
public static final net.minecraft.util.ResourceLocation MENU_POKE_DISABLED
public static final net.minecraft.util.ResourceLocation MENU_POKE_ICON
public static final net.minecraft.util.ResourceLocation MENU_RUN
public static final net.minecraft.util.ResourceLocation MENU_RUN_DISABLED
public static final net.minecraft.util.ResourceLocation MENU_RUN_ICON
public BattleScreen(BattleScreen parent, BattleMode mode)
parent
- The battle GUI that the screen is a part of.mode
- The mode represented by the screen.public void init()
init
in class net.minecraft.client.gui.screen.Screen
public void renderBackground(com.mojang.blaze3d.matrix.MatrixStack matrix, int width, int height, int mouseX, int mouseY, int vOffset)
renderBackground
in class BattleBaseScreen
public void drawButtons(com.mojang.blaze3d.matrix.MatrixStack matrix, int mouseX, int mouseY, float partialTicks)
public boolean handleButtonClick(double mouseX, double mouseY)