public abstract class AbstractFilterScreen<F extends AbstractFilterContainer> extends AbstractSimiContainerScreen<F>
| Modifier and Type | Field and Description |
|---|---|
protected AllGuiTextures |
background |
widgets, windowXOffset, windowYOffsethoveredSlot, imageHeight, imageWidth, inventory, INVENTORY_LOCATION, inventoryLabelX, inventoryLabelY, isQuickCrafting, leftPos, menu, quickCraftSlots, slotColor, titleLabelX, titleLabelY, topPos| Modifier | Constructor and Description |
|---|---|
protected |
AbstractFilterScreen(F container,
net.minecraft.entity.player.PlayerInventory inv,
net.minecraft.util.text.ITextComponent title,
AllGuiTextures background) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
contentsCleared() |
java.util.List<net.minecraft.client.renderer.Rectangle2d> |
getExtraAreas()
Used for moving JEI out of the way of extra things like Flexcrate renders.
|
protected java.util.List<IconButton> |
getTooltipButtons() |
protected java.util.List<net.minecraft.util.text.IFormattableTextComponent> |
getTooltipDescriptions() |
void |
handleIndicators() |
protected void |
handleTooltips() |
protected void |
init() |
protected abstract boolean |
isButtonEnabled(IconButton button) |
protected abstract boolean |
isIndicatorOn(Indicator indicator) |
boolean |
mouseClicked(double x,
double y,
int button) |
protected void |
renderWindow(com.mojang.blaze3d.matrix.MatrixStack ms,
int mouseX,
int mouseY,
float partialTicks) |
protected void |
sendOptionUpdate(FilterScreenPacket.Option option) |
void |
tick() |
charTyped, debugExtraAreas, debugWindowArea, getItemCountTextScale, getLeftOfCentered, keyPressed, mouseReleased, mouseScrolled, render, renderBg, renderItemOverlayIntoGUI, renderLabels, renderPlayerInventory, renderWindowForeground, setWindowOffset, setWindowSizecheckHotbarKeyPressed, getGuiLeft, getGuiTop, getMenu, getSlotColor, getSlotUnderMouse, getXSize, getYSize, hasClickedOutside, isHovering, isPauseScreen, mouseDragged, onClose, removed, renderTooltip, slotClickedaddButton, addWidget, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, onFilesDrop, renderBackground, renderBackground, renderComponentHoverEffect, renderComponentTooltip, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderToolTip, renderWrappedToolTip, resize, sendMessage, sendMessage, shouldCloseOnEsc, wrapScreenErrorgetFocused, isDragging, setDragging, setFocusedblit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected AllGuiTextures background
protected AbstractFilterScreen(F container, net.minecraft.entity.player.PlayerInventory inv, net.minecraft.util.text.ITextComponent title, AllGuiTextures background)
protected void init()
init in class AbstractSimiContainerScreen<F extends AbstractFilterContainer>protected void renderWindow(com.mojang.blaze3d.matrix.MatrixStack ms,
int mouseX,
int mouseY,
float partialTicks)
renderWindow in class AbstractSimiContainerScreen<F extends AbstractFilterContainer>public void tick()
tick in interface net.minecraft.client.gui.screen.IScreentick in class net.minecraft.client.gui.screen.inventory.ContainerScreen<F extends AbstractFilterContainer>public void handleIndicators()
protected abstract boolean isButtonEnabled(IconButton button)
protected abstract boolean isIndicatorOn(Indicator indicator)
protected void handleTooltips()
protected java.util.List<IconButton> getTooltipButtons()
protected java.util.List<net.minecraft.util.text.IFormattableTextComponent> getTooltipDescriptions()
public boolean mouseClicked(double x,
double y,
int button)
mouseClicked in interface net.minecraft.client.gui.IGuiEventListenermouseClicked in interface net.minecraft.client.gui.INestedGuiEventHandlermouseClicked in class AbstractSimiContainerScreen<F extends AbstractFilterContainer>protected void contentsCleared()
protected void sendOptionUpdate(FilterScreenPacket.Option option)
public java.util.List<net.minecraft.client.renderer.Rectangle2d> getExtraAreas()
AbstractSimiContainerScreenThis screen class must be bound to a SlotMover instance for this method to work.
getExtraAreas in class AbstractSimiContainerScreen<F extends AbstractFilterContainer>ContainerScreen.