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
FieldsModifier and TypeFieldDescriptionprivate final IBidiRendererprivate final IBidiRendererprivate final IReorderingProcessorprotected final Minecraftprivate final IReorderingProcessorprivate final PackLoadingManager.IPackprivate ResourcePackListprotected final ScreenFields inherited from class net.minecraft.client.gui.widget.list.AbstractList.AbstractListEntry
list -
Constructor Summary
ConstructorsConstructorDescriptionResourcePackEntry(Minecraft p_i241201_1_, ResourcePackList p_i241201_2_, Screen p_i241201_3_, PackLoadingManager.IPack p_i241201_4_) -
Method Summary
Modifier and TypeMethodDescriptionprivate static IBidiRenderercacheDescription(Minecraft p_244425_0_, ITextComponent p_244425_1_) private static IReorderingProcessorcacheName(Minecraft p_244424_0_, ITextComponent p_244424_1_) booleanmouseClicked(double p_231044_1_, double p_231044_3_, int p_231044_5_) voidrender(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 booleanMethods inherited from class net.minecraft.client.gui.widget.list.ExtendedList.AbstractListEntry
changeFocusMethods inherited from class net.minecraft.client.gui.widget.list.AbstractList.AbstractListEntry
isMouseOverMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
renderin classAbstractList.AbstractListEntry<ResourcePackList.ResourcePackEntry>
-
showHoverOverlay
private boolean showHoverOverlay() -
mouseClicked
public boolean mouseClicked(double p_231044_1_, double p_231044_3_, int p_231044_5_)
-