Uses of Interface
net.minecraft.world.level.storage.loot.predicates.LootItemCondition
Packages that use LootItemCondition
Package
Description
-
Uses of LootItemCondition in net.minecraft.advancements.critereon
Fields in net.minecraft.advancements.critereon declared as LootItemConditionModifier and TypeFieldDescriptionprivate final LootItemCondition[]EntityPredicate.Composite.conditionsMethods in net.minecraft.advancements.critereon that return LootItemConditionModifier and TypeMethodDescriptionfinal LootItemCondition[]DeserializationContext.deserializeConditions(com.google.gson.JsonArray p_25875_, String p_25876_, LootContextParamSet p_25877_) Methods in net.minecraft.advancements.critereon with parameters of type LootItemConditionModifier and TypeMethodDescriptionstatic EntityPredicate.CompositeEntityPredicate.Composite.create(LootItemCondition... p_36691_) final com.google.gson.JsonElementSerializationContext.serializeConditions(LootItemCondition[] p_64773_) Constructors in net.minecraft.advancements.critereon with parameters of type LootItemCondition -
Uses of LootItemCondition in net.minecraft.commands.arguments
Methods 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.commands
Methods 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.loot
Classes in net.minecraft.world.level.storage.loot that implement LootItemConditionModifier and TypeClassDescription(package private) static classFields in net.minecraft.world.level.storage.loot declared as LootItemConditionModifier and TypeFieldDescription(package private) final LootItemCondition[]LootPool.conditionsprivate final LootItemCondition[]PredicateManager.CompositePredicate.termsFields in net.minecraft.world.level.storage.loot with type parameters of type LootItemConditionModifier and TypeFieldDescriptionprivate final Function<ResourceLocation,LootItemCondition> ValidationContext.conditionResolverprivate final Function<ResourceLocation,LootItemCondition> LootContext.conditionsprivate final List<LootItemCondition>LootPool.Builder.conditionsprivate Map<ResourceLocation,LootItemCondition> PredicateManager.conditionsprivate final Set<LootItemCondition>LootContext.visitedConditionsMethods in net.minecraft.world.level.storage.loot that return LootItemConditionModifier and TypeMethodDescriptionPredicateManager.get(ResourceLocation p_79253_) LootContext.getCondition(ResourceLocation p_78951_) ValidationContext.resolveCondition(ResourceLocation p_79380_) Methods in net.minecraft.world.level.storage.loot with parameters of type LootItemConditionModifier and TypeMethodDescriptionbooleanLootContext.addVisitedCondition(LootItemCondition p_78939_) voidLootContext.removeVisitedCondition(LootItemCondition p_78949_) Constructors in net.minecraft.world.level.storage.loot with parameters of type LootItemConditionModifierConstructorDescription(package private)CompositePredicate(LootItemCondition[] p_79259_) (package private)LootPool(LootPoolEntryContainer[] p_165128_, LootItemCondition[] p_165129_, LootItemFunction[] p_165130_, NumberProvider p_165131_, NumberProvider p_165132_, String name) Constructor parameters in net.minecraft.world.level.storage.loot with type arguments of type LootItemConditionModifierConstructorDescriptionValidationContext(com.google.common.collect.Multimap<String, String> p_79341_, Supplier<String> p_79342_, LootContextParamSet p_79343_, Function<ResourceLocation, LootItemCondition> p_79344_, Set<ResourceLocation> p_79345_, Function<ResourceLocation, LootTable> p_79346_, Set<ResourceLocation> p_79347_) ValidationContext(LootContextParamSet p_79349_, Function<ResourceLocation, LootItemCondition> p_79350_, Function<ResourceLocation, LootTable> p_79351_) -
Uses of LootItemCondition in net.minecraft.world.level.storage.loot.entries
Fields in net.minecraft.world.level.storage.loot.entries declared as LootItemConditionModifier and TypeFieldDescriptionprotected final LootItemCondition[]LootPoolEntryContainer.conditionsFields in net.minecraft.world.level.storage.loot.entries with type parameters of type LootItemConditionModifier and TypeFieldDescriptionprivate final List<LootItemCondition>LootPoolEntryContainer.Builder.conditionsMethods in net.minecraft.world.level.storage.loot.entries that return LootItemConditionModifier and TypeMethodDescriptionprotected LootItemCondition[]LootPoolEntryContainer.Builder.getConditions()Methods in net.minecraft.world.level.storage.loot.entries with parameters of type LootItemConditionModifier and TypeMethodDescriptionLootPoolSingletonContainer.EntryConstructor.build(int p_79727_, int p_79728_, LootItemCondition[] p_79729_, LootItemFunction[] p_79730_) CompositeEntryBase.CompositeEntryConstructor.create(LootPoolEntryContainer[] p_79461_, LootItemCondition[] p_79462_) protected DynamicLootDynamicLoot.Serializer.deserialize(com.google.gson.JsonObject p_79493_, com.google.gson.JsonDeserializationContext p_79494_, int p_79495_, int p_79496_, LootItemCondition[] p_79497_, LootItemFunction[] p_79498_) EmptyLootItem.Serializer.deserialize(com.google.gson.JsonObject p_79536_, com.google.gson.JsonDeserializationContext p_79537_, int p_79538_, int p_79539_, LootItemCondition[] p_79540_, LootItemFunction[] p_79541_) protected LootItemLootItem.Serializer.deserialize(com.google.gson.JsonObject p_79594_, com.google.gson.JsonDeserializationContext p_79595_, int p_79596_, int p_79597_, LootItemCondition[] p_79598_, LootItemFunction[] p_79599_) protected abstract TLootPoolSingletonContainer.Serializer.deserialize(com.google.gson.JsonObject p_79744_, com.google.gson.JsonDeserializationContext p_79745_, int p_79746_, int p_79747_, LootItemCondition[] p_79748_, LootItemFunction[] p_79749_) protected LootTableReferenceLootTableReference.Serializer.deserialize(com.google.gson.JsonObject p_79786_, com.google.gson.JsonDeserializationContext p_79787_, int p_79788_, int p_79789_, LootItemCondition[] p_79790_, LootItemFunction[] p_79791_) protected TagEntryTagEntry.Serializer.deserialize(com.google.gson.JsonObject p_79873_, com.google.gson.JsonDeserializationContext p_79874_, int p_79875_, int p_79876_, LootItemCondition[] p_79877_, LootItemFunction[] p_79878_) abstract TLootPoolEntryContainer.Serializer.deserializeCustom(com.google.gson.JsonObject p_79666_, com.google.gson.JsonDeserializationContext p_79667_, LootItemCondition[] p_79668_) final TLootPoolSingletonContainer.Serializer.deserializeCustom(com.google.gson.JsonObject p_79733_, com.google.gson.JsonDeserializationContext p_79734_, LootItemCondition[] p_79735_) Constructors in net.minecraft.world.level.storage.loot.entries with parameters of type LootItemConditionModifierConstructorDescription(package private)AlternativesEntry(LootPoolEntryContainer[] p_79384_, LootItemCondition[] p_79385_) protectedCompositeEntryBase(LootPoolEntryContainer[] p_79431_, LootItemCondition[] p_79432_) (package private)DynamicLoot(ResourceLocation p_79465_, int p_79466_, int p_79467_, LootItemCondition[] p_79468_, LootItemFunction[] p_79469_) (package private)EmptyLootItem(int p_79519_, int p_79520_, LootItemCondition[] p_79521_, LootItemFunction[] p_79522_) (package private)EntryGroup(LootPoolEntryContainer[] p_79550_, LootItemCondition[] p_79551_) (package private)LootItem(Item p_79566_, int p_79567_, int p_79568_, LootItemCondition[] p_79569_, LootItemFunction[] p_79570_) protectedLootPoolEntryContainer(LootItemCondition[] p_79638_) protectedLootPoolSingletonContainer(int p_79681_, int p_79682_, LootItemCondition[] p_79683_, LootItemFunction[] p_79684_) (package private)LootTableReference(ResourceLocation p_79756_, int p_79757_, int p_79758_, LootItemCondition[] p_79759_, LootItemFunction[] p_79760_) (package private)SequentialEntry(LootPoolEntryContainer[] p_79812_, LootItemCondition[] p_79813_) (package private)TagEntry(TagKey<Item> p_205078_, boolean p_205079_, int p_205080_, int p_205081_, LootItemCondition[] p_205082_, LootItemFunction[] p_205083_) -
Uses of LootItemCondition in net.minecraft.world.level.storage.loot.functions
Fields in net.minecraft.world.level.storage.loot.functions declared as LootItemConditionModifier and TypeFieldDescriptionprotected final LootItemCondition[]LootItemConditionalFunction.predicatesFields in net.minecraft.world.level.storage.loot.functions with type parameters of type LootItemConditionModifier and TypeFieldDescriptionprivate final List<LootItemCondition>LootItemConditionalFunction.Builder.conditionsMethods in net.minecraft.world.level.storage.loot.functions that return LootItemConditionModifier and TypeMethodDescriptionprotected LootItemCondition[]LootItemConditionalFunction.Builder.getConditions()Methods in net.minecraft.world.level.storage.loot.functions with parameters of type LootItemConditionModifier and TypeMethodDescriptionApplyBonusCount.Serializer.deserialize(com.google.gson.JsonObject p_79991_, com.google.gson.JsonDeserializationContext p_79992_, LootItemCondition[] p_79993_) ApplyExplosionDecay.Serializer.deserialize(com.google.gson.JsonObject p_80040_, com.google.gson.JsonDeserializationContext p_80041_, LootItemCondition[] p_80042_) CopyBlockState.Serializer.deserialize(com.google.gson.JsonObject p_80093_, com.google.gson.JsonDeserializationContext p_80094_, LootItemCondition[] p_80095_) CopyNameFunction.Serializer.deserialize(com.google.gson.JsonObject p_80215_, com.google.gson.JsonDeserializationContext p_80216_, LootItemCondition[] p_80217_) CopyNbtFunction.Serializer.deserialize(com.google.gson.JsonObject p_80395_, com.google.gson.JsonDeserializationContext p_80396_, LootItemCondition[] p_80397_) EnchantRandomlyFunction.Serializer.deserialize(com.google.gson.JsonObject p_80450_, com.google.gson.JsonDeserializationContext p_80451_, LootItemCondition[] p_80452_) EnchantWithLevelsFunction.Serializer.deserialize(com.google.gson.JsonObject p_80502_, com.google.gson.JsonDeserializationContext p_80503_, LootItemCondition[] p_80504_) ExplorationMapFunction.Serializer.deserialize(com.google.gson.JsonObject p_80583_, com.google.gson.JsonDeserializationContext p_80584_, LootItemCondition[] p_80585_) FillPlayerHead.Serializer.deserialize(com.google.gson.JsonObject p_80615_, com.google.gson.JsonDeserializationContext p_80616_, LootItemCondition[] p_80617_) LimitCount.Serializer.deserialize(com.google.gson.JsonObject p_80656_, com.google.gson.JsonDeserializationContext p_80657_, LootItemCondition[] p_80658_) LootingEnchantFunction.Serializer.deserialize(com.google.gson.JsonObject p_80812_, com.google.gson.JsonDeserializationContext p_80813_, LootItemCondition[] p_80814_) abstract TLootItemConditionalFunction.Serializer.deserialize(com.google.gson.JsonObject p_80721_, com.google.gson.JsonDeserializationContext p_80722_, LootItemCondition[] p_80723_) SetAttributesFunction.Serializer.deserialize(com.google.gson.JsonObject p_80883_, com.google.gson.JsonDeserializationContext p_80884_, LootItemCondition[] p_80885_) SetBannerPatternFunction.Serializer.deserialize(com.google.gson.JsonObject p_165299_, com.google.gson.JsonDeserializationContext p_165300_, LootItemCondition[] p_165301_) SetContainerContents.Serializer.deserialize(com.google.gson.JsonObject p_80936_, com.google.gson.JsonDeserializationContext p_80937_, LootItemCondition[] p_80938_) SetContainerLootTable.Serializer.deserialize(com.google.gson.JsonObject p_80978_, com.google.gson.JsonDeserializationContext p_80979_, LootItemCondition[] p_80980_) SetEnchantmentsFunction.Serializer.deserialize(com.google.gson.JsonObject p_165381_, com.google.gson.JsonDeserializationContext p_165382_, LootItemCondition[] p_165383_) SetInstrumentFunction.Serializer.deserialize(com.google.gson.JsonObject p_231021_, com.google.gson.JsonDeserializationContext p_231022_, LootItemCondition[] p_231023_) SetItemCountFunction.Serializer.deserialize(com.google.gson.JsonObject p_81018_, com.google.gson.JsonDeserializationContext p_81019_, LootItemCondition[] p_81020_) SetItemDamageFunction.Serializer.deserialize(com.google.gson.JsonObject p_81060_, com.google.gson.JsonDeserializationContext p_81061_, LootItemCondition[] p_81062_) SetLoreFunction.Serializer.deserialize(com.google.gson.JsonObject p_81103_, com.google.gson.JsonDeserializationContext p_81104_, LootItemCondition[] p_81105_) SetNameFunction.Serializer.deserialize(com.google.gson.JsonObject p_81155_, com.google.gson.JsonDeserializationContext p_81156_, LootItemCondition[] p_81157_) SetNbtFunction.Serializer.deserialize(com.google.gson.JsonObject p_81195_, com.google.gson.JsonDeserializationContext p_81196_, LootItemCondition[] p_81197_) SetPotionFunction.Serializer.deserialize(com.google.gson.JsonObject p_193082_, com.google.gson.JsonDeserializationContext p_193083_, LootItemCondition[] p_193084_) SetStewEffectFunction.Serializer.deserialize(com.google.gson.JsonObject p_81239_, com.google.gson.JsonDeserializationContext p_81240_, LootItemCondition[] p_81241_) SmeltItemFunction.Serializer.deserialize(com.google.gson.JsonObject p_81274_, com.google.gson.JsonDeserializationContext p_81275_, LootItemCondition[] p_81276_) Constructors in net.minecraft.world.level.storage.loot.functions with parameters of type LootItemConditionModifierConstructorDescription(package private)ApplyBonusCount(LootItemCondition[] p_79903_, Enchantment p_79904_, ApplyBonusCount.Formula p_79905_) (package private)ApplyExplosionDecay(LootItemCondition[] p_80029_) (package private)CopyBlockState(LootItemCondition[] p_80050_, Block p_80051_, Set<Property<?>> p_80052_) (package private)CopyNameFunction(LootItemCondition[] p_80177_, CopyNameFunction.NameSource p_80178_) (package private)CopyNbtFunction(LootItemCondition[] p_165175_, NbtProvider p_165176_, List<CopyNbtFunction.CopyOperation> p_165177_) (package private)EnchantRandomlyFunction(LootItemCondition[] p_80418_, Collection<Enchantment> p_80419_) (package private)EnchantWithLevelsFunction(LootItemCondition[] p_165193_, NumberProvider p_165194_, boolean p_165195_) (package private)ExplorationMapFunction(LootItemCondition[] p_210652_, TagKey<Structure> p_210653_, MapDecoration.Type p_210654_, byte p_210655_, int p_210656_, boolean p_210657_) FillPlayerHead(LootItemCondition[] p_80604_, LootContext.EntityTarget p_80605_) (package private)LimitCount(LootItemCondition[] p_165213_, IntRange p_165214_) (package private)LootingEnchantFunction(LootItemCondition[] p_165226_, NumberProvider p_165227_, int p_165228_) protectedLootItemConditionalFunction(LootItemCondition[] p_80678_) (package private)SetAttributesFunction(LootItemCondition[] p_80833_, List<SetAttributesFunction.Modifier> p_80834_) (package private)SetBannerPatternFunction(LootItemCondition[] p_165275_, List<com.mojang.datafixers.util.Pair<Holder<BannerPattern>, DyeColor>> p_165276_, boolean p_165277_) (package private)SetContainerContents(LootItemCondition[] p_193033_, BlockEntityType<?> p_193034_, List<LootPoolEntryContainer> p_193035_) (package private)SetContainerLootTable(LootItemCondition[] p_193045_, ResourceLocation p_193046_, long p_193047_, BlockEntityType<?> p_193048_) (package private)SetEnchantmentsFunction(LootItemCondition[] p_165337_, Map<Enchantment, NumberProvider> p_165338_, boolean p_165339_) (package private)SetInstrumentFunction(LootItemCondition[] p_231008_, TagKey<Instrument> p_231009_) (package private)SetItemCountFunction(LootItemCondition[] p_165409_, NumberProvider p_165410_, boolean p_165411_) (package private)SetItemDamageFunction(LootItemCondition[] p_165427_, NumberProvider p_165428_, boolean p_165429_) SetLoreFunction(LootItemCondition[] p_81083_, boolean p_81084_, List<Component> p_81085_, LootContext.EntityTarget p_81086_) (package private)SetNameFunction(LootItemCondition[] p_81127_, Component p_81128_, LootContext.EntityTarget p_81129_) (package private)SetNbtFunction(LootItemCondition[] p_81176_, CompoundTag p_81177_) (package private)SetPotionFunction(LootItemCondition[] p_193069_, Potion p_193070_) (package private)SetStewEffectFunction(LootItemCondition[] p_81216_, Map<MobEffect, NumberProvider> p_81217_) (package private)SmeltItemFunction(LootItemCondition[] p_81263_) -
Uses of LootItemCondition in net.minecraft.world.level.storage.loot.predicates
Classes in net.minecraft.world.level.storage.loot.predicates that implement LootItemConditionModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassFields in net.minecraft.world.level.storage.loot.predicates declared as LootItemConditionModifier and TypeFieldDescription(package private) final LootItemConditionInvertedLootItemCondition.term(package private) final LootItemCondition[]AlternativeLootItemCondition.termsFields in net.minecraft.world.level.storage.loot.predicates with type parameters of type LootItemConditionModifier and TypeFieldDescriptionprivate final List<LootItemCondition>AlternativeLootItemCondition.Builder.termsMethods in net.minecraft.world.level.storage.loot.predicates that return LootItemConditionModifier and TypeMethodDescriptionAlternativeLootItemCondition.Builder.build()EntityHasScoreCondition.Builder.build()LootItemBlockStatePropertyCondition.Builder.build()LootItemCondition.Builder.build()Method parameters in net.minecraft.world.level.storage.loot.predicates with type arguments of type LootItemConditionModifier and TypeMethodDescriptionprivate static LootItemConditionTypeLootItemConditions.register(String p_81832_, Serializer<? extends LootItemCondition> p_81833_) Constructors in net.minecraft.world.level.storage.loot.predicates with parameters of type LootItemConditionModifierConstructorDescription(package private)AlternativeLootItemCondition(LootItemCondition[] p_81471_) (package private)InvertedLootItemCondition(LootItemCondition p_81683_) Constructor parameters in net.minecraft.world.level.storage.loot.predicates with type arguments of type LootItemConditionModifierConstructorDescriptionLootItemConditionType(Serializer<? extends LootItemCondition> p_81810_) -
Uses of LootItemCondition in net.minecraftforge.common.loot
Classes in net.minecraftforge.common.loot that implement LootItemConditionModifier and TypeClassDescriptionclassThis LootItemCondition "forge:can_tool_perform_action" can be used to check if a tool can perform a given ToolAction.classFields in net.minecraftforge.common.loot declared as LootItemConditionMethods in net.minecraftforge.common.loot that return LootItemConditionConstructors in net.minecraftforge.common.loot with parameters of type LootItemConditionModifierConstructorDescriptionprotectedLootModifier(LootItemCondition[] conditionsIn) Constructs a LootModifier. -
Uses of LootItemCondition in net.minecraftforge.debug.gameplay.loot
Constructors in net.minecraftforge.debug.gameplay.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)