public static class GameModeFavoriteEntry.GameModeMenuEntry extends FavoriteMenuEntry
| Modifier and Type | Field and Description |
|---|---|
net.minecraft.world.GameType |
gameMode |
java.lang.String |
text |
closeMenu| 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) |
closeMenucontainsMouse, 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 FavoriteMenuEntrypublic int getEntryHeight()
getEntryHeight in class FavoriteMenuEntrypublic 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 FavoriteMenuEntrypublic void render(com.mojang.blaze3d.matrix.MatrixStack matrices,
int mouseX,
int mouseY,
float delta)
public boolean mouseClicked(double mouseX,
double mouseY,
int button)