public class PokeCheckerButton extends IndexedButton
PCScreen
for a proper implementation.id
NO_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, setMessage
onPress, renderButton, renderToolTip
keyPressed, onClick
changeFocus, 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, setWidth
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
public 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.IGuiEventListener
isMouseOver
in class net.minecraft.client.gui.widget.Widget
public boolean mouseClicked(double par1, double par2, int par3)
mouseClicked
in interface net.minecraft.client.gui.IGuiEventListener
mouseClicked
in class net.minecraft.client.gui.widget.Widget
public void render(com.mojang.blaze3d.matrix.MatrixStack matrix, int mouseX, int mouseY, float partialTicks)
render
in interface net.minecraft.client.gui.IRenderable
render
in class net.minecraft.client.gui.widget.Widget