Uses of Interface
net.minecraft.world.level.storage.loot.predicates.LootItemCondition
Packages that use LootItemCondition
Package
Description
Classes for NeoForge's own data generation.
- 
Uses of LootItemCondition in net.minecraft.advancements.critereonFields in net.minecraft.advancements.critereon with type parameters of type LootItemConditionModifier and TypeFieldDescriptionprivate final List<LootItemCondition>ContextAwarePredicate.conditionsMethods in net.minecraft.advancements.critereon with parameters of type LootItemConditionModifier and TypeMethodDescriptionstatic ContextAwarePredicateContextAwarePredicate.create(LootItemCondition... p_286844_) Constructor parameters in net.minecraft.advancements.critereon with type arguments of type LootItemConditionModifierConstructorDescription(package private)ContextAwarePredicate(List<LootItemCondition> p_298428_) 
- 
Uses of LootItemCondition in net.minecraft.commands.argumentsMethods in net.minecraft.commands.arguments that return LootItemConditionModifier and TypeMethodDescriptionstatic LootItemConditionResourceLocationArgument.getPredicate(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_107002_, String p_107003_) 
- 
Uses of LootItemCondition in net.minecraft.server.commandsMethods in net.minecraft.server.commands with parameters of type LootItemConditionModifier and TypeMethodDescriptionprivate static booleanExecuteCommand.checkCustomPredicate(CommandSourceStack p_137105_, LootItemCondition p_137106_) 
- 
Uses of LootItemCondition in net.minecraft.world.level.storage.lootFields in net.minecraft.world.level.storage.loot with type parameters of type LootItemConditionModifier and TypeFieldDescriptionprivate final com.google.common.collect.ImmutableList.Builder<LootItemCondition>LootPool.Builder.conditionsprivate final List<LootItemCondition>LootPool.conditionsstatic final LootDataType<LootItemCondition>LootDataType.PREDICATEMethods in net.minecraft.world.level.storage.loot that return types with arguments of type LootItemConditionMethods in net.minecraft.world.level.storage.loot with parameters of type LootItemCondition
- 
Uses of LootItemCondition in net.minecraft.world.level.storage.loot.entriesFields in net.minecraft.world.level.storage.loot.entries with type parameters of type LootItemConditionModifier and TypeFieldDescriptionprivate final com.google.common.collect.ImmutableList.Builder<LootItemCondition>LootPoolEntryContainer.Builder.conditionsprotected final List<LootItemCondition>LootPoolEntryContainer.conditionsMethods in net.minecraft.world.level.storage.loot.entries that return types with arguments of type LootItemConditionModifier and TypeMethodDescriptionprotected static <T extends LootPoolEntryContainer>
 com.mojang.datafixers.Products.P1<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<T>,List<LootItemCondition>> LootPoolEntryContainer.commonFields(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<T> p_299092_) protected List<LootItemCondition>LootPoolEntryContainer.Builder.getConditions()protected static <T extends LootPoolSingletonContainer>
 com.mojang.datafixers.Products.P4<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<T>,Integer, Integer, List<LootItemCondition>, List<LootItemFunction>> LootPoolSingletonContainer.singletonFields(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<T> p_299239_) Method parameters in net.minecraft.world.level.storage.loot.entries with type arguments of type LootItemConditionModifier and TypeMethodDescriptionLootPoolSingletonContainer.EntryConstructor.build(int p_79727_, int p_79728_, List<LootItemCondition> p_298278_, List<LootItemFunction> p_298826_) Constructor parameters in net.minecraft.world.level.storage.loot.entries with type arguments of type LootItemConditionModifierConstructorDescriptionprivateDynamicLoot(ResourceLocation p_79465_, int p_79466_, int p_79467_, List<LootItemCondition> p_299033_, List<LootItemFunction> p_298474_) privateEmptyLootItem(int p_79519_, int p_79520_, List<LootItemCondition> p_298942_, List<LootItemFunction> p_298310_) privateLootItem(Holder<Item> p_298423_, int p_79567_, int p_79568_, List<LootItemCondition> p_299249_, List<LootItemFunction> p_299128_) protectedLootPoolEntryContainer(List<LootItemCondition> p_299002_) protectedLootPoolSingletonContainer(int p_79681_, int p_79682_, List<LootItemCondition> p_298562_, List<LootItemFunction> p_299276_) privateLootTableReference(ResourceLocation p_79756_, int p_79757_, int p_79758_, List<LootItemCondition> p_298340_, List<LootItemFunction> p_298824_) privateTagEntry(TagKey<Item> p_205078_, boolean p_205079_, int p_205080_, int p_205081_, List<LootItemCondition> p_298985_, List<LootItemFunction> p_299088_) 
