Uses of Record Class
net.minecraft.advancement.AdvancementEntry
Package
Description
-
Uses of AdvancementEntry in net.minecraft.advancement
Modifier and TypeFieldDescriptionprivate final AdvancementEntry
PlacedAdvancement.advancementEntry
private @Nullable AdvancementEntry
PlayerAdvancementTracker.currentDisplayTab
Modifier and TypeFieldDescriptionstatic final PacketCodec
<RegistryByteBuf, List<AdvancementEntry>> AdvancementEntry.LIST_PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, AdvancementEntry> AdvancementEntry.PACKET_CODEC
private final Map
<AdvancementEntry, AdvancementProgress> PlayerAdvancementTracker.progress
private final Set
<AdvancementEntry> PlayerAdvancementTracker.progressUpdates
private final Set
<AdvancementEntry> PlayerAdvancementTracker.visibleAdvancements
Modifier and TypeMethodDescriptionAdvancement.Builder.build
(Consumer<AdvancementEntry> exporter, String id) Advancement.Builder.build
(Identifier id) PlacedAdvancement.getAdvancementEntry()
Modifier and TypeMethodDescriptionprivate void
PlayerAdvancementTracker.beginTracking
(AdvancementEntry advancement) private <T extends CriterionConditions>
voidPlayerAdvancementTracker.beginTracking
(AdvancementEntry advancement, String id, AdvancementCriterion<T> criterion) private void
PlayerAdvancementTracker.endTrackingCompleted
(AdvancementEntry advancement) private <T extends CriterionConditions>
voidPlayerAdvancementTracker.endTrackingCompleted
(AdvancementEntry advancement, String id, AdvancementCriterion<T> criterion) AdvancementManager.get
(AdvancementEntry advancement) AdvancementFrame.getChatAnnouncementText
(AdvancementEntry advancementEntry, ServerPlayerEntity player) static Text
Advancement.getNameFromIdentity
(AdvancementEntry identifiedAdvancement) PlayerAdvancementTracker.getProgress
(AdvancementEntry advancement) boolean
PlayerAdvancementTracker.grantCriterion
(AdvancementEntry advancement, String criterionName) private void
PlayerAdvancementTracker.initProgress
(AdvancementEntry advancement, AdvancementProgress progress) private void
PlayerAdvancementTracker.onStatusUpdate
(AdvancementEntry advancement) Advancement.Builder.parent
(AdvancementEntry parent) boolean
PlayerAdvancementTracker.revokeCriterion
(AdvancementEntry advancement, String criterionName) void
PlayerAdvancementTracker.setDisplayTab
(@Nullable AdvancementEntry advancement) private boolean
AdvancementManager.tryAdd
(AdvancementEntry advancement) Modifier and TypeMethodDescriptionvoid
AdvancementManager.addAll
(Collection<AdvancementEntry> advancements) Advancement.Builder.build
(Consumer<AdvancementEntry> exporter, String id) private void
PlayerAdvancementTracker.calculateDisplay
(PlacedAdvancement root, Set<AdvancementEntry> added, Set<Identifier> removed) ModifierConstructorDescriptionPlacedAdvancement
(AdvancementEntry advancementEntry, @Nullable PlacedAdvancement parent) -
Uses of AdvancementEntry in net.minecraft.advancement.criterion
Modifier and TypeFieldDescriptionprivate final AdvancementEntry
Criterion.ConditionsContainer.advancement
The field for theadvancement
record component.Modifier and TypeMethodDescriptionCriterion.ConditionsContainer.advancement()
Returns the value of theadvancement
record component.ModifierConstructorDescriptionConditionsContainer
(T conditions, AdvancementEntry advancementEntry, String id) -
Uses of AdvancementEntry in net.minecraft.client.gui.screen.advancement
Modifier and TypeFieldDescriptionprivate final Map
<AdvancementEntry, AdvancementTab> AdvancementsScreen.tabs
private final Map
<AdvancementEntry, AdvancementWidget> AdvancementTab.widgets
Modifier and TypeMethodDescriptionprivate void
AdvancementTab.addWidget
(AdvancementWidget widget, AdvancementEntry advancement) AdvancementTab.getWidget
(AdvancementEntry advancement) void
AdvancementsScreen.selectTab
(@Nullable AdvancementEntry advancement) -
Uses of AdvancementEntry in net.minecraft.client.network
Modifier and TypeFieldDescriptionprivate @Nullable AdvancementEntry
ClientAdvancementManager.selectedTab
Modifier and TypeFieldDescriptionprivate final Map
<AdvancementEntry, AdvancementProgress> ClientAdvancementManager.advancementProgresses
Modifier and TypeMethodDescriptionvoid
ClientAdvancementManager.Listener.selectTab
(@Nullable AdvancementEntry advancement) void
ClientAdvancementManager.selectTab
(@Nullable AdvancementEntry tab, boolean local) -
Uses of AdvancementEntry in net.minecraft.client.session.telemetry
Modifier and TypeMethodDescriptionvoid
WorldSession.onAdvancementMade
(World world, AdvancementEntry advancement) -
Uses of AdvancementEntry in net.minecraft.client.toast
-
Uses of AdvancementEntry in net.minecraft.command.argument
Modifier and TypeMethodDescriptionstatic AdvancementEntry
IdentifierArgumentType.getAdvancementArgument
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String argumentName) -
Uses of AdvancementEntry in net.minecraft.data.server.advancement
Modifier and TypeMethodDescriptionstatic AdvancementEntry
Returns an advancement to use as a reference inAdvancement.Builder.parent(net.minecraft.advancement.AdvancementEntry)
.Modifier and TypeMethodDescriptionvoid
AdvancementTabGenerator.accept
(RegistryWrapper.WrapperLookup lookup, Consumer<AdvancementEntry> exporter) -
Uses of AdvancementEntry in net.minecraft.data.server.advancement.onetwentyone
Modifier and TypeMethodDescriptionvoid
OneTwentyOneAdventureTabAdvancementGenerator.accept
(RegistryWrapper.WrapperLookup lookup, Consumer<AdvancementEntry> exporter) -
Uses of AdvancementEntry in net.minecraft.data.server.advancement.vanilla
Modifier and TypeMethodDescriptionstatic AdvancementEntry
VanillaHusbandryTabAdvancementGenerator.createBreedAllAnimalsAdvancement
(AdvancementEntry parent, Consumer<AdvancementEntry> exporter, Stream<EntityType<?>> breedableAnimals, Stream<EntityType<?>> eggLayingAnimals) static AdvancementEntry
VanillaAdventureTabAdvancementGenerator.createKillMobAdvancements
(AdvancementEntry parent, Consumer<AdvancementEntry> exporter, List<EntityType<?>> monsters) Modifier and TypeMethodDescriptionprotected static void
VanillaAdventureTabAdvancementGenerator.buildAdventuringTime
(RegistryWrapper.WrapperLookup registryLookup, Consumer<AdvancementEntry> exporter, AdvancementEntry parent, MultiNoiseBiomeSourceParameterList.Preset biomeSourceListPreset) static AdvancementEntry
VanillaHusbandryTabAdvancementGenerator.createBreedAllAnimalsAdvancement
(AdvancementEntry parent, Consumer<AdvancementEntry> exporter, Stream<EntityType<?>> breedableAnimals, Stream<EntityType<?>> eggLayingAnimals) static AdvancementEntry
VanillaAdventureTabAdvancementGenerator.createKillMobAdvancements
(AdvancementEntry parent, Consumer<AdvancementEntry> exporter, List<EntityType<?>> monsters) Modifier and TypeMethodDescriptionvoid
VanillaAdventureTabAdvancementGenerator.accept
(RegistryWrapper.WrapperLookup lookup, Consumer<AdvancementEntry> exporter) void
VanillaEndTabAdvancementGenerator.accept
(RegistryWrapper.WrapperLookup lookup, Consumer<AdvancementEntry> exporter) void
VanillaHusbandryTabAdvancementGenerator.accept
(RegistryWrapper.WrapperLookup lookup, Consumer<AdvancementEntry> exporter) void
VanillaNetherTabAdvancementGenerator.accept
(RegistryWrapper.WrapperLookup lookup, Consumer<AdvancementEntry> exporter) void
VanillaStoryTabAdvancementGenerator.accept
(RegistryWrapper.WrapperLookup lookup, Consumer<AdvancementEntry> exporter) protected static void
VanillaAdventureTabAdvancementGenerator.buildAdventuringTime
(RegistryWrapper.WrapperLookup registryLookup, Consumer<AdvancementEntry> exporter, AdvancementEntry parent, MultiNoiseBiomeSourceParameterList.Preset biomeSourceListPreset) static AdvancementEntry
VanillaHusbandryTabAdvancementGenerator.createBreedAllAnimalsAdvancement
(AdvancementEntry parent, Consumer<AdvancementEntry> exporter, Stream<EntityType<?>> breedableAnimals, Stream<EntityType<?>> eggLayingAnimals) static AdvancementEntry
VanillaAdventureTabAdvancementGenerator.createKillMobAdvancements
(AdvancementEntry parent, Consumer<AdvancementEntry> exporter, List<EntityType<?>> monsters) -
Uses of AdvancementEntry in net.minecraft.data.server.recipe
Modifier and TypeMethodDescriptionvoid
RecipeExporter.accept
(Identifier recipeId, Recipe<?> recipe, @Nullable AdvancementEntry advancement) protected CompletableFuture
<?> RecipeProvider.saveRecipeAdvancement
(DataWriter cache, RegistryWrapper.WrapperLookup registryLookup, AdvancementEntry advancement) -
Uses of AdvancementEntry in net.minecraft.network.packet.c2s.play
Modifier and TypeMethodDescriptionstatic AdvancementTabC2SPacket
AdvancementTabC2SPacket.open
(AdvancementEntry advancement) -
Uses of AdvancementEntry in net.minecraft.network.packet.s2c.play
Modifier and TypeFieldDescriptionprivate final List
<AdvancementEntry> AdvancementUpdateS2CPacket.toEarn
ModifierConstructorDescriptionAdvancementUpdateS2CPacket
(boolean clearCurrent, Collection<AdvancementEntry> toEarn, Set<Identifier> toRemove, Map<Identifier, AdvancementProgress> toSetProgress) -
Uses of AdvancementEntry in net.minecraft.server
Modifier and TypeFieldDescriptionprivate Map
<Identifier, AdvancementEntry> ServerAdvancementLoader.advancements
-
Uses of AdvancementEntry in net.minecraft.server.command
Modifier and TypeMethodDescriptionprivate static List
<AdvancementEntry> AdvancementCommand.select
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, AdvancementEntry advancement, AdvancementCommand.Selection selection) Modifier and TypeMethodDescriptionprivate static int
AdvancementCommand.executeCriterion
(ServerCommandSource source, Collection<ServerPlayerEntity> targets, AdvancementCommand.Operation operation, AdvancementEntry advancement, String criterion) protected abstract boolean
AdvancementCommand.Operation.processEach
(ServerPlayerEntity player, AdvancementEntry advancement) protected abstract boolean
AdvancementCommand.Operation.processEachCriterion
(ServerPlayerEntity player, AdvancementEntry advancement, String criterion) private static List
<AdvancementEntry> AdvancementCommand.select
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, AdvancementEntry advancement, AdvancementCommand.Selection selection) Modifier and TypeMethodDescriptionprivate static void
AdvancementCommand.addChildrenRecursivelyToList
(PlacedAdvancement parent, List<AdvancementEntry> childList) int
AdvancementCommand.Operation.processAll
(ServerPlayerEntity player, Iterable<AdvancementEntry> advancements)