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
Fields Modifier and Type Field Description private IBidiRenderer
descriptionDisplayCache
private IBidiRenderer
incompatibleDescriptionDisplayCache
private IReorderingProcessor
incompatibleNameDisplayCache
protected Minecraft
minecraft
private IReorderingProcessor
nameDisplayCache
private PackLoadingManager.IPack
pack
private ResourcePackList
parent
protected Screen
screen
-
Fields inherited from class net.minecraft.client.gui.widget.list.AbstractList.AbstractListEntry
list
-
-
Constructor Summary
Constructors Constructor Description ResourcePackEntry(Minecraft p_i241201_1_, ResourcePackList p_i241201_2_, Screen p_i241201_3_, PackLoadingManager.IPack p_i241201_4_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private 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
showHoverOverlay()
-
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 Detail
-
parent
private ResourcePackList parent
-
minecraft
protected final Minecraft minecraft
-
screen
protected final Screen screen
-
pack
private final PackLoadingManager.IPack pack
-
nameDisplayCache
private final IReorderingProcessor nameDisplayCache
-
descriptionDisplayCache
private final IBidiRenderer descriptionDisplayCache
-
incompatibleNameDisplayCache
private final IReorderingProcessor incompatibleNameDisplayCache
-
incompatibleDescriptionDisplayCache
private final IBidiRenderer incompatibleDescriptionDisplayCache
-
-
Constructor Detail
-
ResourcePackEntry
public ResourcePackEntry(Minecraft p_i241201_1_, ResourcePackList p_i241201_2_, Screen p_i241201_3_, PackLoadingManager.IPack p_i241201_4_)
-
-
Method Detail
-
cacheName
private static IReorderingProcessor cacheName(Minecraft p_244424_0_, ITextComponent p_244424_1_)
-
cacheDescription
private static IBidiRenderer cacheDescription(Minecraft p_244425_0_, ITextComponent p_244425_1_)
-
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_)
-
-