Package net.minecraft.client.multiplayer
Class ClientAdvancementManager
- java.lang.Object
-
- net.minecraft.client.multiplayer.ClientAdvancementManager
-
public class ClientAdvancementManager extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ClientAdvancementManager.IListener
-
Field Summary
Fields Modifier and Type Field Description private AdvancementList
advancements
private ClientAdvancementManager.IListener
listener
private static org.apache.logging.log4j.Logger
LOGGER
private Minecraft
minecraft
private java.util.Map<Advancement,AdvancementProgress>
progress
private Advancement
selectedTab
-
Constructor Summary
Constructors Constructor Description ClientAdvancementManager(Minecraft p_i47380_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdvancementList
getAdvancements()
void
setListener(ClientAdvancementManager.IListener p_192798_1_)
void
setSelectedTab(Advancement p_194230_1_, boolean p_194230_2_)
void
update(SAdvancementInfoPacket p_192799_1_)
-
-
-
Field Detail
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER
-
minecraft
private final Minecraft minecraft
-
advancements
private final AdvancementList advancements
-
progress
private final java.util.Map<Advancement,AdvancementProgress> progress
-
listener
@Nullable private ClientAdvancementManager.IListener listener
-
selectedTab
@Nullable private Advancement selectedTab
-
-
Constructor Detail
-
ClientAdvancementManager
public ClientAdvancementManager(Minecraft p_i47380_1_)
-
-
Method Detail
-
update
public void update(SAdvancementInfoPacket p_192799_1_)
-
getAdvancements
public AdvancementList getAdvancements()
-
setSelectedTab
public void setSelectedTab(@Nullable Advancement p_194230_1_, boolean p_194230_2_)
-
setListener
public void setListener(@Nullable ClientAdvancementManager.IListener p_192798_1_)
-
-