- 
Uses of LootItemCondition in net.minecraft.world.level.storage.loot.functionsFields in net.minecraft.world.level.storage.loot.functions with type parameters of type LootItemConditionModifier and TypeFieldDescriptionprivate final com.google.common.collect.ImmutableList.Builder<LootItemCondition>LootItemConditionalFunction.Builder.conditionsprivate final Function<List<LootItemCondition>,LootItemFunction> LootItemConditionalFunction.DummyBuilder.constructorprotected final List<LootItemCondition>LootItemConditionalFunction.predicatesMethods in net.minecraft.world.level.storage.loot.functions that return types with arguments of type LootItemConditionModifier and TypeMethodDescriptionprotected static <T extends LootItemConditionalFunction>
 com.mojang.datafixers.Products.P1<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<T>,List<LootItemCondition>> LootItemConditionalFunction.commonFields(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<T> p_298453_) protected List<LootItemCondition>LootItemConditionalFunction.Builder.getConditions()Method parameters in net.minecraft.world.level.storage.loot.functions with type arguments of type LootItemConditionModifier and TypeMethodDescriptionprotected static LootItemConditionalFunction.Builder<?>LootItemConditionalFunction.simpleBuilder(Function<List<LootItemCondition>, LootItemFunction> p_80684_) Constructor parameters in net.minecraft.world.level.storage.loot.functions with type arguments of type LootItemConditionModifierConstructorDescriptionprivateApplyBonusCount(List<LootItemCondition> p_298532_, Holder<Enchantment> p_298797_, ApplyBonusCount.Formula p_79905_) privateApplyExplosionDecay(List<LootItemCondition> p_298289_) privateCopyBlockState(List<LootItemCondition> p_298279_, Holder<Block> p_299047_, List<String> p_298632_) (package private)CopyBlockState(List<LootItemCondition> p_298625_, Holder<Block> p_298940_, Set<Property<?>> p_80052_) privateCopyNameFunction(List<LootItemCondition> p_298700_, CopyNameFunction.NameSource p_80178_) (package private)CopyNbtFunction(List<LootItemCondition> p_165177_, NbtProvider p_165176_, List<CopyNbtFunction.CopyOperation> p_298837_) DummyBuilder(Function<List<LootItemCondition>, LootItemFunction> p_80702_) (package private)EnchantRandomlyFunction(List<LootItemCondition> p_299014_, Optional<HolderSet<Enchantment>> p_298965_) (package private)EnchantWithLevelsFunction(List<LootItemCondition> p_298580_, NumberProvider p_165194_, boolean p_165195_) (package private)ExplorationMapFunction(List<LootItemCondition> p_298451_, TagKey<Structure> p_210653_, MapDecoration.Type p_210654_, byte p_210655_, int p_210656_, boolean p_210657_) FillPlayerHead(List<LootItemCondition> p_298265_, LootContext.EntityTarget p_80605_) privateFunctionReference(List<LootItemCondition> p_298661_, ResourceLocation p_279246_) privateLimitCount(List<LootItemCondition> p_299132_, IntRange p_165214_) (package private)LootingEnchantFunction(List<LootItemCondition> p_298273_, NumberProvider p_165227_, int p_165228_) protectedLootItemConditionalFunction(List<LootItemCondition> p_298706_) (package private)SetAttributesFunction(List<LootItemCondition> p_80834_, List<SetAttributesFunction.Modifier> p_298646_) (package private)SetBannerPatternFunction(List<LootItemCondition> p_165276_, List<com.mojang.datafixers.util.Pair<Holder<BannerPattern>, DyeColor>> p_299284_, boolean p_165277_) (package private)SetContainerContents(List<LootItemCondition> p_193035_, Holder<BlockEntityType<?>> p_298738_, List<LootPoolEntryContainer> p_298300_) privateSetContainerLootTable(List<LootItemCondition> p_298290_, ResourceLocation p_193046_, long p_193047_, Holder<BlockEntityType<?>> p_298416_) (package private)SetEnchantmentsFunction(List<LootItemCondition> p_299192_, Map<Holder<Enchantment>, NumberProvider> p_165338_, boolean p_165339_) privateSetInstrumentFunction(List<LootItemCondition> p_298993_, TagKey<Instrument> p_231009_) privateSetItemCountFunction(List<LootItemCondition> p_299158_, NumberProvider p_165410_, boolean p_165411_) privateSetItemDamageFunction(List<LootItemCondition> p_298394_, NumberProvider p_165428_, boolean p_165429_) SetLoreFunction(List<LootItemCondition> p_81085_, boolean p_81084_, List<Component> p_298633_, Optional<LootContext.EntityTarget> p_298623_) privateSetNameFunction(List<LootItemCondition> p_299241_, Optional<Component> p_298804_, Optional<LootContext.EntityTarget> p_298545_) privateSetNbtFunction(List<LootItemCondition> p_298385_, CompoundTag p_81177_) privateSetPotionFunction(List<LootItemCondition> p_299010_, Holder<Potion> p_298587_) (package private)SetStewEffectFunction(List<LootItemCondition> p_298938_, List<SetStewEffectFunction.EffectEntry> p_298439_) privateSmeltItemFunction(List<LootItemCondition> p_299162_) 
