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 TypeFieldDescriptionprivate 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()
static AdvancementEntry
AdvancementEntry.read
(PacketByteBuf buf) 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) 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 TypeMethodDescriptionvoid
AdvancementTabGenerator.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) Modifier and TypeMethodDescriptionprotected static void
VanillaAdventureTabAdvancementGenerator.buildAdventuringTime
(Consumer<AdvancementEntry> exporter, AdvancementEntry parent, MultiNoiseBiomeSourceParameterList.Preset preset) static AdvancementEntry
VanillaHusbandryTabAdvancementGenerator.createBreedAllAnimalsAdvancement
(AdvancementEntry parent, Consumer<AdvancementEntry> exporter, Stream<EntityType<?>> breedableAnimals, Stream<EntityType<?>> eggLayingAnimals) 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
(Consumer<AdvancementEntry> exporter, AdvancementEntry parent, MultiNoiseBiomeSourceParameterList.Preset preset) static AdvancementEntry
VanillaHusbandryTabAdvancementGenerator.createBreedAllAnimalsAdvancement
(AdvancementEntry parent, Consumer<AdvancementEntry> exporter, Stream<EntityType<?>> breedableAnimals, Stream<EntityType<?>> eggLayingAnimals) -
Uses of AdvancementEntry in net.minecraft.data.server.recipe
Modifier and TypeFieldDescriptionprivate final AdvancementEntry
CookingRecipeJsonBuilder.CookingRecipeJsonProvider.advancement
The field for theadvancement
record component.private final AdvancementEntry
ShapedRecipeJsonBuilder.ShapedRecipeJsonProvider.advancement
private final AdvancementEntry
SingleItemRecipeJsonBuilder.SingleItemRecipeJsonProvider.advancement
The field for theadvancement
record component.private final AdvancementEntry
SmithingTransformRecipeJsonBuilder.SmithingTransformRecipeJsonProvider.advancement
The field for theadvancement
record component.private final AdvancementEntry
SmithingTrimRecipeJsonBuilder.SmithingTrimRecipeJsonProvider.advancement
The field for theadvancement
record component.private final AdvancementEntry
ShapelessRecipeJsonBuilder.ShapelessRecipeJsonProvider.advancementBuilder
Modifier and TypeMethodDescriptionCookingRecipeJsonBuilder.CookingRecipeJsonProvider.advancement()
RecipeJsonProvider.advancement()
ShapedRecipeJsonBuilder.ShapedRecipeJsonProvider.advancement()
ShapelessRecipeJsonBuilder.ShapelessRecipeJsonProvider.advancement()
SingleItemRecipeJsonBuilder.SingleItemRecipeJsonProvider.advancement()
SmithingTransformRecipeJsonBuilder.SmithingTransformRecipeJsonProvider.advancement()
SmithingTrimRecipeJsonBuilder.SmithingTrimRecipeJsonProvider.advancement()
Modifier and TypeMethodDescriptionprotected CompletableFuture<?>
RecipeProvider.saveRecipeAdvancement
(DataWriter cache, AdvancementEntry advancement) ModifierConstructorDescription(package private)
CookingRecipeJsonProvider
(Identifier id, String group, CookingRecipeCategory category, Ingredient input, Item result, float experience, int cookingTime, AdvancementEntry advancement, RecipeSerializer<? extends AbstractCookingRecipe> serializer) Creates an instance of aCookingRecipeJsonProvider
record class.ShapedRecipeJsonProvider
(Identifier id, Item output, int resultCount, String group, CraftingRecipeCategory craftingCategory, List<String> pattern, Map<Character, Ingredient> inputs, AdvancementEntry advancement, boolean showNotification) ShapelessRecipeJsonProvider
(Identifier recipeId, Item output, int outputCount, String group, CraftingRecipeCategory craftingCategory, List<Ingredient> inputs, AdvancementEntry advancementBuilder) SingleItemRecipeJsonProvider
(Identifier id, RecipeSerializer<?> serializer, String group, Ingredient input, Item output, int outputCount, AdvancementEntry advancement) SmithingTransformRecipeJsonProvider
(Identifier id, RecipeSerializer<?> type, Ingredient template, Ingredient base, Ingredient addition, Item result, AdvancementEntry advancement) SmithingTrimRecipeJsonProvider
(Identifier identifier, RecipeSerializer<?> recipeSerializer, Ingredient ingredient, Ingredient ingredient2, Ingredient ingredient3, AdvancementEntry advancementEntry) -
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)