@Environment(value=CLIENT) public static class PackListWidget.ResourcePackEntry extends AlwaysSelectedEntryListWidget.Entry<PackListWidget.ResourcePackEntry>
| Modifier and Type | Field and Description |
|---|---|
protected MinecraftClient |
client |
private class_5481 |
field_26590 |
private class_5489 |
field_26591 |
private ResourcePackOrganizer.Pack |
pack |
protected Screen |
screen |
private PackListWidget |
widget |
| Constructor and Description |
|---|
ResourcePackEntry(MinecraftClient client,
PackListWidget widget,
Screen screen,
ResourcePackOrganizer.Pack pack) |
| 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 widget
protected final MinecraftClient client
protected final Screen screen
private final ResourcePackOrganizer.Pack pack
private final class_5481 field_26590
private final class_5489 field_26591
public ResourcePackEntry(MinecraftClient client, PackListWidget widget, Screen screen, ResourcePackOrganizer.Pack pack)
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)