Package net.minecraft.client.gui.screen
Class PresetsScreen.SuperflatPresetsListWidget.SuperflatPresetEntry
java.lang.Object
net.minecraft.client.gui.widget.EntryListWidget.Entry<E>
net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.Entry<PresetsScreen.SuperflatPresetsListWidget.SuperflatPresetEntry>
net.minecraft.client.gui.screen.PresetsScreen.SuperflatPresetsListWidget.SuperflatPresetEntry
- All Implemented Interfaces:
Element
- Enclosing class:
- PresetsScreen.SuperflatPresetsListWidget
@Environment(CLIENT) public class PresetsScreen.SuperflatPresetsListWidget.SuperflatPresetEntry extends AlwaysSelectedEntryListWidget.Entry<PresetsScreen.SuperflatPresetsListWidget.SuperflatPresetEntry>
-
Constructor Summary
Constructors Constructor Description SuperflatPresetEntry() -
Method Summary
Modifier and Type Method Description private voidmethod_2198(MatrixStack matrixStack, int int2, int int3)private voidmethod_2200(MatrixStack matrixStack, int int2, int int3, Item item)booleanmouseClicked(double mouseX, double mouseY, int button)voidrender(MatrixStack matrices, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta)private voidsetPreset()Methods inherited from class net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.Entry
changeFocusMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
charTyped, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled
-
Constructor Details
-
SuperflatPresetEntry
public SuperflatPresetEntry()
-
-
Method Details
-
render
public void render(MatrixStack matrices, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta)- Specified by:
renderin classEntryListWidget.Entry<PresetsScreen.SuperflatPresetsListWidget.SuperflatPresetEntry>
-
mouseClicked
public boolean mouseClicked(double mouseX, double mouseY, int button) -
setPreset
private void setPreset() -
method_2200
-
method_2198
-