Class SearchableTrackedNPCSelectionList.Entry
java.lang.Object
com.pixelmonmod.pixelmon.client.gui.npc.widget.SearchableTrackedNPCSelectionList.Entry
- All Implemented Interfaces:
net.minecraft.client.gui.components.events.GuiEventListener
,net.minecraft.client.gui.components.TabOrderedElement
- Enclosing class:
- SearchableTrackedNPCSelectionList
-
Field Summary
Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetNpc()
boolean
mouseClicked
(double p_94737_, double p_94738_, int p_94739_) void
render
(net.minecraft.client.gui.GuiGraphics guiGraphics, int entryIdx, int top, int left, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean isMouseOver, float partialTick) static void
renderEntityInInventory
(net.minecraft.client.gui.GuiGraphics graphics, float x, float y, int scale, org.joml.Vector3f translation, org.joml.Quaternionf rotation, org.joml.Quaternionf cameraOverride, NPC entity) static void
renderEntityInInventoryFollowsMouse
(net.minecraft.client.gui.GuiGraphics graphics, int x0, int y0, int x1, int y1, int scale, float offset, float mouseX, float mouseY, NPC entity) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
charTyped, getCurrentFocusPath, getRectangle, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPath
Methods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Constructor Details
-
Entry
-
-
Method Details
-
render
public void render(net.minecraft.client.gui.GuiGraphics guiGraphics, int entryIdx, int top, int left, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean isMouseOver, float partialTick) -
renderEntityInInventoryFollowsMouse
public static void renderEntityInInventoryFollowsMouse(net.minecraft.client.gui.GuiGraphics graphics, int x0, int y0, int x1, int y1, int scale, float offset, float mouseX, float mouseY, NPC entity) -
renderEntityInInventory
public static void renderEntityInInventory(net.minecraft.client.gui.GuiGraphics graphics, float x, float y, int scale, org.joml.Vector3f translation, org.joml.Quaternionf rotation, @Nullable org.joml.Quaternionf cameraOverride, NPC entity) -
mouseClicked
public boolean mouseClicked(double p_94737_, double p_94738_, int p_94739_) -
getNpc
-