- 
Uses of LootItemCondition in net.minecraft.world.level.storage.loot.predicatesClasses in net.minecraft.world.level.storage.loot.predicates that implement LootItemConditionModifier and TypeClassDescriptionclassclassfinal recordclassfinal recordfinal recordfinal recordclassfinal recordfinal recordfinal recordfinal recordclassfinal recordfinal recordfinal recordfinal recordfinal recordfinal recordFields in net.minecraft.world.level.storage.loot.predicates declared as LootItemConditionModifier and TypeFieldDescriptionprivate final LootItemConditionInvertedLootItemCondition.termThe field for thetermrecord component.Fields in net.minecraft.world.level.storage.loot.predicates with type parameters of type LootItemConditionModifier and TypeFieldDescriptionprivate final com.mojang.serialization.Codec<? extends LootItemCondition>LootItemConditionType.codecThe field for thecodecrecord component.static final com.mojang.serialization.Codec<LootItemCondition>LootItemConditions.CODECprivate final com.google.common.collect.ImmutableList.Builder<LootItemCondition>CompositeLootItemCondition.Builder.termsprotected final List<LootItemCondition>CompositeLootItemCondition.termsprivate static final com.mojang.serialization.Codec<LootItemCondition>LootItemConditions.TYPED_CODECMethods in net.minecraft.world.level.storage.loot.predicates that return LootItemConditionModifier and TypeMethodDescriptionCompositeLootItemCondition.Builder.build()EntityHasScoreCondition.Builder.build()LootItemBlockStatePropertyCondition.Builder.build()LootItemCondition.Builder.build()protected LootItemConditionAllOfCondition.Builder.create(List<LootItemCondition> p_298491_) protected LootItemConditionAnyOfCondition.Builder.create(List<LootItemCondition> p_298816_) protected abstract LootItemConditionCompositeLootItemCondition.Builder.create(List<LootItemCondition> p_299194_) InvertedLootItemCondition.term()Returns the value of thetermrecord component.Methods in net.minecraft.world.level.storage.loot.predicates that return types with arguments of type LootItemConditionModifier and TypeMethodDescriptioncom.mojang.serialization.Codec<? extends LootItemCondition>LootItemConditionType.codec()Returns the value of thecodecrecord component.Method parameters in net.minecraft.world.level.storage.loot.predicates with type arguments of type LootItemConditionModifier and TypeMethodDescriptionstatic AllOfConditionAllOfCondition.allOf(List<LootItemCondition> p_298400_) protected LootItemConditionAllOfCondition.Builder.create(List<LootItemCondition> p_298491_) protected LootItemConditionAnyOfCondition.Builder.create(List<LootItemCondition> p_298816_) protected abstract LootItemConditionCompositeLootItemCondition.Builder.create(List<LootItemCondition> p_299194_) protected static <T extends CompositeLootItemCondition>
 com.mojang.serialization.Codec<T>CompositeLootItemCondition.createCodec(Function<List<LootItemCondition>, T> p_298515_) protected static <T extends CompositeLootItemCondition>
 com.mojang.serialization.Codec<T>CompositeLootItemCondition.createInlineCodec(Function<List<LootItemCondition>, T> p_298806_) private static LootItemConditionTypeLootItemConditions.register(String p_81832_, com.mojang.serialization.Codec<? extends LootItemCondition> p_298549_) Constructors in net.minecraft.world.level.storage.loot.predicates with parameters of type LootItemConditionModifierConstructorDescriptionCreates an instance of aInvertedLootItemConditionrecord class.Constructor parameters in net.minecraft.world.level.storage.loot.predicates with type arguments of type LootItemConditionModifierConstructorDescription(package private)AllOfCondition(List<LootItemCondition> p_299216_) (package private)AnyOfCondition(List<LootItemCondition> p_299191_) protectedCompositeLootItemCondition(List<LootItemCondition> p_298458_, Predicate<LootContext> p_286771_) LootItemConditionType(com.mojang.serialization.Codec<? extends LootItemCondition> codec) Creates an instance of aLootItemConditionTyperecord class.
