@Environment(value=CLIENT) public class BeaconScreen extends HandledScreen<BeaconScreenHandler>
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
BeaconScreen.BaseButtonWidget |
(package private) class |
BeaconScreen.CancelButtonWidget |
(package private) class |
BeaconScreen.DoneButtonWidget |
(package private) class |
BeaconScreen.EffectButtonWidget |
(package private) static class |
BeaconScreen.IconButtonWidget |
| Modifier and Type | Field and Description |
|---|---|
private boolean |
consumeGem |
private BeaconScreen.DoneButtonWidget |
doneButton |
private StatusEffect |
primaryEffect |
private StatusEffect |
secondaryEffect |
private static Identifier |
TEXTURE |
BACKGROUND_TEXTURE, backgroundHeight, backgroundWidth, cursorDragSlots, focusedSlot, handler, isCursorDragging, playerInventory, x, ybuttons, children, client, height, itemRenderer, passEvents, textRenderer, title, widthGUI_ICONS_TEXTURE, STATS_ICON_TEXTURE| Constructor and Description |
|---|
BeaconScreen(BeaconScreenHandler handler,
PlayerInventory inventory,
Text title) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
drawBackground(MatrixStack matrixStack,
float float2,
int mouseY,
int int2) |
protected void |
drawForeground(MatrixStack matrixStack,
int int2,
int int3) |
protected void |
init() |
void |
render(MatrixStack matrixStack,
int mouseY,
int int2,
float float2) |
void |
tick() |
drawMouseoverTooltip, getScreenHandler, handleHotbarKeyPressed, isClickOutsideBounds, isPauseScreen, isPointWithinBounds, keyPressed, mouseClicked, mouseDragged, mouseReleased, onMouseClick, removed, shouldCloseOnEscaddButton, addChild, children, getNarrationMessage, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, onClose, renderBackground, renderBackground, renderDirtBackground, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, wrapScreenErrorgetFocused, isDragging, setDragging, setFocuseddrawCenteredString, drawHorizontalLine, drawSprite, drawString, drawTexture, drawTexture, drawTexture, drawTexture, drawVerticalLine, fill, fillGradient, getZOffset, method_27534, method_27535, setZOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchangeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseScrolled, setInitialFocusmouseMovedprivate static final Identifier TEXTURE
private BeaconScreen.DoneButtonWidget doneButton
private boolean consumeGem
private StatusEffect primaryEffect
private StatusEffect secondaryEffect
public BeaconScreen(BeaconScreenHandler handler, PlayerInventory inventory, Text title)
protected void init()
init in class HandledScreen<BeaconScreenHandler>public void tick()
tick in class HandledScreen<BeaconScreenHandler>protected void drawForeground(MatrixStack matrixStack, int int2, int int3)
drawForeground in class HandledScreen<BeaconScreenHandler>protected void drawBackground(MatrixStack matrixStack, float float2, int mouseY, int int2)
drawBackground in class HandledScreen<BeaconScreenHandler>public void render(MatrixStack matrixStack, int mouseY, int int2, float float2)
render in interface Drawablerender in class HandledScreen<BeaconScreenHandler>