public class ArrowButtonScreenAddon extends BasicButtonAddon
| Constructor and Description |
|---|
ArrowButtonScreenAddon(ArrowButtonComponent button) |
| Modifier and Type | Method and Description |
|---|---|
void |
drawBackgroundLayer(com.mojang.blaze3d.matrix.MatrixStack stack,
net.minecraft.client.gui.screen.Screen screen,
IAssetProvider provider,
int guiX,
int guiY,
int mouseX,
int mouseY,
float partialTicks)
Draws the component in the background layer
|
void |
drawForegroundLayer(com.mojang.blaze3d.matrix.MatrixStack stack,
net.minecraft.client.gui.screen.Screen screen,
IAssetProvider provider,
int guiX,
int guiY,
int mouseX,
int mouseY)
Draws the component in the foreground layer
|
IAssetType<IAsset> |
getAssetFromSideness(FacingUtil.Sideness sideness) |
int |
getXSize() |
int |
getYSize() |
getButton, getTooltipLines, handleClickgetPosX, getPosY, isInside, setPosX, setPosYclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinit, isBackground, keyPressedpublic ArrowButtonScreenAddon(ArrowButtonComponent button)
public int getXSize()
getXSize in class BasicButtonAddonpublic int getYSize()
getYSize in class BasicButtonAddonpublic void drawBackgroundLayer(com.mojang.blaze3d.matrix.MatrixStack stack,
net.minecraft.client.gui.screen.Screen screen,
IAssetProvider provider,
int guiX,
int guiY,
int mouseX,
int mouseY,
float partialTicks)
IScreenAddondrawBackgroundLayer in interface IScreenAddondrawBackgroundLayer in class BasicButtonAddonscreen - The current open screenprovider - The current asset provider used in the GUIguiX - The gui X in the top left cornerguiY - The gui Y in the top left cornermouseX - The current mouse XmouseY - The current mouse YpartialTicks - Partial tickspublic void drawForegroundLayer(com.mojang.blaze3d.matrix.MatrixStack stack,
net.minecraft.client.gui.screen.Screen screen,
IAssetProvider provider,
int guiX,
int guiY,
int mouseX,
int mouseY)
IScreenAddondrawForegroundLayer in interface IScreenAddondrawForegroundLayer in class BasicButtonAddonscreen - The current open screenprovider - The current asset provider used in the GUIguiX - The gui X in the top left cornerguiY - The gui Y in the top left cornermouseX - The current mouse XmouseY - The current mouse Ypublic IAssetType<IAsset> getAssetFromSideness(FacingUtil.Sideness sideness)