Class ResourcePackList.ResourcePackEntry
java.lang.Object
net.minecraft.client.gui.widget.list.AbstractList.AbstractListEntry<E>
net.minecraft.client.gui.widget.list.ExtendedList.AbstractListEntry<ResourcePackList.ResourcePackEntry>
net.minecraft.client.gui.widget.list.ResourcePackList.ResourcePackEntry
- All Implemented Interfaces:
IGuiEventListener
- Enclosing class:
- ResourcePackList
public static class ResourcePackList.ResourcePackEntry
extends ExtendedList.AbstractListEntry<ResourcePackList.ResourcePackEntry>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final IBidiRenderer
private final IBidiRenderer
private final IReorderingProcessor
protected final Minecraft
private final IReorderingProcessor
private final PackLoadingManager.IPack
private ResourcePackList
protected final Screen
Fields inherited from class net.minecraft.client.gui.widget.list.AbstractList.AbstractListEntry
list
-
Constructor Summary
ConstructorDescriptionResourcePackEntry
(Minecraft p_i241201_1_, ResourcePackList p_i241201_2_, Screen p_i241201_3_, PackLoadingManager.IPack p_i241201_4_) -
Method Summary
Modifier and TypeMethodDescriptionprivate static IBidiRenderer
cacheDescription
(Minecraft p_244425_0_, ITextComponent p_244425_1_) private static IReorderingProcessor
cacheName
(Minecraft p_244424_0_, ITextComponent p_244424_1_) boolean
mouseClicked
(double p_231044_1_, double p_231044_3_, int p_231044_5_) void
render
(MatrixStack p_230432_1_, int p_230432_2_, int p_230432_3_, int p_230432_4_, int p_230432_5_, int p_230432_6_, int p_230432_7_, int p_230432_8_, boolean p_230432_9_, float p_230432_10_) private boolean
Methods inherited from class net.minecraft.client.gui.widget.list.ExtendedList.AbstractListEntry
changeFocus
Methods inherited from class net.minecraft.client.gui.widget.list.AbstractList.AbstractListEntry
isMouseOver
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.IGuiEventListener
charTyped, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled
-
Field Details
-
parent
-
minecraft
-
screen
-
pack
-
nameDisplayCache
-
descriptionDisplayCache
-
incompatibleNameDisplayCache
-
incompatibleDescriptionDisplayCache
-
-
Constructor Details
-
ResourcePackEntry
public ResourcePackEntry(Minecraft p_i241201_1_, ResourcePackList p_i241201_2_, Screen p_i241201_3_, PackLoadingManager.IPack p_i241201_4_)
-
-
Method Details
-
cacheName
-
cacheDescription
-
render
public void render(MatrixStack p_230432_1_, int p_230432_2_, int p_230432_3_, int p_230432_4_, int p_230432_5_, int p_230432_6_, int p_230432_7_, int p_230432_8_, boolean p_230432_9_, float p_230432_10_) - Specified by:
render
in classAbstractList.AbstractListEntry<ResourcePackList.ResourcePackEntry>
-
showHoverOverlay
private boolean showHoverOverlay() -
mouseClicked
public boolean mouseClicked(double p_231044_1_, double p_231044_3_, int p_231044_5_)
-