public class AdvancementEntryGui extends AbstractGui
Modifier and Type | Field and Description |
---|---|
private Advancement |
advancement |
private AdvancementProgress |
advancementProgress |
private java.util.List<AdvancementEntryGui> |
children |
private java.util.List<java.lang.String> |
description |
private DisplayInfo |
displayInfo |
private AdvancementTabGui |
guiAdvancementTab |
private Minecraft |
minecraft |
private AdvancementEntryGui |
parent |
private static java.util.regex.Pattern |
PATTERN |
private java.lang.String |
title |
private static ResourceLocation |
WIDGETS |
private int |
width |
private int |
x |
private int |
y |
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
Constructor and Description |
---|
AdvancementEntryGui(AdvancementTabGui p_i47385_1_,
Minecraft p_i47385_2_,
Advancement p_i47385_3_,
DisplayInfo p_i47385_4_) |
Modifier and Type | Method and Description |
---|---|
void |
addGuiAdvancement(AdvancementEntryGui guiAdvancementIn) |
void |
attachToParent() |
void |
draw(int p_191817_1_,
int p_191817_2_) |
void |
drawConnectivity(int p_191819_1_,
int p_191819_2_,
boolean p_191819_3_) |
void |
drawHover(int p_191821_1_,
int p_191821_2_,
float p_191821_3_,
int p_191821_4_,
int p_191821_5_) |
private java.util.List<java.lang.String> |
findOptimalLines(java.lang.String p_192995_1_,
int p_192995_2_) |
private AdvancementEntryGui |
getFirstVisibleParent(Advancement advancementIn) |
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(int p_192994_1_,
int p_192994_2_,
int p_192994_3_,
int p_192994_4_,
int p_192994_5_,
int p_192994_6_,
int p_192994_7_,
int p_192994_8_,
int p_192994_9_) |
protected void |
renderRepeating(int p_192993_1_,
int p_192993_2_,
int p_192993_3_,
int p_192993_4_,
int p_192993_5_,
int p_192993_6_,
int p_192993_7_,
int p_192993_8_) |
void |
setAdvancementProgress(AdvancementProgress advancementProgressIn) |
blit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fill, fillGradient, getBlitOffset, hLine, innerBlit, setBlitOffset, vLine
private static final ResourceLocation WIDGETS
private static final java.util.regex.Pattern PATTERN
private final AdvancementTabGui guiAdvancementTab
private final Advancement advancement
private final DisplayInfo displayInfo
private final java.lang.String title
private final int width
private final java.util.List<java.lang.String> description
private final Minecraft minecraft
private AdvancementEntryGui parent
private final java.util.List<AdvancementEntryGui> children
private AdvancementProgress advancementProgress
private final int x
private final int y
public AdvancementEntryGui(AdvancementTabGui p_i47385_1_, Minecraft p_i47385_2_, Advancement p_i47385_3_, DisplayInfo p_i47385_4_)
private java.util.List<java.lang.String> findOptimalLines(java.lang.String p_192995_1_, int p_192995_2_)
@Nullable private AdvancementEntryGui getFirstVisibleParent(Advancement advancementIn)
public void drawConnectivity(int p_191819_1_, int p_191819_2_, boolean p_191819_3_)
public void draw(int p_191817_1_, int p_191817_2_)
public void setAdvancementProgress(AdvancementProgress advancementProgressIn)
public void addGuiAdvancement(AdvancementEntryGui guiAdvancementIn)
public void drawHover(int p_191821_1_, int p_191821_2_, float p_191821_3_, int p_191821_4_, int p_191821_5_)
protected void render9Sprite(int p_192994_1_, int p_192994_2_, int p_192994_3_, int p_192994_4_, int p_192994_5_, int p_192994_6_, int p_192994_7_, int p_192994_8_, int p_192994_9_)
protected void renderRepeating(int p_192993_1_, int p_192993_2_, int p_192993_3_, int p_192993_4_, int p_192993_5_, int p_192993_6_, int p_192993_7_, int p_192993_8_)
public boolean isMouseOver(int p_191816_1_, int p_191816_2_, int p_191816_3_, int p_191816_4_)
public void attachToParent()
public int getY()
public int getX()