Class BedrockRealmsScreen.SlotEntry
java.lang.Object
net.minecraft.client.gui.components.ObjectSelectionList.Entry<VFPListEntry>
com.viaversion.viafabricplus.screen.VFPListEntry
com.viaversion.viafabricplus.screen.impl.realms.BedrockRealmsScreen.SlotEntry
- 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:
BedrockRealmsScreen
-
Field Summary
Fields inherited from class com.viaversion.viafabricplus.screen.VFPListEntry
SCISSORS_OFFSET, SLOT_MARGIN -
Constructor Summary
ConstructorsConstructorDescriptionSlotEntry(BedrockRealmsScreen.SlotList slotList, net.raphimc.minecraftauth.extra.realms.model.RealmsServer realmsServer) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.network.chat.ComponentvoidmappedRender(net.minecraft.client.gui.GuiGraphics context, int x, int y, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Methods inherited from class com.viaversion.viafabricplus.screen.VFPListEntry
mappedMouseClicked, mouseClicked, renderContent, renderScrollableText, renderScrollableText, renderTooltipMethods inherited from class net.minecraft.client.gui.components.ObjectSelectionList.Entry
updateNarrationMethods 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
-
Constructor Details
-
SlotEntry
public SlotEntry(BedrockRealmsScreen.SlotList slotList, net.raphimc.minecraftauth.extra.realms.model.RealmsServer realmsServer)
-
-
Method Details
-
getNarration
public net.minecraft.network.chat.Component getNarration()- Specified by:
getNarrationin classnet.minecraft.client.gui.components.ObjectSelectionList.Entry<VFPListEntry>
-
mappedRender
public void mappedRender(net.minecraft.client.gui.GuiGraphics context, int x, int y, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) - Overrides:
mappedRenderin classVFPListEntry
-