Class AdvancementEntryGui
java.lang.Object
net.minecraft.client.gui.AbstractGui
net.minecraft.client.gui.advancements.AdvancementEntryGui
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Advancement
private final List<AdvancementEntryGui>
private final List<IReorderingProcessor>
private final DisplayInfo
private final Minecraft
private AdvancementEntryGui
private AdvancementProgress
private final AdvancementTabGui
private static final int[]
private final IReorderingProcessor
private static final ResourceLocation
private final int
private final int
private final int
Fields inherited from class net.minecraft.client.gui.AbstractGui
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
-
Constructor Summary
ConstructorDescriptionAdvancementEntryGui
(AdvancementTabGui p_i47385_1_, Minecraft p_i47385_2_, Advancement p_i47385_3_, DisplayInfo p_i47385_4_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addChild
(AdvancementEntryGui p_191822_1_) void
void
draw
(MatrixStack p_238688_1_, int p_238688_2_, int p_238688_3_) void
drawConnectivity
(MatrixStack p_238692_1_, int p_238692_2_, int p_238692_3_, boolean p_238692_4_) void
drawHover
(MatrixStack p_238689_1_, int p_238689_2_, int p_238689_3_, float p_238689_4_, int p_238689_5_, int p_238689_6_) private List<ITextProperties>
findOptimalLines
(ITextComponent p_238694_1_, int p_238694_2_) private AdvancementEntryGui
getFirstVisibleParent
(Advancement p_191818_1_) private static float
getMaxWidth
(CharacterManager p_238693_0_, List<ITextProperties> p_238693_1_) int
getX()
int
getY()
boolean
isMouseOver
(int p_191816_1_, int p_191816_2_, int p_191816_3_, int p_191816_4_) protected void
render9Sprite
(MatrixStack p_238691_1_, int p_238691_2_, int p_238691_3_, int p_238691_4_, int p_238691_5_, int p_238691_6_, int p_238691_7_, int p_238691_8_, int p_238691_9_, int p_238691_10_) protected void
renderRepeating
(MatrixStack p_238690_1_, int p_238690_2_, int p_238690_3_, int p_238690_4_, int p_238690_5_, int p_238690_6_, int p_238690_7_, int p_238690_8_, int p_238690_9_) void
setProgress
(AdvancementProgress p_191824_1_) Methods inherited from class net.minecraft.client.gui.AbstractGui
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
-
Field Details
-
WIDGETS_LOCATION
-
TEST_SPLIT_OFFSETS
private static final int[] TEST_SPLIT_OFFSETS -
tab
-
advancement
-
display
-
title
-
width
private final int width -
description
-
minecraft
-
parent
-
children
-
progress
-
x
private final int x -
y
private final int y
-
-
Constructor Details
-
AdvancementEntryGui
public AdvancementEntryGui(AdvancementTabGui p_i47385_1_, Minecraft p_i47385_2_, Advancement p_i47385_3_, DisplayInfo p_i47385_4_)
-
-
Method Details
-
getMaxWidth
-
findOptimalLines
-
getFirstVisibleParent
-
drawConnectivity
public void drawConnectivity(MatrixStack p_238692_1_, int p_238692_2_, int p_238692_3_, boolean p_238692_4_) -
draw
-
setProgress
-
addChild
-
drawHover
public void drawHover(MatrixStack p_238689_1_, int p_238689_2_, int p_238689_3_, float p_238689_4_, int p_238689_5_, int p_238689_6_) -
render9Sprite
protected void render9Sprite(MatrixStack p_238691_1_, int p_238691_2_, int p_238691_3_, int p_238691_4_, int p_238691_5_, int p_238691_6_, int p_238691_7_, int p_238691_8_, int p_238691_9_, int p_238691_10_) -
renderRepeating
protected void renderRepeating(MatrixStack p_238690_1_, int p_238690_2_, int p_238690_3_, int p_238690_4_, int p_238690_5_, int p_238690_6_, int p_238690_7_, int p_238690_8_, int p_238690_9_) -
isMouseOver
public boolean isMouseOver(int p_191816_1_, int p_191816_2_, int p_191816_3_, int p_191816_4_) -
attachToParent
public void attachToParent() -
getY
public int getY() -
getX
public int getX()
-