Uses of Class
net.minecraft.advancements.Advancement
Package
Description
-
Uses of Advancement in net.minecraft.advancements
Modifier and TypeFieldDescriptionprivate final Advancement
CriterionTrigger.Listener.advancement
private final Advancement
TreeNodePosition.advancement
private Advancement
Advancement.Builder.parent
private final Advancement
Advancement.parent
Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
Advancement> AdvancementList.advancements
private final Set<Advancement>
Advancement.children
private final Set<Advancement>
AdvancementList.roots
private final Set<Advancement>
AdvancementList.tasks
Modifier and TypeMethodDescriptionAdvancement.Builder.build
(ResourceLocation p_138404_) AdvancementList.get
(ResourceLocation p_139338_) Advancement.getParent()
Advancement.getRoot()
static Advancement
Advancement.getRoot
(Advancement p_265545_) Advancement.Builder.save
(Consumer<Advancement> p_138390_, String p_138391_) Modifier and TypeMethodDescriptionAdvancementList.getAllAdvancements()
Advancement.getChildren()
AdvancementList.getRoots()
Modifier and TypeMethodDescriptionvoid
Advancement.addChild
(Advancement p_138318_) private TreeNodePosition
TreeNodePosition.addChild
(Advancement p_16590_, TreeNodePosition p_16591_) static Advancement
Advancement.getRoot
(Advancement p_265545_) void
AdvancementList.Listener.onAddAdvancementRoot
(Advancement p_139345_) void
AdvancementList.Listener.onAddAdvancementTask
(Advancement p_139347_) void
AdvancementList.Listener.onRemoveAdvancementRoot
(Advancement p_139346_) void
AdvancementList.Listener.onRemoveAdvancementTask
(Advancement p_139348_) Advancement.Builder.parent
(Advancement p_138399_) private void
AdvancementList.remove
(Advancement p_139340_) static void
TreeNodePosition.run
(Advancement p_16588_) Modifier and TypeMethodDescriptionboolean
Advancement.Builder.canBuild
(Function<ResourceLocation, Advancement> p_138393_) Advancement.Builder.save
(Consumer<Advancement> p_138390_, String p_138391_) ModifierConstructorDescriptionAdvancement
(ResourceLocation p_286878_, Advancement p_286496_, DisplayInfo p_286499_, AdvancementRewards p_286389_, Map<String, Criterion> p_286635_, String[][] p_286882_, boolean p_286478_) Listener
(T p_13682_, Advancement p_13683_, String p_13684_) TreeNodePosition
(Advancement p_16567_, TreeNodePosition p_16568_, TreeNodePosition p_16569_, int p_16570_, int p_16571_) -
Uses of Advancement in net.minecraft.client.gui.components.toasts
-
Uses of Advancement in net.minecraft.client.gui.screens.advancements
Modifier and TypeFieldDescriptionprivate final Advancement
AdvancementTab.advancement
private final Advancement
AdvancementWidget.advancement
Modifier and TypeFieldDescriptionprivate final Map<Advancement,
AdvancementTab> AdvancementsScreen.tabs
private final Map<Advancement,
AdvancementWidget> AdvancementTab.widgets
Modifier and TypeMethodDescriptionvoid
AdvancementTab.addAdvancement
(Advancement p_97179_) private void
AdvancementTab.addWidget
(AdvancementWidget p_97176_, Advancement p_97177_) static AdvancementTab
AdvancementTab.create
(Minecraft p_97171_, AdvancementsScreen p_97172_, int p_97173_, Advancement p_97174_) AdvancementsScreen.getAdvancementWidget
(Advancement p_97393_) private AdvancementWidget
AdvancementWidget.getFirstVisibleParent
(Advancement p_97312_) private AdvancementTab
AdvancementsScreen.getTab
(Advancement p_97395_) AdvancementTab.getWidget
(Advancement p_97181_) void
AdvancementsScreen.onAddAdvancementRoot
(Advancement p_97366_) void
AdvancementsScreen.onAddAdvancementTask
(Advancement p_97380_) void
AdvancementsScreen.onRemoveAdvancementRoot
(Advancement p_97372_) void
AdvancementsScreen.onRemoveAdvancementTask
(Advancement p_97388_) void
AdvancementsScreen.onSelectedTabChanged
(Advancement p_97391_) void
AdvancementsScreen.onUpdateAdvancementProgress
(Advancement p_97368_, AdvancementProgress p_97369_) ModifierConstructorDescriptionAdvancementTab
(Minecraft mc, AdvancementsScreen screen, AdvancementTabType type, int index, int page, Advancement adv, DisplayInfo info) AdvancementTab
(Minecraft p_97145_, AdvancementsScreen p_97146_, AdvancementTabType p_97147_, int p_97148_, Advancement p_97149_, DisplayInfo p_97150_) AdvancementWidget
(AdvancementTab p_97255_, Minecraft p_97256_, Advancement p_97257_, DisplayInfo p_97258_) -
Uses of Advancement in net.minecraft.client.multiplayer
Modifier and TypeFieldDescriptionprivate final Map<Advancement,
AdvancementProgress> ClientAdvancements.progress
Modifier and TypeMethodDescriptionvoid
ClientAdvancements.Listener.onSelectedTabChanged
(Advancement p_104406_) void
ClientAdvancements.Listener.onUpdateAdvancementProgress
(Advancement p_104404_, AdvancementProgress p_104405_) void
ClientAdvancements.setSelectedTab
(Advancement p_104402_, boolean p_104403_) -
Uses of Advancement in net.minecraft.client.telemetry
Modifier and TypeMethodDescriptionvoid
WorldSessionTelemetryManager.onAdvancementDone
(Level p_286825_, Advancement p_286627_) -
Uses of Advancement in net.minecraft.commands.arguments
Modifier and TypeMethodDescriptionstatic Advancement
ResourceLocationArgument.getAdvancement
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_106988_, String p_106989_) -
Uses of Advancement in net.minecraft.data.advancements
Modifier and TypeMethodDescriptionstatic Advancement
AdvancementSubProvider.createPlaceholder
(String p_267076_) Modifier and TypeMethodDescriptionvoid
AdvancementSubProvider.generate
(HolderLookup.Provider p_255901_, Consumer<Advancement> p_250888_) -
Uses of Advancement in net.minecraft.data.advancements.packs
Modifier and TypeMethodDescriptionstatic Advancement
VanillaHusbandryAdvancements.createBreedAllAnimalsAdvancement
(Advancement p_267284_, Consumer<Advancement> p_266923_, Stream<EntityType<?>> p_266961_, Stream<EntityType<?>> p_266751_) Modifier and TypeMethodDescriptionprotected static void
VanillaAdventureAdvancements.createAdventuringTime
(Consumer<Advancement> p_275645_, Advancement p_275219_, MultiNoiseBiomeSourceParameterList.Preset p_275211_) static Advancement
VanillaHusbandryAdvancements.createBreedAllAnimalsAdvancement
(Advancement p_267284_, Consumer<Advancement> p_266923_, Stream<EntityType<?>> p_266961_, Stream<EntityType<?>> p_266751_) Modifier and TypeMethodDescriptionprotected static void
VanillaAdventureAdvancements.createAdventuringTime
(Consumer<Advancement> p_275645_, Advancement p_275219_, MultiNoiseBiomeSourceParameterList.Preset p_275211_) static Advancement
VanillaHusbandryAdvancements.createBreedAllAnimalsAdvancement
(Advancement p_267284_, Consumer<Advancement> p_266923_, Stream<EntityType<?>> p_266961_, Stream<EntityType<?>> p_266751_) void
VanillaAdventureAdvancements.generate
(HolderLookup.Provider p_255887_, Consumer<Advancement> p_256428_) void
VanillaHusbandryAdvancements.generate
(HolderLookup.Provider p_255680_, Consumer<Advancement> p_251389_) void
VanillaNetherAdvancements.generate
(HolderLookup.Provider p_256338_, Consumer<Advancement> p_249760_) void
VanillaStoryAdvancements.generate
(HolderLookup.Provider p_256574_, Consumer<Advancement> p_248554_) void
VanillaTheEndAdvancements.generate
(HolderLookup.Provider p_256214_, Consumer<Advancement> p_250851_) -
Uses of Advancement in net.minecraft.network.protocol.game
Modifier and TypeMethodDescriptionServerboundSeenAdvancementsPacket.openedTab
(Advancement p_134443_) ModifierConstructorDescriptionClientboundUpdateAdvancementsPacket
(boolean p_133560_, Collection<Advancement> p_133561_, Set<ResourceLocation> p_133562_, Map<ResourceLocation, AdvancementProgress> p_133563_) -
Uses of Advancement in net.minecraft.server
Modifier and TypeFieldDescriptionprivate final Map<Advancement,
AdvancementProgress> PlayerAdvancements.progress
private final Set<Advancement>
PlayerAdvancements.progressChanged
private final Set<Advancement>
PlayerAdvancements.rootsToUpdate
private final Set<Advancement>
PlayerAdvancements.visible
Modifier and TypeMethodDescriptionServerAdvancementManager.getAdvancement
(ResourceLocation p_136042_) Modifier and TypeMethodDescriptionboolean
PlayerAdvancements.award
(Advancement p_135989_, String p_135990_) PlayerAdvancements.getOrStartProgress
(Advancement p_135997_) private void
PlayerAdvancements.markForVisibilityUpdate
(Advancement p_265528_) private void
PlayerAdvancements.registerListeners
(Advancement p_136005_) boolean
PlayerAdvancements.revoke
(Advancement p_135999_, String p_136000_) void
PlayerAdvancements.setSelectedTab
(Advancement p_135984_) private void
PlayerAdvancements.startProgress
(Advancement p_135986_, AdvancementProgress p_135987_) private void
PlayerAdvancements.unregisterListeners
(Advancement p_136009_) private void
PlayerAdvancements.updateTreeVisibility
(Advancement p_265158_, Set<Advancement> p_265206_, Set<ResourceLocation> p_265593_) Modifier and TypeMethodDescriptionprivate void
PlayerAdvancements.updateTreeVisibility
(Advancement p_265158_, Set<Advancement> p_265206_, Set<ResourceLocation> p_265593_) -
Uses of Advancement in net.minecraft.server.advancements
Modifier and TypeMethodDescriptionvoid
AdvancementVisibilityEvaluator.Output.accept
(Advancement p_265639_, boolean p_265580_) private static boolean
AdvancementVisibilityEvaluator.evaluateVisibility
(Advancement p_265202_, it.unimi.dsi.fastutil.Stack<AdvancementVisibilityEvaluator.VisibilityRule> p_265086_, Predicate<Advancement> p_265561_, AdvancementVisibilityEvaluator.Output p_265381_) static void
AdvancementVisibilityEvaluator.evaluateVisibility
(Advancement p_265578_, Predicate<Advancement> p_265359_, AdvancementVisibilityEvaluator.Output p_265303_) private static AdvancementVisibilityEvaluator.VisibilityRule
AdvancementVisibilityEvaluator.evaluateVisibilityRule
(Advancement p_265736_, boolean p_265426_) static boolean
AdvancementVisibilityEvaluator.isVisible
(Advancement advancement, Predicate<Advancement> test) Modifier and TypeMethodDescriptionprivate static boolean
AdvancementVisibilityEvaluator.evaluateVisibility
(Advancement p_265202_, it.unimi.dsi.fastutil.Stack<AdvancementVisibilityEvaluator.VisibilityRule> p_265086_, Predicate<Advancement> p_265561_, AdvancementVisibilityEvaluator.Output p_265381_) static void
AdvancementVisibilityEvaluator.evaluateVisibility
(Advancement p_265578_, Predicate<Advancement> p_265359_, AdvancementVisibilityEvaluator.Output p_265303_) static boolean
AdvancementVisibilityEvaluator.isVisible
(Advancement advancement, Predicate<Advancement> test) -
Uses of Advancement in net.minecraft.server.commands
Modifier and TypeMethodDescriptionprivate static List<Advancement>
AdvancementCommands.getAdvancements
(Advancement p_136334_, AdvancementCommands.Mode p_136335_) Modifier and TypeMethodDescriptionprivate static void
AdvancementCommands.addChildren
(Advancement p_136331_, List<Advancement> p_136332_) private static List<Advancement>
AdvancementCommands.getAdvancements
(Advancement p_136334_, AdvancementCommands.Mode p_136335_) protected abstract boolean
AdvancementCommands.Action.perform
(ServerPlayer p_136382_, Advancement p_136383_) protected abstract boolean
AdvancementCommands.Action.performCriterion
(ServerPlayer p_136384_, Advancement p_136385_, String p_136386_) private static int
AdvancementCommands.performCriterion
(CommandSourceStack p_136325_, Collection<ServerPlayer> p_136326_, AdvancementCommands.Action p_136327_, Advancement p_136328_, String p_136329_) Modifier and TypeMethodDescriptionprivate static void
AdvancementCommands.addChildren
(Advancement p_136331_, List<Advancement> p_136332_) int
AdvancementCommands.Action.perform
(ServerPlayer p_136380_, Iterable<Advancement> p_136381_) -
Uses of Advancement in net.minecraftforge.client
Modifier and TypeMethodDescriptionClientCommandSourceStack.getAdvancement
(ResourceLocation id) Returns the advancement from the id from the client side where the advancement needs to be visible to the player. -
Uses of Advancement in net.minecraftforge.common.data
Modifier and TypeMethodDescriptionvoid
ForgeAdvancementProvider.AdvancementGenerator.generate
(HolderLookup.Provider registries, Consumer<Advancement> saver, ExistingFileHelper existingFileHelper) A method used to generate advancements for a mod. -
Uses of Advancement in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptiondefault Advancement
IForgeCommandSourceStack.getAdvancement
(ResourceLocation id) default Advancement
IForgeAdvancementBuilder.save
(Consumer<Advancement> saver, ResourceLocation id, ExistingFileHelper fileHelper) Saves this builder with the given id using theExistingFileHelper
to check if the parent is already known.Modifier and TypeMethodDescriptiondefault Advancement
IForgeAdvancementBuilder.save
(Consumer<Advancement> saver, ResourceLocation id, ExistingFileHelper fileHelper) Saves this builder with the given id using theExistingFileHelper
to check if the parent is already known. -
Uses of Advancement in net.minecraftforge.debug
Modifier and TypeMethodDescriptionvoid
DataGeneratorTest.Advancements.generate
(HolderLookup.Provider registries, Consumer<Advancement> saver, ExistingFileHelper existingFileHelper) -
Uses of Advancement in net.minecraftforge.event
Modifier and TypeMethodDescriptionstatic void
ForgeEventFactory.onAdvancementEarnedEvent
(Player player, Advancement earned) static void
ForgeEventFactory.onAdvancementProgressedEvent
(Player player, Advancement progressed, AdvancementProgress advancementProgress, String criterion, AdvancementEvent.AdvancementProgressEvent.ProgressType progressType) -
Uses of Advancement in net.minecraftforge.event.entity.player
Modifier and TypeMethodDescriptionAdvancementEvent.AdvancementEarnEvent.getAdvancement()
Returns the advancement that was earned.AdvancementEvent.AdvancementProgressEvent.getAdvancement()
Returns The advancement that was progressed.AdvancementEvent.getAdvancement()
ModifierConstructorDescriptionAdvancementEarnEvent
(Player player, Advancement earned) AdvancementEvent
(Player player, Advancement advancement) AdvancementProgressEvent
(Player player, Advancement progressed, AdvancementProgress advancementProgress, String criterionName, AdvancementEvent.AdvancementProgressEvent.ProgressType progressType)