Class PresetFlatWorldScreen.PresetsList.Entry
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<PresetFlatWorldScreen.PresetsList.Entry>
net.minecraft.client.gui.components.ObjectSelectionList.Entry<PresetFlatWorldScreen.PresetsList.Entry>
net.minecraft.client.gui.screens.PresetFlatWorldScreen.PresetsList.Entry
- All Implemented Interfaces:
GuiEventListener, TabOrderedElement, LayoutElement, NarrationSupplier
- Enclosing class:
PresetFlatWorldScreen.PresetsList
public class PresetFlatWorldScreen.PresetsList.Entry
extends ObjectSelectionList.Entry<PresetFlatWorldScreen.PresetsList.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, Item item) private voidblitSlotBg(GuiGraphics graphics, int x, int y) booleanmouseClicked(MouseButtonEvent event, boolean doubleClick) voidrenderContent(GuiGraphics graphics, int mouseX, int mouseY, boolean hovered, float a) private voidselect()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
-
preset
-
name
-
-
Constructor Details
-
Entry
-
-
Method Details
-
renderContent
- Specified by:
renderContentin classAbstractSelectionList.Entry<PresetFlatWorldScreen.PresetsList.Entry>
-
mouseClicked
- Specified by:
mouseClickedin interfaceGuiEventListener- Overrides:
mouseClickedin classObjectSelectionList.Entry<PresetFlatWorldScreen.PresetsList.Entry>
-
select
private void select() -
blitSlot
-
blitSlotBg
-
getNarration
- Specified by:
getNarrationin classObjectSelectionList.Entry<PresetFlatWorldScreen.PresetsList.Entry>
-