Class ClassiCubeServerListScreen.ServerSlot
java.lang.Object
net.minecraft.client.gui.components.ObjectSelectionList.Entry<VFPListEntry>
com.viaversion.viafabricplus.screen.base.list.VFPListEntry
com.viaversion.viafabricplus.screen.impl.serverlist.ClassiCubeServerListScreen.ServerSlot
- All Implemented Interfaces:
net.minecraft.client.gui.components.events.GuiEventListener, net.minecraft.client.gui.components.TabOrderedElement, net.minecraft.client.gui.layouts.LayoutElement, net.minecraft.client.gui.narration.NarrationSupplier
- Enclosing class:
ClassiCubeServerListScreen
-
Field Summary
Fields inherited from class VFPListEntry
SLOT_MARGIN -
Constructor Summary
ConstructorsConstructorDescriptionServerSlot(de.florianreuth.classic4j.model.classicube.server.CCServerInfo classiCubeServerInfo) -
Method Summary
Modifier and TypeMethodDescription@NonNull net.minecraft.network.chat.ComponentvoidvoidmappedRender(net.minecraft.client.gui.GuiGraphicsExtractor context, int entryWidth, int entryHeight) Methods inherited from class VFPListEntry
extractContent, mouseClicked, renderScrollableTextMethods inherited from class net.minecraft.client.gui.components.ObjectSelectionList.Entry
updateNarrationMethods inherited from class 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, preeditUpdated, shouldTakeFocusAfterInteractionMethods inherited from interface net.minecraft.client.gui.layouts.LayoutElement
setPositionMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Constructor Details
-
ServerSlot
public ServerSlot(de.florianreuth.classic4j.model.classicube.server.CCServerInfo classiCubeServerInfo)
-
-
Method Details
-
getNarration
public @NonNull net.minecraft.network.chat.Component getNarration()- Specified by:
getNarrationin classnet.minecraft.client.gui.components.ObjectSelectionList.Entry<VFPListEntry>
-
mappedMouseClicked
public void mappedMouseClicked()- Overrides:
mappedMouseClickedin classVFPListEntry
-
mappedRender
public void mappedRender(net.minecraft.client.gui.GuiGraphicsExtractor context, int entryWidth, int entryHeight) - Overrides:
mappedRenderin classVFPListEntry
-