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 VFPListEntry
SCISSORS_OFFSET, SLOT_MARGIN -
Constructor Summary
ConstructorsConstructorDescriptionSlotEntry(BedrockRealmsScreen.SlotList slotList, net.raphimc.minecraftauth.extra.realms.model.RealmsServer realmsServer) -
Method Summary
Modifier and TypeMethodDescription@NonNull net.minecraft.network.chat.ComponentvoidmappedRender(net.minecraft.client.gui.GuiGraphicsExtractor context, int x, int y, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Methods inherited from class VFPListEntry
extractContent, mappedMouseClicked, mouseClicked, renderScrollableText, renderScrollableText, renderTooltipMethods 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
-
SlotEntry
public SlotEntry(BedrockRealmsScreen.SlotList slotList, net.raphimc.minecraftauth.extra.realms.model.RealmsServer realmsServer)
-
-
Method Details
-
getNarration
public @NonNull 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.GuiGraphicsExtractor context, int x, int y, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) - Overrides:
mappedRenderin classVFPListEntry
-