Package net.minecraft.client.gui
Class AbstractGui
- java.lang.Object
-
- net.minecraft.client.gui.AbstractGui
-
- Direct Known Subclasses:
AdvancementEntryGui
,AdvancementTabGui
,BossOverlayGui
,DebugOverlayGui
,FocusableGui
,IngameGui
,LoadingGui
,NewChatGui
,PlayerTabOverlayGui
,RecipeBookGui
,RecipeOverlayGui
,SpectatorGui
,SubtitleOverlayGui
,ToastGui
,Widget
public abstract class AbstractGui extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static ResourceLocation
BACKGROUND_LOCATION
private int
blitOffset
static ResourceLocation
GUI_ICONS_LOCATION
static ResourceLocation
STATS_ICON_LOCATION
-
Constructor Summary
Constructors Constructor Description AbstractGui()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
blit(MatrixStack p_238463_0_, int p_238463_1_, int p_238463_2_, float p_238463_3_, float p_238463_4_, int p_238463_5_, int p_238463_6_, int p_238463_7_, int p_238463_8_)
static void
blit(MatrixStack p_238464_0_, int p_238464_1_, int p_238464_2_, int p_238464_3_, float p_238464_4_, float p_238464_5_, int p_238464_6_, int p_238464_7_, int p_238464_8_, int p_238464_9_)
static void
blit(MatrixStack p_238466_0_, int p_238466_1_, int p_238466_2_, int p_238466_3_, int p_238466_4_, float p_238466_5_, float p_238466_6_, int p_238466_7_, int p_238466_8_, int p_238466_9_, int p_238466_10_)
void
blit(MatrixStack p_238474_1_, int p_238474_2_, int p_238474_3_, int p_238474_4_, int p_238474_5_, int p_238474_6_, int p_238474_7_)
static void
blit(MatrixStack p_238470_0_, int p_238470_1_, int p_238470_2_, int p_238470_3_, int p_238470_4_, int p_238470_5_, TextureAtlasSprite p_238470_6_)
void
blitOutlineBlack(int p_238459_1_, int p_238459_2_, java.util.function.BiConsumer<java.lang.Integer,java.lang.Integer> p_238459_3_)
static void
drawCenteredString(MatrixStack p_238471_0_, FontRenderer p_238471_1_, java.lang.String p_238471_2_, int p_238471_3_, int p_238471_4_, int p_238471_5_)
static void
drawCenteredString(MatrixStack p_238472_0_, FontRenderer p_238472_1_, ITextComponent p_238472_2_, int p_238472_3_, int p_238472_4_, int p_238472_5_)
static void
drawString(MatrixStack p_238476_0_, FontRenderer p_238476_1_, java.lang.String p_238476_2_, int p_238476_3_, int p_238476_4_, int p_238476_5_)
static void
drawString(MatrixStack p_238475_0_, FontRenderer p_238475_1_, ITextComponent p_238475_2_, int p_238475_3_, int p_238475_4_, int p_238475_5_)
static void
fill(MatrixStack p_238467_0_, int p_238467_1_, int p_238467_2_, int p_238467_3_, int p_238467_4_, int p_238467_5_)
protected void
fillGradient(MatrixStack p_238468_1_, int p_238468_2_, int p_238468_3_, int p_238468_4_, int p_238468_5_, int p_238468_6_, int p_238468_7_)
protected static void
fillGradient(Matrix4f p_238462_0_, BufferBuilder p_238462_1_, int p_238462_2_, int p_238462_3_, int p_238462_4_, int p_238462_5_, int p_238462_6_, int p_238462_7_, int p_238462_8_)
int
getBlitOffset()
protected void
hLine(MatrixStack p_238465_1_, int p_238465_2_, int p_238465_3_, int p_238465_4_, int p_238465_5_)
private static void
innerBlit(MatrixStack p_238469_0_, int p_238469_1_, int p_238469_2_, int p_238469_3_, int p_238469_4_, int p_238469_5_, int p_238469_6_, int p_238469_7_, float p_238469_8_, float p_238469_9_, int p_238469_10_, int p_238469_11_)
private static void
innerBlit(Matrix4f p_238461_0_, int p_238461_1_, int p_238461_2_, int p_238461_3_, int p_238461_4_, int p_238461_5_, float p_238461_6_, float p_238461_7_, float p_238461_8_, float p_238461_9_)
private static void
innerFill(Matrix4f p_238460_0_, int p_238460_1_, int p_238460_2_, int p_238460_3_, int p_238460_4_, int p_238460_5_)
void
setBlitOffset(int p_230926_1_)
protected void
vLine(MatrixStack p_238473_1_, int p_238473_2_, int p_238473_3_, int p_238473_4_, int p_238473_5_)
-
-
-
Field Detail
-
BACKGROUND_LOCATION
public static final ResourceLocation BACKGROUND_LOCATION
-
STATS_ICON_LOCATION
public static final ResourceLocation STATS_ICON_LOCATION
-
GUI_ICONS_LOCATION
public static final ResourceLocation GUI_ICONS_LOCATION
-
blitOffset
private int blitOffset
-
-
Method Detail
-
hLine
protected void hLine(MatrixStack p_238465_1_, int p_238465_2_, int p_238465_3_, int p_238465_4_, int p_238465_5_)
-
vLine
protected void vLine(MatrixStack p_238473_1_, int p_238473_2_, int p_238473_3_, int p_238473_4_, int p_238473_5_)
-
fill
public static void fill(MatrixStack p_238467_0_, int p_238467_1_, int p_238467_2_, int p_238467_3_, int p_238467_4_, int p_238467_5_)
-
innerFill
private static void innerFill(Matrix4f p_238460_0_, int p_238460_1_, int p_238460_2_, int p_238460_3_, int p_238460_4_, int p_238460_5_)
-
fillGradient
protected void fillGradient(MatrixStack p_238468_1_, int p_238468_2_, int p_238468_3_, int p_238468_4_, int p_238468_5_, int p_238468_6_, int p_238468_7_)
-
fillGradient
protected static void fillGradient(Matrix4f p_238462_0_, BufferBuilder p_238462_1_, int p_238462_2_, int p_238462_3_, int p_238462_4_, int p_238462_5_, int p_238462_6_, int p_238462_7_, int p_238462_8_)
-
drawCenteredString
public static void drawCenteredString(MatrixStack p_238471_0_, FontRenderer p_238471_1_, java.lang.String p_238471_2_, int p_238471_3_, int p_238471_4_, int p_238471_5_)
-
drawCenteredString
public static void drawCenteredString(MatrixStack p_238472_0_, FontRenderer p_238472_1_, ITextComponent p_238472_2_, int p_238472_3_, int p_238472_4_, int p_238472_5_)
-
drawString
public static void drawString(MatrixStack p_238476_0_, FontRenderer p_238476_1_, java.lang.String p_238476_2_, int p_238476_3_, int p_238476_4_, int p_238476_5_)
-
drawString
public static void drawString(MatrixStack p_238475_0_, FontRenderer p_238475_1_, ITextComponent p_238475_2_, int p_238475_3_, int p_238475_4_, int p_238475_5_)
-
blitOutlineBlack
public void blitOutlineBlack(int p_238459_1_, int p_238459_2_, java.util.function.BiConsumer<java.lang.Integer,java.lang.Integer> p_238459_3_)
-
blit
public static void blit(MatrixStack p_238470_0_, int p_238470_1_, int p_238470_2_, int p_238470_3_, int p_238470_4_, int p_238470_5_, TextureAtlasSprite p_238470_6_)
-
blit
public void blit(MatrixStack p_238474_1_, int p_238474_2_, int p_238474_3_, int p_238474_4_, int p_238474_5_, int p_238474_6_, int p_238474_7_)
-
blit
public static void blit(MatrixStack p_238464_0_, int p_238464_1_, int p_238464_2_, int p_238464_3_, float p_238464_4_, float p_238464_5_, int p_238464_6_, int p_238464_7_, int p_238464_8_, int p_238464_9_)
-
blit
public static void blit(MatrixStack p_238466_0_, int p_238466_1_, int p_238466_2_, int p_238466_3_, int p_238466_4_, float p_238466_5_, float p_238466_6_, int p_238466_7_, int p_238466_8_, int p_238466_9_, int p_238466_10_)
-
blit
public static void blit(MatrixStack p_238463_0_, int p_238463_1_, int p_238463_2_, float p_238463_3_, float p_238463_4_, int p_238463_5_, int p_238463_6_, int p_238463_7_, int p_238463_8_)
-
innerBlit
private static void innerBlit(MatrixStack p_238469_0_, int p_238469_1_, int p_238469_2_, int p_238469_3_, int p_238469_4_, int p_238469_5_, int p_238469_6_, int p_238469_7_, float p_238469_8_, float p_238469_9_, int p_238469_10_, int p_238469_11_)
-
innerBlit
private static void innerBlit(Matrix4f p_238461_0_, int p_238461_1_, int p_238461_2_, int p_238461_3_, int p_238461_4_, int p_238461_5_, float p_238461_6_, float p_238461_7_, float p_238461_8_, float p_238461_9_)
-
getBlitOffset
public int getBlitOffset()
-
setBlitOffset
public void setBlitOffset(int p_230926_1_)
-
-