Class ScrollableListEntry<T extends ScrollableListEntry<T>>
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<E>
net.minecraft.client.gui.components.ObjectSelectionList.Entry<T>
info.u_team.u_team_core.gui.elements.ScrollableListEntry<T>
- All Implemented Interfaces:
net.minecraft.client.gui.components.events.GuiEventListener,net.minecraft.client.gui.components.TabOrderedElement,net.minecraft.client.gui.narration.NarrationSupplier
public abstract class ScrollableListEntry<T extends ScrollableListEntry<T>>
extends net.minecraft.client.gui.components.ObjectSelectionList.Entry<T>
-
Field Summary
FieldsFields inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
listFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected <B extends net.minecraft.client.gui.components.events.GuiEventListener>
BaddChildren(B listener) protected net.minecraft.client.gui.components.AbstractSelectionList<T>getList()booleanmouseClicked(double mouseX, double mouseY, int button) booleanmouseDragged(double mouseX, double mouseY, int button, double dragX, double dragY) booleanmouseReleased(double mouseX, double mouseY, int button) abstract voidrender(com.mojang.blaze3d.vertex.PoseStack poseStack, int index, int top, int left, int width, int height, int mouseX, int mouseY, boolean hovered, float partialTick) Methods inherited from class net.minecraft.client.gui.components.ObjectSelectionList.Entry
getNarration, updateNarrationMethods inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
isFocused, isMouseOver, renderBack, setFocusedMethods 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, getCurrentFocusPath, getRectangle, keyPressed, keyReleased, mouseMoved, mouseScrolled, nextFocusPathMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
minecraft
protected final net.minecraft.client.Minecraft minecraft
-
-
Constructor Details
-
ScrollableListEntry
public ScrollableListEntry()
-
-
Method Details
-
addChildren
protected <B extends net.minecraft.client.gui.components.events.GuiEventListener> B addChildren(B listener) -
mouseClicked
public boolean mouseClicked(double mouseX, double mouseY, int button) -
mouseReleased
public boolean mouseReleased(double mouseX, double mouseY, int button) -
mouseDragged
public boolean mouseDragged(double mouseX, double mouseY, int button, double dragX, double dragY) -
render
public abstract void render(com.mojang.blaze3d.vertex.PoseStack poseStack, int index, int top, int left, int width, int height, int mouseX, int mouseY, boolean hovered, float partialTick) - Specified by:
renderin classnet.minecraft.client.gui.components.AbstractSelectionList.Entry<T extends ScrollableListEntry<T>>
-
getList
-