Modifier and Type | Field and Description |
---|---|
private Advancement |
AdvancementTreeNode.advancement |
private Advancement |
ICriterionTrigger.Listener.advancement |
private Advancement |
PlayerAdvancements.lastSelectedTab |
private Advancement |
Advancement.parent |
private Advancement |
Advancement.Builder.parent |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<ResourceLocation,Advancement> |
AdvancementList.advancements |
private java.util.Set<Advancement> |
Advancement.children |
private java.util.Set<Advancement> |
AdvancementList.nonRoots |
private java.util.Map<Advancement,AdvancementProgress> |
PlayerAdvancements.progress |
private java.util.Set<Advancement> |
PlayerAdvancements.progressChanged |
private java.util.Set<Advancement> |
AdvancementList.roots |
private java.util.Set<Advancement> |
PlayerAdvancements.visibilityChanged |
private java.util.Set<Advancement> |
PlayerAdvancements.visible |
Modifier and Type | Method and Description |
---|---|
Advancement |
Advancement.Builder.build(ResourceLocation id) |
Advancement |
AdvancementList.getAdvancement(ResourceLocation id) |
Advancement |
AdvancementManager.getAdvancement(ResourceLocation id) |
Advancement |
Advancement.getParent() |
Advancement |
Advancement.Builder.register(java.util.function.Consumer<Advancement> consumer,
java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Advancement> |
AdvancementList.getAll() |
java.util.Collection<Advancement> |
AdvancementManager.getAllAdvancements() |
java.lang.Iterable<Advancement> |
Advancement.getChildren() |
java.lang.Iterable<Advancement> |
AdvancementList.getRoots() |
Modifier and Type | Method and Description |
---|---|
void |
Advancement.addChild(Advancement advancementIn) |
private AdvancementTreeNode |
AdvancementTreeNode.buildSubTree(Advancement advancementIn,
AdvancementTreeNode previous) |
private void |
PlayerAdvancements.ensureVisibility(Advancement p_192742_1_) |
AdvancementProgress |
PlayerAdvancements.getProgress(Advancement advancementIn) |
boolean |
PlayerAdvancements.grantCriterion(Advancement advancementIn,
java.lang.String criterionKey) |
private boolean |
PlayerAdvancements.hasCompletedChildrenOrSelf(Advancement p_192746_1_) |
static void |
AdvancementTreeNode.layout(Advancement root) |
void |
AdvancementList.IListener.nonRootAdvancementAdded(Advancement advancementIn) |
void |
AdvancementList.IListener.nonRootAdvancementRemoved(Advancement advancementIn) |
private void |
PlayerAdvancements.registerListeners(Advancement advancementIn) |
private void |
AdvancementList.remove(Advancement advancementIn) |
boolean |
PlayerAdvancements.revokeCriterion(Advancement advancementIn,
java.lang.String criterionKey) |
void |
AdvancementList.IListener.rootAdvancementAdded(Advancement advancementIn) |
void |
AdvancementList.IListener.rootAdvancementRemoved(Advancement advancementIn) |
void |
PlayerAdvancements.setSelectedTab(Advancement p_194220_1_) |
private boolean |
PlayerAdvancements.shouldBeVisible(Advancement p_192738_1_) |
private void |
PlayerAdvancements.startProgress(Advancement advancementIn,
AdvancementProgress p_192743_2_) |
private void |
PlayerAdvancements.unregisterListeners(Advancement advancementIn) |
Advancement.Builder |
Advancement.Builder.withParent(Advancement parentIn) |
Modifier and Type | Method and Description |
---|---|
Advancement |
Advancement.Builder.register(java.util.function.Consumer<Advancement> consumer,
java.lang.String id) |
boolean |
Advancement.Builder.resolveParent(java.util.function.Function<ResourceLocation,Advancement> lookup) |
Constructor and Description |
---|
Advancement(ResourceLocation id,
Advancement parentIn,
DisplayInfo displayIn,
AdvancementRewards rewardsIn,
java.util.Map<java.lang.String,Criterion> criteriaIn,
java.lang.String[][] requirementsIn) |
AdvancementTreeNode(Advancement advancementIn,
AdvancementTreeNode parentIn,
AdvancementTreeNode siblingIn,
int indexIn,
int xIn) |
Listener(T criterionInstanceIn,
Advancement advancementIn,
java.lang.String criterionNameIn) |
Modifier and Type | Field and Description |
---|---|
private Advancement |
AdvancementTabGui.advancement |
private Advancement |
AdvancementEntryGui.advancement |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<Advancement,AdvancementEntryGui> |
AdvancementTabGui.guis |
private java.util.Map<Advancement,AdvancementTabGui> |
AdvancementsScreen.tabs |
Modifier and Type | Method and Description |
---|---|
Advancement |
AdvancementTabGui.getAdvancement() |
Modifier and Type | Method and Description |
---|---|
void |
AdvancementTabGui.addAdvancement(Advancement p_191800_1_) |
private void |
AdvancementTabGui.addGuiAdvancement(AdvancementEntryGui p_193937_1_,
Advancement p_193937_2_) |
static AdvancementTabGui |
AdvancementTabGui.create(Minecraft p_193936_0_,
AdvancementsScreen p_193936_1_,
int p_193936_2_,
Advancement p_193936_3_) |
AdvancementEntryGui |
AdvancementTabGui.getAdvancementGui(Advancement p_191794_1_) |
AdvancementEntryGui |
AdvancementsScreen.getAdvancementGui(Advancement p_191938_1_) |
private AdvancementEntryGui |
AdvancementEntryGui.getFirstVisibleParent(Advancement advancementIn) |
private AdvancementTabGui |
AdvancementsScreen.getTab(Advancement p_191935_1_) |
void |
AdvancementsScreen.nonRootAdvancementAdded(Advancement advancementIn) |
void |
AdvancementsScreen.nonRootAdvancementRemoved(Advancement advancementIn) |
void |
AdvancementsScreen.onUpdateAdvancementProgress(Advancement advancementIn,
AdvancementProgress progress) |
void |
AdvancementsScreen.rootAdvancementAdded(Advancement advancementIn) |
void |
AdvancementsScreen.rootAdvancementRemoved(Advancement advancementIn) |
void |
AdvancementsScreen.setSelectedTab(Advancement advancementIn) |
Constructor and Description |
---|
AdvancementEntryGui(AdvancementTabGui p_i47385_1_,
Minecraft p_i47385_2_,
Advancement p_i47385_3_,
DisplayInfo p_i47385_4_) |
AdvancementTabGui(Minecraft p_i47589_1_,
AdvancementsScreen p_i47589_2_,
AdvancementTabType p_i47589_3_,
int p_i47589_4_,
Advancement p_i47589_5_,
DisplayInfo p_i47589_6_) |
AdvancementTabGui(Minecraft mc,
AdvancementsScreen screen,
AdvancementTabType type,
int index,
int page,
Advancement adv,
DisplayInfo info) |
Modifier and Type | Field and Description |
---|---|
private Advancement |
AdvancementToast.advancement |
Constructor and Description |
---|
AdvancementToast(Advancement advancementIn) |
Modifier and Type | Field and Description |
---|---|
private Advancement |
ClientAdvancementManager.selectedTab |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<Advancement,AdvancementProgress> |
ClientAdvancementManager.advancementToProgress |
Modifier and Type | Method and Description |
---|---|
void |
ClientAdvancementManager.IListener.onUpdateAdvancementProgress(Advancement advancementIn,
AdvancementProgress progress) |
void |
ClientAdvancementManager.IListener.setSelectedTab(Advancement advancementIn) |
void |
ClientAdvancementManager.setSelectedTab(Advancement advancementIn,
boolean tellServer) |
Modifier and Type | Method and Description |
---|---|
static Advancement |
ResourceLocationArgument.getAdvancement(com.mojang.brigadier.context.CommandContext<CommandSource> context,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
private static java.util.List<Advancement> |
AdvancementCommand.getMatchingAdvancements(Advancement advancementIn,
AdvancementCommand.Mode mode) |
Modifier and Type | Method and Description |
---|---|
private static void |
AdvancementCommand.addAllChildren(Advancement advancementIn,
java.util.List<Advancement> list) |
protected abstract boolean |
AdvancementCommand.Action.applyToAdvancement(ServerPlayerEntity player,
Advancement advancementIn) |
protected abstract boolean |
AdvancementCommand.Action.applyToCriterion(ServerPlayerEntity player,
Advancement advancementIn,
java.lang.String criterionName) |
private static java.util.List<Advancement> |
AdvancementCommand.getMatchingAdvancements(Advancement advancementIn,
AdvancementCommand.Mode mode) |
private static int |
AdvancementCommand.updateCriterion(CommandSource source,
java.util.Collection<ServerPlayerEntity> targets,
AdvancementCommand.Action action,
Advancement advancementIn,
java.lang.String criterionName) |
Modifier and Type | Method and Description |
---|---|
private static void |
AdvancementCommand.addAllChildren(Advancement advancementIn,
java.util.List<Advancement> list) |
int |
AdvancementCommand.Action.applyToAdvancements(ServerPlayerEntity player,
java.lang.Iterable<Advancement> advancements) |
private static int |
AdvancementCommand.forEachAdvancement(CommandSource source,
java.util.Collection<ServerPlayerEntity> targets,
AdvancementCommand.Action action,
java.util.Collection<Advancement> advancements) |
Modifier and Type | Field and Description |
---|---|
private java.util.List<java.util.function.Consumer<java.util.function.Consumer<Advancement>>> |
AdvancementProvider.advancements |
Modifier and Type | Method and Description |
---|---|
private static java.nio.file.Path |
AdvancementProvider.getPath(java.nio.file.Path pathIn,
Advancement advancementIn) |
Modifier and Type | Method and Description |
---|---|
void |
EndAdvancements.accept(java.util.function.Consumer<Advancement> p_accept_1_) |
void |
NetherAdvancements.accept(java.util.function.Consumer<Advancement> p_accept_1_) |
void |
StoryAdvancements.accept(java.util.function.Consumer<Advancement> p_accept_1_) |
void |
HusbandryAdvancements.accept(java.util.function.Consumer<Advancement> p_accept_1_) |
void |
AdventureAdvancements.accept(java.util.function.Consumer<Advancement> p_accept_1_) |
Modifier and Type | Method and Description |
---|---|
static CSeenAdvancementsPacket |
CSeenAdvancementsPacket.openedTab(Advancement p_194163_0_) |
Constructor and Description |
---|
SAdvancementInfoPacket(boolean p_i47519_1_,
java.util.Collection<Advancement> p_i47519_2_,
java.util.Set<ResourceLocation> p_i47519_3_,
java.util.Map<ResourceLocation,AdvancementProgress> p_i47519_4_) |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<Advancement,java.util.List<Advancement>> |
AdvancementLoadFix.roots |
private static java.util.Map<Advancement,java.util.List<Advancement>> |
AdvancementLoadFix.roots |
Modifier and Type | Method and Description |
---|---|
private static com.google.common.graph.Graph<Advancement> |
AdvancementLoadFix.buildGraph(Advancement root) |
Modifier and Type | Method and Description |
---|---|
private static void |
AdvancementLoadFix.addEdgesAndChildren(Advancement root,
com.google.common.graph.MutableGraph<Advancement> tree) |
private static com.google.common.graph.Graph<Advancement> |
AdvancementLoadFix.buildGraph(Advancement root) |
private static boolean |
AdvancementLoadFix.containsAncestor(Advancement adv,
java.util.Set<Advancement> set) |
static void |
ForgeHooks.onAdvancement(ServerPlayerEntity player,
Advancement advancement) |
private static void |
AdvancementLoadFix.updateVisibility(Advancement adv,
java.util.Set<Advancement> visible,
java.util.Set<Advancement> visibilityChanged,
java.util.Map<Advancement,AdvancementProgress> progress,
java.util.Set<Advancement> progressChanged,
java.util.function.Predicate<Advancement> shouldBeVisible) |
Modifier and Type | Method and Description |
---|---|
private static void |
AdvancementLoadFix.addEdgesAndChildren(Advancement root,
com.google.common.graph.MutableGraph<Advancement> tree) |
static void |
AdvancementLoadFix.buildSortedTrees(java.util.Set<Advancement> roots) |
private static boolean |
AdvancementLoadFix.containsAncestor(Advancement adv,
java.util.Set<Advancement> set) |
static void |
AdvancementLoadFix.loadVisibility(PlayerAdvancements playerAdvancements,
java.util.Set<Advancement> visible,
java.util.Set<Advancement> visibilityChanged,
java.util.Map<Advancement,AdvancementProgress> progress,
java.util.Set<Advancement> progressChanged,
java.util.function.Predicate<Advancement> shouldBeVisible) |
static void |
AdvancementLoadFix.loadVisibility(PlayerAdvancements playerAdvancements,
java.util.Set<Advancement> visible,
java.util.Set<Advancement> visibilityChanged,
java.util.Map<Advancement,AdvancementProgress> progress,
java.util.Set<Advancement> progressChanged,
java.util.function.Predicate<Advancement> shouldBeVisible) |
static void |
AdvancementLoadFix.loadVisibility(PlayerAdvancements playerAdvancements,
java.util.Set<Advancement> visible,
java.util.Set<Advancement> visibilityChanged,
java.util.Map<Advancement,AdvancementProgress> progress,
java.util.Set<Advancement> progressChanged,
java.util.function.Predicate<Advancement> shouldBeVisible) |
static void |
AdvancementLoadFix.loadVisibility(PlayerAdvancements playerAdvancements,
java.util.Set<Advancement> visible,
java.util.Set<Advancement> visibilityChanged,
java.util.Map<Advancement,AdvancementProgress> progress,
java.util.Set<Advancement> progressChanged,
java.util.function.Predicate<Advancement> shouldBeVisible) |
static void |
AdvancementLoadFix.loadVisibility(PlayerAdvancements playerAdvancements,
java.util.Set<Advancement> visible,
java.util.Set<Advancement> visibilityChanged,
java.util.Map<Advancement,AdvancementProgress> progress,
java.util.Set<Advancement> progressChanged,
java.util.function.Predicate<Advancement> shouldBeVisible) |
private static void |
AdvancementLoadFix.updateVisibility(Advancement adv,
java.util.Set<Advancement> visible,
java.util.Set<Advancement> visibilityChanged,
java.util.Map<Advancement,AdvancementProgress> progress,
java.util.Set<Advancement> progressChanged,
java.util.function.Predicate<Advancement> shouldBeVisible) |
private static void |
AdvancementLoadFix.updateVisibility(Advancement adv,
java.util.Set<Advancement> visible,
java.util.Set<Advancement> visibilityChanged,
java.util.Map<Advancement,AdvancementProgress> progress,
java.util.Set<Advancement> progressChanged,
java.util.function.Predicate<Advancement> shouldBeVisible) |
private static void |
AdvancementLoadFix.updateVisibility(Advancement adv,
java.util.Set<Advancement> visible,
java.util.Set<Advancement> visibilityChanged,
java.util.Map<Advancement,AdvancementProgress> progress,
java.util.Set<Advancement> progressChanged,
java.util.function.Predicate<Advancement> shouldBeVisible) |
private static void |
AdvancementLoadFix.updateVisibility(Advancement adv,
java.util.Set<Advancement> visible,
java.util.Set<Advancement> visibilityChanged,
java.util.Map<Advancement,AdvancementProgress> progress,
java.util.Set<Advancement> progressChanged,
java.util.function.Predicate<Advancement> shouldBeVisible) |
private static void |
AdvancementLoadFix.updateVisibility(Advancement adv,
java.util.Set<Advancement> visible,
java.util.Set<Advancement> visibilityChanged,
java.util.Map<Advancement,AdvancementProgress> progress,
java.util.Set<Advancement> progressChanged,
java.util.function.Predicate<Advancement> shouldBeVisible) |
Modifier and Type | Field and Description |
---|---|
private Advancement |
AdvancementEvent.advancement |
Modifier and Type | Method and Description |
---|---|
Advancement |
AdvancementEvent.getAdvancement() |
Constructor and Description |
---|
AdvancementEvent(PlayerEntity player,
Advancement advancement) |