Uses of Class
net.minecraft.advancements.Advancement
Package
Description
-
Uses of Advancement in net.minecraft.advancements
Modifier and TypeFieldDescriptionprivate final Advancement
AdvancementTreeNode.advancement
private final Advancement
ICriterionTrigger.Listener.advancement
private Advancement
PlayerAdvancements.lastSelectedTab
private Advancement
Advancement.Builder.parent
private final Advancement
Advancement.parent
Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
Advancement> AdvancementList.advancements
private final Map<Advancement,
AdvancementProgress> PlayerAdvancements.advancements
private final Set<Advancement>
Advancement.children
private final Set<Advancement>
PlayerAdvancements.progressChanged
private final Set<Advancement>
AdvancementList.roots
private final Set<Advancement>
AdvancementList.tasks
private final Set<Advancement>
PlayerAdvancements.visibilityChanged
private final Set<Advancement>
PlayerAdvancements.visible
Modifier and TypeMethodDescriptionAdvancement.Builder.build
(ResourceLocation p_192056_1_) AdvancementList.get
(ResourceLocation p_192084_1_) AdvancementManager.getAdvancement
(ResourceLocation p_192778_1_) Advancement.getParent()
Advancement.Builder.save
(Consumer<Advancement> p_203904_1_, String p_203904_2_) Modifier and TypeMethodDescriptionAdvancementList.getAllAdvancements()
AdvancementManager.getAllAdvancements()
Advancement.getChildren()
AdvancementList.getRoots()
Modifier and TypeMethodDescriptionvoid
Advancement.addChild
(Advancement p_192071_1_) private AdvancementTreeNode
AdvancementTreeNode.addChild
(Advancement p_192322_1_, AdvancementTreeNode p_192322_2_) boolean
PlayerAdvancements.award
(Advancement p_192750_1_, String p_192750_2_) private void
PlayerAdvancements.ensureVisibility
(Advancement p_192742_1_) PlayerAdvancements.getOrStartProgress
(Advancement p_192747_1_) private boolean
PlayerAdvancements.hasCompletedChildrenOrSelf
(Advancement p_192746_1_) void
AdvancementList.IListener.onAddAdvancementRoot
(Advancement p_191931_1_) void
AdvancementList.IListener.onAddAdvancementTask
(Advancement p_191932_1_) void
AdvancementList.IListener.onRemoveAdvancementRoot
(Advancement p_191928_1_) void
AdvancementList.IListener.onRemoveAdvancementTask
(Advancement p_191929_1_) Advancement.Builder.parent
(Advancement p_203905_1_) private void
PlayerAdvancements.registerListeners
(Advancement p_193764_1_) private void
AdvancementList.remove
(Advancement p_192090_1_) boolean
PlayerAdvancements.revoke
(Advancement p_192744_1_, String p_192744_2_) static void
AdvancementTreeNode.run
(Advancement p_192323_0_) void
PlayerAdvancements.setSelectedTab
(Advancement p_194220_1_) private boolean
PlayerAdvancements.shouldBeVisible
(Advancement p_192738_1_) private void
PlayerAdvancements.startProgress
(Advancement p_192743_1_, AdvancementProgress p_192743_2_) private void
PlayerAdvancements.unregisterListeners
(Advancement p_193765_1_) Modifier and TypeMethodDescriptionboolean
Advancement.Builder.canBuild
(Function<ResourceLocation, Advancement> p_192058_1_) Advancement.Builder.save
(Consumer<Advancement> p_203904_1_, String p_203904_2_) ModifierConstructorDescriptionAdvancement
(ResourceLocation p_i47472_1_, Advancement p_i47472_2_, DisplayInfo p_i47472_3_, AdvancementRewards p_i47472_4_, Map<String, Criterion> p_i47472_5_, String[][] p_i47472_6_) AdvancementTreeNode
(Advancement p_i47466_1_, AdvancementTreeNode p_i47466_2_, AdvancementTreeNode p_i47466_3_, int p_i47466_4_, int p_i47466_5_) Listener
(T p_i47405_1_, Advancement p_i47405_2_, String p_i47405_3_) -
Uses of Advancement in net.minecraft.client.gui.advancements
Modifier and TypeFieldDescriptionprivate final Advancement
AdvancementEntryGui.advancement
private final Advancement
AdvancementTabGui.advancement
Modifier and TypeFieldDescriptionprivate final Map<Advancement,
AdvancementTabGui> AdvancementsScreen.tabs
private final Map<Advancement,
AdvancementEntryGui> AdvancementTabGui.widgets
Modifier and TypeMethodDescriptionvoid
AdvancementTabGui.addAdvancement
(Advancement p_191800_1_) private void
AdvancementTabGui.addWidget
(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_) AdvancementsScreen.getAdvancementWidget
(Advancement p_191938_1_) private AdvancementEntryGui
AdvancementEntryGui.getFirstVisibleParent
(Advancement p_191818_1_) private AdvancementTabGui
AdvancementsScreen.getTab
(Advancement p_191935_1_) AdvancementTabGui.getWidget
(Advancement p_191794_1_) void
AdvancementsScreen.onAddAdvancementRoot
(Advancement p_191931_1_) void
AdvancementsScreen.onAddAdvancementTask
(Advancement p_191932_1_) void
AdvancementsScreen.onRemoveAdvancementRoot
(Advancement p_191928_1_) void
AdvancementsScreen.onRemoveAdvancementTask
(Advancement p_191929_1_) void
AdvancementsScreen.onSelectedTabChanged
(Advancement p_193982_1_) void
AdvancementsScreen.onUpdateAdvancementProgress
(Advancement p_191933_1_, AdvancementProgress p_191933_2_) ModifierConstructorDescriptionAdvancementEntryGui
(AdvancementTabGui p_i47385_1_, Minecraft p_i47385_2_, Advancement p_i47385_3_, DisplayInfo p_i47385_4_) AdvancementTabGui
(Minecraft mc, AdvancementsScreen screen, AdvancementTabType type, int index, int page, Advancement adv, DisplayInfo info) 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_) -
Uses of Advancement in net.minecraft.client.gui.toasts
-
Uses of Advancement in net.minecraft.client.multiplayer
Modifier and TypeFieldDescriptionprivate final Map<Advancement,
AdvancementProgress> ClientAdvancementManager.progress
Modifier and TypeMethodDescriptionvoid
ClientAdvancementManager.IListener.onSelectedTabChanged
(Advancement p_193982_1_) void
ClientAdvancementManager.IListener.onUpdateAdvancementProgress
(Advancement p_191933_1_, AdvancementProgress p_191933_2_) void
ClientAdvancementManager.setSelectedTab
(Advancement p_194230_1_, boolean p_194230_2_) -
Uses of Advancement in net.minecraft.command.arguments
Modifier and TypeMethodDescriptionstatic Advancement
ResourceLocationArgument.getAdvancement
(com.mojang.brigadier.context.CommandContext<CommandSource> p_197198_0_, String p_197198_1_) -
Uses of Advancement in net.minecraft.command.impl
Modifier and TypeMethodDescriptionprivate static List<Advancement>
AdvancementCommand.getAdvancements
(Advancement p_198216_0_, AdvancementCommand.Mode p_198216_1_) Modifier and TypeMethodDescriptionprivate static void
AdvancementCommand.addChildren
(Advancement p_198207_0_, List<Advancement> p_198207_1_) private static List<Advancement>
AdvancementCommand.getAdvancements
(Advancement p_198216_0_, AdvancementCommand.Mode p_198216_1_) protected abstract boolean
AdvancementCommand.Action.perform
(ServerPlayerEntity p_198179_1_, Advancement p_198179_2_) protected abstract boolean
AdvancementCommand.Action.performCriterion
(ServerPlayerEntity p_198182_1_, Advancement p_198182_2_, String p_198182_3_) private static int
AdvancementCommand.performCriterion
(CommandSource p_198203_0_, Collection<ServerPlayerEntity> p_198203_1_, AdvancementCommand.Action p_198203_2_, Advancement p_198203_3_, String p_198203_4_) Modifier and TypeMethodDescriptionprivate static void
AdvancementCommand.addChildren
(Advancement p_198207_0_, List<Advancement> p_198207_1_) int
AdvancementCommand.Action.perform
(ServerPlayerEntity p_198180_1_, Iterable<Advancement> p_198180_2_) -
Uses of Advancement in net.minecraft.data
Modifier and TypeFieldDescriptionprivate final List<Consumer<Consumer<Advancement>>>
AdvancementProvider.tabs
Modifier and TypeMethodDescriptionprivate static Path
AdvancementProvider.createPath
(Path p_218428_0_, Advancement p_218428_1_) Modifier and TypeMethodDescriptionprotected void
AdvancementProvider.registerAdvancements
(Consumer<Advancement> consumer, ExistingFileHelper fileHelper) Override this method for registering and generating customAdvancement
s. -
Uses of Advancement in net.minecraft.data.advancements
Modifier and TypeMethodDescriptionvoid
AdventureAdvancements.accept
(Consumer<Advancement> p_accept_1_) void
EndAdvancements.accept
(Consumer<Advancement> p_accept_1_) void
HusbandryAdvancements.accept
(Consumer<Advancement> p_accept_1_) void
NetherAdvancements.accept
(Consumer<Advancement> p_accept_1_) void
StoryAdvancements.accept
(Consumer<Advancement> p_accept_1_) -
Uses of Advancement in net.minecraft.network.play.client
Modifier and TypeMethodDescriptionstatic CSeenAdvancementsPacket
CSeenAdvancementsPacket.openedTab
(Advancement p_194163_0_) -
Uses of Advancement in net.minecraft.network.play.server
ModifierConstructorDescriptionSAdvancementInfoPacket
(boolean p_i47519_1_, Collection<Advancement> p_i47519_2_, Set<ResourceLocation> p_i47519_3_, Map<ResourceLocation, AdvancementProgress> p_i47519_4_) -
Uses of Advancement in net.minecraftforge.common
Modifier and TypeFieldDescriptionprivate static Map<Advancement,
List<Advancement>> AdvancementLoadFix.roots
private static Map<Advancement,
List<Advancement>> AdvancementLoadFix.roots
Modifier and TypeMethodDescriptionprivate static com.google.common.graph.Graph<Advancement>
AdvancementLoadFix.buildGraph
(Advancement root) Modifier and TypeMethodDescriptionprivate 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, Set<Advancement> set) static void
ForgeHooks.onAdvancement
(ServerPlayerEntity player, Advancement advancement) private static void
AdvancementLoadFix.updateVisibility
(Advancement adv, Set<Advancement> visible, Set<Advancement> visibilityChanged, Map<Advancement, AdvancementProgress> progress, Set<Advancement> progressChanged, Predicate<Advancement> shouldBeVisible) Modifier and TypeMethodDescriptionprivate static void
AdvancementLoadFix.addEdgesAndChildren
(Advancement root, com.google.common.graph.MutableGraph<Advancement> tree) static void
AdvancementLoadFix.buildSortedTrees
(Set<Advancement> roots) private static boolean
AdvancementLoadFix.containsAncestor
(Advancement adv, Set<Advancement> set) static void
AdvancementLoadFix.loadVisibility
(PlayerAdvancements playerAdvancements, Set<Advancement> visible, Set<Advancement> visibilityChanged, Map<Advancement, AdvancementProgress> progress, Set<Advancement> progressChanged, Predicate<Advancement> shouldBeVisible) static void
AdvancementLoadFix.loadVisibility
(PlayerAdvancements playerAdvancements, Set<Advancement> visible, Set<Advancement> visibilityChanged, Map<Advancement, AdvancementProgress> progress, Set<Advancement> progressChanged, Predicate<Advancement> shouldBeVisible) static void
AdvancementLoadFix.loadVisibility
(PlayerAdvancements playerAdvancements, Set<Advancement> visible, Set<Advancement> visibilityChanged, Map<Advancement, AdvancementProgress> progress, Set<Advancement> progressChanged, Predicate<Advancement> shouldBeVisible) private static void
AdvancementLoadFix.updateVisibility
(Advancement adv, Set<Advancement> visible, Set<Advancement> visibilityChanged, Map<Advancement, AdvancementProgress> progress, Set<Advancement> progressChanged, Predicate<Advancement> shouldBeVisible) private static void
AdvancementLoadFix.updateVisibility
(Advancement adv, Set<Advancement> visible, Set<Advancement> visibilityChanged, Map<Advancement, AdvancementProgress> progress, Set<Advancement> progressChanged, Predicate<Advancement> shouldBeVisible) private static void
AdvancementLoadFix.updateVisibility
(Advancement adv, Set<Advancement> visible, Set<Advancement> visibilityChanged, Map<Advancement, AdvancementProgress> progress, Set<Advancement> progressChanged, Predicate<Advancement> shouldBeVisible) -
Uses of Advancement in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptiondefault Advancement
IForgeAdvancementBuilder.save
(Consumer<Advancement> consumer, ResourceLocation id, ExistingFileHelper fileHelper) save function for theAdvancement.Builder
which uses theExistingFileHelper
to check if the parent is already knownModifier and TypeMethodDescriptiondefault Advancement
IForgeAdvancementBuilder.save
(Consumer<Advancement> consumer, ResourceLocation id, ExistingFileHelper fileHelper) save function for theAdvancement.Builder
which uses theExistingFileHelper
to check if the parent is already known -
Uses of Advancement in net.minecraftforge.debug
Modifier and TypeMethodDescriptionprotected void
DataGeneratorTest.Advancements.registerAdvancements
(Consumer<Advancement> consumer, ExistingFileHelper fileHelper) -
Uses of Advancement in net.minecraftforge.event.entity.player