Package net.minecraft.client.gui.screens
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
FieldsModifier and TypeFieldDescriptionprivate final Componentprivate final FlatLevelGeneratorPresetprivate static final IdentifierFields inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
CONTENT_PADDING, list -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidblitSlot(GuiGraphics pGuiGraphics, int pX, int pY, Item pItem) private voidblitSlotBg(GuiGraphics pGuiGraphics, int pX, int pY) booleanmouseClicked(MouseButtonEvent p_446890_, boolean p_435038_) voidrenderContent(GuiGraphics p_439027_, int p_439504_, int p_440223_, boolean p_438973_, float p_439944_) (package private) voidselect()Methods inherited from class net.minecraft.client.gui.components.ObjectSelectionList.Entry
updateNarrationMethods inherited from class net.minecraft.client.gui.components.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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
charTyped, getBorderForArrowNavigation, getCurrentFocusPath, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPath, shouldTakeFocusAfterInteractionMethods inherited from interface net.minecraft.client.gui.layouts.LayoutElement
setPositionMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
STATS_ICON_LOCATION
-
preset
-
name
-
-
Constructor Details
-
Entry
-
-
Method Details
-
renderContent
public void renderContent(GuiGraphics p_439027_, int p_439504_, int p_440223_, boolean p_438973_, float p_439944_) - Specified by:
renderContentin classAbstractSelectionList.Entry<PresetFlatWorldScreen.PresetsList.Entry>
-
mouseClicked
- Specified by:
mouseClickedin interfaceGuiEventListener- Overrides:
mouseClickedin classObjectSelectionList.Entry<PresetFlatWorldScreen.PresetsList.Entry>
-
select
void select() -
blitSlot
-
blitSlotBg
-
getNarration
- Specified by:
getNarrationin classObjectSelectionList.Entry<PresetFlatWorldScreen.PresetsList.Entry>
-