Class CreateFlatWorldScreen.DetailsList.LayerEntry
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<CreateFlatWorldScreen.DetailsList.Entry>
net.minecraft.client.gui.components.ObjectSelectionList.Entry<CreateFlatWorldScreen.DetailsList.Entry>
net.minecraft.client.gui.screens.CreateFlatWorldScreen.DetailsList.Entry
net.minecraft.client.gui.screens.CreateFlatWorldScreen.DetailsList.LayerEntry
- All Implemented Interfaces:
GuiEventListener, TabOrderedElement, LayoutElement, NarrationSupplier
- Enclosing class:
CreateFlatWorldScreen.DetailsList
private class CreateFlatWorldScreen.DetailsList.LayerEntry
extends CreateFlatWorldScreen.DetailsList.Entry
-
Field Summary
FieldsFields inherited from class AbstractSelectionList.Entry
CONTENT_PADDING, list -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidblitSlot(GuiGraphics graphics, int x, int y, ItemStack itemStack) private voidblitSlotBg(GuiGraphics graphics, int x, int y) private ItemStackgetDisplayItem(BlockState blockState) booleanmouseClicked(MouseButtonEvent event, boolean doubleClick) voidrenderContent(GuiGraphics graphics, int mouseX, int mouseY, boolean hovered, float a) Methods inherited from class ObjectSelectionList.Entry
updateNarrationMethods inherited from class AbstractSelectionList.Entry
getContentBottom, getContentHeight, getContentRight, getContentWidth, getContentX, getContentXMiddle, getContentY, getContentYMiddle, getHeight, getRectangle, getWidth, getX, getY, isFocused, isMouseOver, setFocused, setHeight, setWidth, setX, setY, visitWidgetsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface GuiEventListener
charTyped, getBorderForArrowNavigation, getCurrentFocusPath, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPath, shouldTakeFocusAfterInteractionMethods inherited from interface LayoutElement
setPositionMethods inherited from interface TabOrderedElement
getTabOrderGroup
-
Field Details
-
layerInfo
-
index
private final int index
-
-
Constructor Details
-
LayerEntry
-
-
Method Details
-
renderContent
- Specified by:
renderContentin classAbstractSelectionList.Entry<CreateFlatWorldScreen.DetailsList.Entry>
-
getDisplayItem
-
getNarration
- Specified by:
getNarrationin classObjectSelectionList.Entry<CreateFlatWorldScreen.DetailsList.Entry>
-
mouseClicked
- Specified by:
mouseClickedin interfaceGuiEventListener- Overrides:
mouseClickedin classObjectSelectionList.Entry<CreateFlatWorldScreen.DetailsList.Entry>
-
blitSlot
-
blitSlotBg
-