Class AttributeFilterScreen
java.lang.Object
net.minecraft.client.gui.GuiComponent
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.inventory.AbstractContainerScreen<T>
com.simibubi.create.foundation.gui.container.AbstractSimiContainerScreen<F>
com.simibubi.create.content.logistics.item.filter.AbstractFilterScreen<AttributeFilterContainer>
com.simibubi.create.content.logistics.item.filter.AttributeFilterScreen
- All Implemented Interfaces:
net.minecraft.client.gui.components.events.ContainerEventHandler,net.minecraft.client.gui.components.events.GuiEventListener,net.minecraft.client.gui.components.Widget,net.minecraft.client.gui.screens.inventory.MenuAccess<AttributeFilterContainer>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.Screen.NarratableSearchResult -
Field Summary
Fields inherited from class com.simibubi.create.content.logistics.item.filter.AbstractFilterScreen
backgroundFields inherited from class com.simibubi.create.foundation.gui.container.AbstractSimiContainerScreen
windowXOffset, windowYOffsetFields inherited from class net.minecraft.client.gui.screens.inventory.AbstractContainerScreen
hoveredSlot, imageHeight, imageWidth, INVENTORY_LOCATION, inventoryLabelX, inventoryLabelY, isQuickCrafting, leftPos, menu, playerInventoryTitle, quickCraftSlots, SLOT_ITEM_BLIT_OFFSET, slotColor, titleLabelX, titleLabelY, topPosFields inherited from class net.minecraft.client.gui.screens.Screen
font, height, itemRenderer, minecraft, passEvents, renderables, title, widthFields inherited from class net.minecraft.client.gui.GuiComponent
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATIONFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS -
Constructor Summary
ConstructorsConstructorDescriptionAttributeFilterScreen(AttributeFilterContainer container, net.minecraft.world.entity.player.Inventory inv, net.minecraft.network.chat.Component title) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidprotected List<IconButton>protected List<net.minecraft.network.chat.MutableComponent>protected booleanhandleAddedAttibute(boolean inverted) protected voidinit()protected booleanisButtonEnabled(IconButton button) protected booleanisIndicatorOn(Indicator indicator) voidrenderForeground(com.mojang.blaze3d.vertex.PoseStack matrixStack, int mouseX, int mouseY, float partialTicks) protected voidrenderTooltip(com.mojang.blaze3d.vertex.PoseStack matrixStack, int mouseX, int mouseY) Methods inherited from class com.simibubi.create.content.logistics.item.filter.AbstractFilterScreen
getExtraAreas, handleIndicators, handleTooltips, renderBg, sendOptionUpdateMethods inherited from class com.simibubi.create.foundation.gui.container.AbstractSimiContainerScreen
addRenderableWidgets, addRenderableWidgets, debugExtraAreas, debugWindowArea, getFocused, getLeftOfCentered, keyPressed, removeWidgets, removeWidgets, render, renderLabels, renderPlayerInventory, setWindowOffset, setWindowSizeMethods inherited from class net.minecraft.client.gui.screens.inventory.AbstractContainerScreen
checkHotbarKeyPressed, getGuiLeft, getGuiTop, getMenu, getSlotColor, getSlotUnderMouse, getXSize, getYSize, hasClickedOutside, isHovering, isPauseScreen, mouseClicked, mouseDragged, mouseReleased, onClose, removed, renderSlotHighlight, renderSlotHighlight, slotClicked, tickMethods inherited from class net.minecraft.client.gui.screens.Screen
addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, children, clearWidgets, findNarratableWidget, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, hideWidgets, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrationEnabled, onFilesDrop, removeWidget, renderBackground, renderBackground, renderComponentHoverEffect, renderComponentTooltip, renderComponentTooltip, renderComponentTooltip, renderComponentTooltip, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.GuiComponent
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, fill, fillGradient, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLineMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandler
changeFocus, charTyped, getChildAt, keyReleased, magicalSpecialHackyFocus, mouseScrolled, setInitialFocusMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
mouseMoved
-
Constructor Details
-
AttributeFilterScreen
public AttributeFilterScreen(AttributeFilterContainer container, net.minecraft.world.entity.player.Inventory inv, net.minecraft.network.chat.Component title)
-
-
Method Details
-
init
protected void init()- Overrides:
initin classAbstractFilterScreen<AttributeFilterContainer>
-
renderForeground
public void renderForeground(com.mojang.blaze3d.vertex.PoseStack matrixStack, int mouseX, int mouseY, float partialTicks) - Overrides:
renderForegroundin classAbstractSimiContainerScreen<AttributeFilterContainer>
-
containerTick
protected void containerTick()- Overrides:
containerTickin classAbstractFilterScreen<AttributeFilterContainer>
-
renderTooltip
protected void renderTooltip(com.mojang.blaze3d.vertex.PoseStack matrixStack, int mouseX, int mouseY) - Overrides:
renderTooltipin classnet.minecraft.client.gui.screens.inventory.AbstractContainerScreen<AttributeFilterContainer>
-
getTooltipButtons
- Overrides:
getTooltipButtonsin classAbstractFilterScreen<AttributeFilterContainer>
-
getTooltipDescriptions
- Overrides:
getTooltipDescriptionsin classAbstractFilterScreen<AttributeFilterContainer>
-
getIndicators
- Overrides:
getIndicatorsin classAbstractFilterScreen<AttributeFilterContainer>
-
handleAddedAttibute
protected boolean handleAddedAttibute(boolean inverted) -
contentsCleared
protected void contentsCleared()- Overrides:
contentsClearedin classAbstractFilterScreen<AttributeFilterContainer>
-
isButtonEnabled
- Specified by:
isButtonEnabledin classAbstractFilterScreen<AttributeFilterContainer>
-
isIndicatorOn
- Specified by:
isIndicatorOnin classAbstractFilterScreen<AttributeFilterContainer>
-