@Environment(value=CLIENT) public static class PackListWidget.ResourcePackEntry extends AlwaysSelectedEntryListWidget.Entry<PackListWidget.ResourcePackEntry>
| Modifier and Type | Field and Description |
|---|---|
protected MinecraftClient |
client |
protected Screen |
field_25476 |
private PackListWidget |
resourcePackList |
private class_5369.class_5371 |
screen |
| Constructor and Description |
|---|
ResourcePackEntry(MinecraftClient minecraftClient,
PackListWidget packListWidget,
Screen screen,
class_5369.class_5371 class_5371) |
| Modifier and Type | Method and Description |
|---|---|
private boolean |
isSelectable() |
boolean |
mouseClicked(double mouseX,
double mouseY,
int button) |
void |
render(MatrixStack matrices,
int index,
int y,
int x,
int entryWidth,
int entryHeight,
int mouseX,
int mouseY,
boolean hovered,
float tickDelta) |
changeFocusisMouseOverclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcharTyped, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolledprivate PackListWidget resourcePackList
protected final MinecraftClient client
protected final Screen field_25476
private final class_5369.class_5371 screen
public ResourcePackEntry(MinecraftClient minecraftClient, PackListWidget packListWidget, Screen screen, class_5369.class_5371 class_5371)
public void render(MatrixStack matrices, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta)
render in class EntryListWidget.Entry<PackListWidget.ResourcePackEntry>private boolean isSelectable()
public boolean mouseClicked(double mouseX,
double mouseY,
int button)