- 
Uses of LootItemCondition in net.neoforged.neoforge.common.data.internalFields in net.neoforged.neoforge.common.data.internal with type parameters of type LootItemConditionModifier and TypeFieldDescriptionprivate final List<Function<LootItemCondition,LootItemCondition.Builder>> NeoForgeLootTableProvider.conditionReplacersMethods in net.neoforged.neoforge.common.data.internal with parameters of type LootItemConditionModifier and TypeMethodDescriptionprivate booleanNeoForgeLootTableProvider.replaceCondition(LootItemCondition lootCondition, Consumer<LootItemCondition.Builder> poolBuilder) Method parameters in net.neoforged.neoforge.common.data.internal with type arguments of type LootItemConditionModifier and TypeMethodDescriptionprivate voidNeoForgeLootTableProvider.replaceLootItemCondition(Function<LootItemCondition, LootItemCondition.Builder> replacer) 
- 
Uses of LootItemCondition in net.neoforged.neoforge.common.lootClasses in net.neoforged.neoforge.common.loot that implement LootItemConditionModifier and TypeClassDescriptionclassThis LootItemCondition "neoforge:can_tool_perform_action" can be used to check if a tool can perform a given ToolAction.classFields in net.neoforged.neoforge.common.loot declared as LootItemConditionMethods in net.neoforged.neoforge.common.loot that return LootItemConditionConstructors in net.neoforged.neoforge.common.loot with parameters of type LootItemConditionModifierConstructorDescriptionprotectedAddTableLootModifier(LootItemCondition[] conditionsIn, ResourceLocation table) protectedLootModifier(LootItemCondition[] conditionsIn) Constructs a LootModifier.
- 
Uses of LootItemCondition in net.neoforged.neoforge.debug.lootConstructors in net.neoforged.neoforge.debug.loot with parameters of type LootItemConditionModifierConstructorDescriptionDungeonLootEnhancerModifier(LootItemCondition[] conditionsIn, int multiplicationFactor) SilkTouchTestModifier(LootItemCondition[] conditionsIn) SmeltingEnchantmentModifier(LootItemCondition[] conditionsIn) WheatSeedsConverterModifier(LootItemCondition[] conditionsIn, int numSeeds, Item itemCheck, Item reward) 
- 
Uses of LootItemCondition in net.neoforged.testframework.conditionClasses in net.neoforged.testframework.condition that implement LootItemCondition