Uses of Interface
net.minecraft.data.worldgen.BootstrapContextAccess
Packages that use BootstrapContextAccess
Package
Description
Classes for NeoForge's own data generation.
-
Uses of BootstrapContextAccess in net.minecraft.data.loot
Subinterfaces of BootstrapContextAccess in net.minecraft.data.loot -
Uses of BootstrapContextAccess in net.minecraft.data.recipes
Subinterfaces of BootstrapContextAccess in net.minecraft.data.recipes -
Uses of BootstrapContextAccess in net.minecraft.data.worldgen
Subinterfaces of BootstrapContextAccess in net.minecraft.data.worldgen -
Uses of BootstrapContextAccess in net.neoforged.neoforge.common.crafting
Classes in net.neoforged.neoforge.common.crafting that implement BootstrapContextAccessModifier and TypeClassDescriptionclassDeprecated, for removal: This API element is subject to removal in a future version. -
Uses of BootstrapContextAccess in net.neoforged.neoforge.common.data
Subinterfaces of BootstrapContextAccess in net.neoforged.neoforge.common.dataModifier and TypeInterfaceDescriptioninterfaceARecipeOutputscoped to a specific context, used within atry-with-resources block.Classes in net.neoforged.neoforge.common.data that implement BootstrapContextAccessModifier and TypeClassDescriptionfinal recordWrapper around aLootTableSubProvider.Contextthat adds conditions to all loot tables registered to the wrapped context.final classAn internal wrapper aroundRecipeOutputto handle scoping conditions and changing the default mod id used inRecipeBuilders. -
Uses of BootstrapContextAccess in net.neoforged.neoforge.common.data.internal
Classes in net.neoforged.neoforge.common.data.internal that implement BootstrapContextAccessModifier and TypeClassDescriptionprivate static final recordprivate static classFields in net.neoforged.neoforge.common.data.internal with type parameters of type BootstrapContextAccessModifier and TypeFieldDescriptionprivate final List<BiFunction<Criterion<?>, BootstrapContextAccess, @Nullable Criterion<?>>> NeoForgeAdvancementProvider.AdvancementRewriteContext.criteriaReplacersThe field for thecriteriaReplacersrecord component.Methods in net.neoforged.neoforge.common.data.internal that return types with arguments of type BootstrapContextAccessModifier and TypeMethodDescriptionNeoForgeAdvancementProvider.AdvancementRewriteContext.criteriaReplacers()Returns the value of thecriteriaReplacersrecord component.private static BiFunction<Criterion<?>, BootstrapContextAccess, @Nullable Criterion<?>> NeoForgeAdvancementProvider.replaceInteractCriteria(ItemPredicate replacement, ItemLike... targetItem) private static BiFunction<Criterion<?>, BootstrapContextAccess, @Nullable Criterion<?>> NeoForgeAdvancementProvider.replaceLootEntityPredicate(Predicate<NeoForgeAdvancementProvider.EntityPredicateReplacementHelper> predicateHelper) private static BiFunction<Criterion<?>, BootstrapContextAccess, @Nullable Criterion<?>> NeoForgeAdvancementProvider.replaceMatchToolCriteria(ItemAbility itemAbility, ItemLike... targetItem) private static BiFunction<Criterion<?>, BootstrapContextAccess, @Nullable Criterion<?>> NeoForgeAdvancementProvider.replacePlayerHurtEntityCriteria(Predicate<NeoForgeAdvancementProvider.EntityPredicateReplacementHelper> predicateHelper) private static BiFunction<Criterion<?>, BootstrapContextAccess, @Nullable Criterion<?>> NeoForgeAdvancementProvider.replacePlayerPredicate(Function<LootItemCondition, @Nullable LootItemCondition> replacer, Predicate<LootItemCondition> shouldSkipReplacement) Methods in net.neoforged.neoforge.common.data.internal with parameters of type BootstrapContextAccessModifier and TypeMethodDescriptionprivate @Nullable Advancement.BuilderNeoForgeAdvancementProvider.AdvancementRewriteContext.findAndReplace(Advancement advancement, BootstrapContextAccess registries) private static <T extends SimpleCriterionTrigger.SimpleInstance>
Criterion<T> NeoForgeAdvancementProvider.replacePlayerPredicate(Criterion<T> old, Holder<LootItemCondition> newPlayer, BootstrapContextAccess registries) Constructor parameters in net.neoforged.neoforge.common.data.internal with type arguments of type BootstrapContextAccessModifierConstructorDescriptionprivateAdvancementRewriteContext(BootstrapContext<Advancement> baseContext, List<BiFunction<Criterion<?>, BootstrapContextAccess, @Nullable Criterion<?>>> criteriaReplacers) Creates an instance of aAdvancementRewriteContextrecord class.
IRecipeOutputExtension.withConditions(ICondition...)orIRecipeOutputExtension.withContext(UnaryOperator)instead.