public class GameModeMenuEntry extends MenuEntry
| Modifier and Type | Field and Description |
|---|---|
net.minecraft.world.GameType |
gameMode |
java.lang.String |
text |
| Constructor and Description |
|---|
GameModeMenuEntry(net.minecraft.world.GameType gameMode) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<? extends net.minecraft.client.gui.IGuiEventListener> |
children() |
int |
getEntryHeight() |
int |
getEntryWidth() |
boolean |
mouseClicked(double mouseX,
double mouseY,
int button) |
void |
render(com.mojang.blaze3d.matrix.MatrixStack matrices,
int mouseX,
int mouseY,
float delta) |
void |
updateInformation(int xPos,
int yPos,
boolean selected,
boolean containsMouse,
boolean rendering,
int width) |
containsMouse, containsMouse, containsMouse, getZ, isMouseOver, setZgetFocused, isDragging, setDragging, setFocusedblit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, innerBlit, setBlitOffset, vLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic final java.lang.String text
public final net.minecraft.world.GameType gameMode
public GameModeMenuEntry(net.minecraft.world.GameType gameMode)
public int getEntryWidth()
getEntryWidth in class MenuEntrypublic int getEntryHeight()
getEntryHeight in class MenuEntrypublic java.util.List<? extends net.minecraft.client.gui.IGuiEventListener> children()
public void updateInformation(int xPos,
int yPos,
boolean selected,
boolean containsMouse,
boolean rendering,
int width)
updateInformation in class MenuEntrypublic void render(com.mojang.blaze3d.matrix.MatrixStack matrices,
int mouseX,
int mouseY,
float delta)
public boolean mouseClicked(double mouseX,
double mouseY,
int button)