public class PokeCheckerButton extends IndexedButton
PCScreen for a proper implementation.idNO_TOOLTIP, onPress, onTooltip| Constructor and Description |
|---|
PokeCheckerButton(net.minecraft.client.gui.screen.Screen parent) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isMouseOver(double mouseX,
double mouseY) |
boolean |
mouseClicked(double par1,
double par2,
int par3) |
void |
render(com.mojang.blaze3d.matrix.MatrixStack matrix,
int mouseX,
int mouseY,
float partialTicks) |
void |
setPokemon(PokemonStorage storage,
StoragePosition position,
Pokemon pokemon,
double mouseX,
double mouseY) |
getID, setMessageonPress, renderButton, renderToolTipkeyPressed, onClickchangeFocus, clearFGColor, clicked, createNarrationMessage, getFGColor, getHeight, getMessage, getWidth, getYImage, isFocused, isHovered, isValidClickButton, mouseDragged, mouseReleased, narrate, onDrag, onFocusedChanged, onRelease, playDownSound, queueNarration, renderBg, setAlpha, setFGColor, setFocused, setHeight, setMessage, setWidthblit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLinepublic PokeCheckerButton(net.minecraft.client.gui.screen.Screen parent)
public void setPokemon(PokemonStorage storage, StoragePosition position, Pokemon pokemon, double mouseX, double mouseY)
public boolean isMouseOver(double mouseX,
double mouseY)
isMouseOver in interface net.minecraft.client.gui.IGuiEventListenerisMouseOver in class net.minecraft.client.gui.widget.Widgetpublic boolean mouseClicked(double par1,
double par2,
int par3)
mouseClicked in interface net.minecraft.client.gui.IGuiEventListenermouseClicked in class net.minecraft.client.gui.widget.Widgetpublic void render(com.mojang.blaze3d.matrix.MatrixStack matrix,
int mouseX,
int mouseY,
float partialTicks)
render in interface net.minecraft.client.gui.IRenderablerender in class net.minecraft.client.gui.widget.Widget