Uses of Class
net.minecraft.advancements.Advancement
-
-
Uses of Advancement in net.minecraft.advancements
Fields in net.minecraft.advancements declared as Advancement Modifier and Type Field Description private Advancement
AdvancementTreeNode. advancement
private Advancement
ICriterionTrigger.Listener. advancement
private Advancement
PlayerAdvancements. lastSelectedTab
private Advancement
Advancement.Builder. parent
private Advancement
Advancement. parent
Fields in net.minecraft.advancements with type parameters of type Advancement Modifier and Type Field Description private java.util.Map<ResourceLocation,Advancement>
AdvancementList. advancements
private java.util.Map<Advancement,AdvancementProgress>
PlayerAdvancements. advancements
private java.util.Set<Advancement>
Advancement. children
private java.util.Set<Advancement>
PlayerAdvancements. progressChanged
private java.util.Set<Advancement>
AdvancementList. roots
private java.util.Set<Advancement>
AdvancementList. tasks
private java.util.Set<Advancement>
PlayerAdvancements. visibilityChanged
private java.util.Set<Advancement>
PlayerAdvancements. visible
Methods in net.minecraft.advancements that return Advancement Modifier and Type Method Description Advancement
Advancement.Builder. build(ResourceLocation p_192056_1_)
Advancement
AdvancementList. get(ResourceLocation p_192084_1_)
Advancement
AdvancementManager. getAdvancement(ResourceLocation p_192778_1_)
Advancement
Advancement. getParent()
Advancement
Advancement.Builder. save(java.util.function.Consumer<Advancement> p_203904_1_, java.lang.String p_203904_2_)
Methods in net.minecraft.advancements that return types with arguments of type Advancement Modifier and Type Method Description java.util.Collection<Advancement>
AdvancementList. getAllAdvancements()
java.util.Collection<Advancement>
AdvancementManager. getAllAdvancements()
java.lang.Iterable<Advancement>
Advancement. getChildren()
java.lang.Iterable<Advancement>
AdvancementList. getRoots()
Methods in net.minecraft.advancements with parameters of type Advancement Modifier and Type Method Description void
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_, java.lang.String p_192750_2_)
private void
PlayerAdvancements. ensureVisibility(Advancement p_192742_1_)
AdvancementProgress
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
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_, java.lang.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_)
Method parameters in net.minecraft.advancements with type arguments of type Advancement Modifier and Type Method Description boolean
Advancement.Builder. canBuild(java.util.function.Function<ResourceLocation,Advancement> p_192058_1_)
Advancement
Advancement.Builder. save(java.util.function.Consumer<Advancement> p_203904_1_, java.lang.String p_203904_2_)
Constructors in net.minecraft.advancements with parameters of type Advancement Constructor Description Advancement(ResourceLocation p_i47472_1_, Advancement p_i47472_2_, DisplayInfo p_i47472_3_, AdvancementRewards p_i47472_4_, java.util.Map<java.lang.String,Criterion> p_i47472_5_, java.lang.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_, java.lang.String p_i47405_3_)
-
Uses of Advancement in net.minecraft.client.gui.advancements
Fields in net.minecraft.client.gui.advancements declared as Advancement Modifier and Type Field Description private Advancement
AdvancementEntryGui. advancement
private Advancement
AdvancementTabGui. advancement
Fields in net.minecraft.client.gui.advancements with type parameters of type Advancement Modifier and Type Field Description private java.util.Map<Advancement,AdvancementTabGui>
AdvancementsScreen. tabs
private java.util.Map<Advancement,AdvancementEntryGui>
AdvancementTabGui. widgets
Methods in net.minecraft.client.gui.advancements that return Advancement Modifier and Type Method Description Advancement
AdvancementTabGui. getAdvancement()
Methods in net.minecraft.client.gui.advancements with parameters of type Advancement Modifier and Type Method Description void
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_)
AdvancementEntryGui
AdvancementsScreen. getAdvancementWidget(Advancement p_191938_1_)
private AdvancementEntryGui
AdvancementEntryGui. getFirstVisibleParent(Advancement p_191818_1_)
private AdvancementTabGui
AdvancementsScreen. getTab(Advancement p_191935_1_)
AdvancementEntryGui
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_)
Constructors in net.minecraft.client.gui.advancements with parameters of type Advancement Constructor Description AdvancementEntryGui(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
Fields in net.minecraft.client.gui.toasts declared as Advancement Modifier and Type Field Description private Advancement
AdvancementToast. advancement
Constructors in net.minecraft.client.gui.toasts with parameters of type Advancement Constructor Description AdvancementToast(Advancement p_i47490_1_)
-
Uses of Advancement in net.minecraft.client.multiplayer
Fields in net.minecraft.client.multiplayer declared as Advancement Modifier and Type Field Description private Advancement
ClientAdvancementManager. selectedTab
Fields in net.minecraft.client.multiplayer with type parameters of type Advancement Modifier and Type Field Description private java.util.Map<Advancement,AdvancementProgress>
ClientAdvancementManager. progress
Methods in net.minecraft.client.multiplayer with parameters of type Advancement Modifier and Type Method Description void
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
Methods in net.minecraft.command.arguments that return Advancement Modifier and Type Method Description static Advancement
ResourceLocationArgument. getAdvancement(com.mojang.brigadier.context.CommandContext<CommandSource> p_197198_0_, java.lang.String p_197198_1_)
-
Uses of Advancement in net.minecraft.command.impl
Methods in net.minecraft.command.impl that return types with arguments of type Advancement Modifier and Type Method Description private static java.util.List<Advancement>
AdvancementCommand. getAdvancements(Advancement p_198216_0_, AdvancementCommand.Mode p_198216_1_)
Methods in net.minecraft.command.impl with parameters of type Advancement Modifier and Type Method Description private static void
AdvancementCommand. addChildren(Advancement p_198207_0_, java.util.List<Advancement> p_198207_1_)
private static java.util.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_, java.lang.String p_198182_3_)
private static int
AdvancementCommand. performCriterion(CommandSource p_198203_0_, java.util.Collection<ServerPlayerEntity> p_198203_1_, AdvancementCommand.Action p_198203_2_, Advancement p_198203_3_, java.lang.String p_198203_4_)
Method parameters in net.minecraft.command.impl with type arguments of type Advancement Modifier and Type Method Description private static void
AdvancementCommand. addChildren(Advancement p_198207_0_, java.util.List<Advancement> p_198207_1_)
int
AdvancementCommand.Action. perform(ServerPlayerEntity p_198180_1_, java.lang.Iterable<Advancement> p_198180_2_)
-
Uses of Advancement in net.minecraft.data
Fields in net.minecraft.data with type parameters of type Advancement Modifier and Type Field Description private java.util.List<java.util.function.Consumer<java.util.function.Consumer<Advancement>>>
AdvancementProvider. tabs
Methods in net.minecraft.data with parameters of type Advancement Modifier and Type Method Description private static java.nio.file.Path
AdvancementProvider. createPath(java.nio.file.Path p_218428_0_, Advancement p_218428_1_)
Method parameters in net.minecraft.data with type arguments of type Advancement Modifier and Type Method Description protected void
AdvancementProvider. registerAdvancements(java.util.function.Consumer<Advancement> consumer, ExistingFileHelper fileHelper)
Override this method for registering and generating customAdvancement
s. -
Uses of Advancement in net.minecraft.data.advancements
Method parameters in net.minecraft.data.advancements with type arguments of type Advancement Modifier and Type Method Description void
AdventureAdvancements. accept(java.util.function.Consumer<Advancement> p_accept_1_)
void
EndAdvancements. accept(java.util.function.Consumer<Advancement> p_accept_1_)
void
HusbandryAdvancements. 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_)
-
Uses of Advancement in net.minecraft.network.play.client
Methods in net.minecraft.network.play.client with parameters of type Advancement Modifier and Type Method Description static CSeenAdvancementsPacket
CSeenAdvancementsPacket. openedTab(Advancement p_194163_0_)
-
Uses of Advancement in net.minecraft.network.play.server
Constructor parameters in net.minecraft.network.play.server with type arguments of type Advancement Constructor 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_)
-
Uses of Advancement in net.minecraftforge.common
Fields in net.minecraftforge.common with type parameters of type Advancement Modifier and Type Field 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
Methods in net.minecraftforge.common that return types with arguments of type Advancement Modifier and Type Method Description private static com.google.common.graph.Graph<Advancement>
AdvancementLoadFix. buildGraph(Advancement root)
Methods in net.minecraftforge.common with parameters of type Advancement Modifier and Type Method 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)
Method parameters in net.minecraftforge.common with type arguments of type Advancement Modifier and Type Method 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)
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)
-
Uses of Advancement in net.minecraftforge.common.extensions
Methods in net.minecraftforge.common.extensions that return Advancement Modifier and Type Method Description default Advancement
IForgeAdvancementBuilder. save(java.util.function.Consumer<Advancement> consumer, ResourceLocation id, ExistingFileHelper fileHelper)
save function for theAdvancement.Builder
which uses theExistingFileHelper
to check if the parent is already knownMethod parameters in net.minecraftforge.common.extensions with type arguments of type Advancement Modifier and Type Method Description default Advancement
IForgeAdvancementBuilder. save(java.util.function.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
Method parameters in net.minecraftforge.debug with type arguments of type Advancement Modifier and Type Method Description protected void
DataGeneratorTest.Advancements. registerAdvancements(java.util.function.Consumer<Advancement> consumer, ExistingFileHelper fileHelper)
-
Uses of Advancement in net.minecraftforge.event.entity.player
Fields in net.minecraftforge.event.entity.player declared as Advancement Modifier and Type Field Description private Advancement
AdvancementEvent. advancement
Methods in net.minecraftforge.event.entity.player that return Advancement Modifier and Type Method Description Advancement
AdvancementEvent. getAdvancement()
Constructors in net.minecraftforge.event.entity.player with parameters of type Advancement Constructor Description AdvancementEvent(PlayerEntity player, Advancement advancement)
-