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 with type parameters of type LootItemConditionModifier and TypeFieldDescriptionprivate final List<LootItemCondition>
ContextAwarePredicate.conditions
Methods in net.minecraft.advancements.critereon with parameters of type LootItemConditionModifier and TypeMethodDescriptionstatic ContextAwarePredicate
ContextAwarePredicate.create
(LootItemCondition... p_286844_) Constructor parameters in net.minecraft.advancements.critereon with type arguments of type LootItemConditionModifierConstructorDescription(package private)
ContextAwarePredicate
(List<LootItemCondition> p_301186_) -
Uses of LootItemCondition in net.minecraft.commands.arguments
Methods in net.minecraft.commands.arguments that return LootItemConditionModifier and TypeMethodDescriptionstatic LootItemCondition
ResourceLocationArgument.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 boolean
ExecuteCommand.checkCustomPredicate
(CommandSourceStack p_137105_, LootItemCondition p_137106_) -
Uses of LootItemCondition in net.minecraft.world.level.storage.loot
Fields 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.conditions
private final List<LootItemCondition>
LootPool.conditions
static final LootDataType<LootItemCondition>
LootDataType.PREDICATE
Methods 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.entries
Fields 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.conditions
protected final List<LootItemCondition>
LootPoolEntryContainer.conditions
Methods 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_297717_) 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_299133_) 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_300517_, List<LootItemFunction> p_297979_) Constructor parameters in net.minecraft.world.level.storage.loot.entries with type arguments of type LootItemConditionModifierConstructorDescriptionprivate
DynamicLoot
(ResourceLocation p_79465_, int p_79466_, int p_79467_, List<LootItemCondition> p_297929_, List<LootItemFunction> p_299695_) private
EmptyLootItem
(int p_79519_, int p_79520_, List<LootItemCondition> p_300401_, List<LootItemFunction> p_300438_) private
LootItem
(Holder<Item> p_298860_, int p_79567_, int p_79568_, List<LootItemCondition> p_299681_, List<LootItemFunction> p_298494_) protected
LootPoolEntryContainer
(List<LootItemCondition> p_298327_) protected
LootPoolSingletonContainer
(int p_79681_, int p_79682_, List<LootItemCondition> p_297957_, List<LootItemFunction> p_300940_) private
LootTableReference
(ResourceLocation p_79756_, int p_79757_, int p_79758_, List<LootItemCondition> p_297470_, List<LootItemFunction> p_299264_) private
TagEntry
(TagKey<Item> p_205078_, boolean p_205079_, int p_205080_, int p_205081_, List<LootItemCondition> p_298538_, List<LootItemFunction> p_301109_) -
Uses of LootItemCondition in net.minecraft.world.level.storage.loot.functions
Fields 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.conditions
private final Function<List<LootItemCondition>,
LootItemFunction> LootItemConditionalFunction.DummyBuilder.constructor
protected final List<LootItemCondition>
LootItemConditionalFunction.predicates
Methods 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_298596_) 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 LootItemConditionModifierConstructorDescriptionprivate
ApplyBonusCount
(List<LootItemCondition> p_298095_, Holder<Enchantment> p_298508_, ApplyBonusCount.Formula p_79905_) private
ApplyExplosionDecay
(List<LootItemCondition> p_301217_) private
CopyBlockState
(List<LootItemCondition> p_297498_, Holder<Block> p_299449_, List<String> p_298231_) (package private)
CopyBlockState
(List<LootItemCondition> p_301076_, Holder<Block> p_298008_, Set<Property<?>> p_80052_) private
CopyNameFunction
(List<LootItemCondition> p_300985_, CopyNameFunction.NameSource p_80178_) (package private)
CopyNbtFunction
(List<LootItemCondition> p_165177_, NbtProvider p_165176_, List<CopyNbtFunction.CopyOperation> p_299800_) DummyBuilder
(Function<List<LootItemCondition>, LootItemFunction> p_80702_) (package private)
EnchantRandomlyFunction
(List<LootItemCondition> p_298352_, Optional<HolderSet<Enchantment>> p_297532_) (package private)
EnchantWithLevelsFunction
(List<LootItemCondition> p_300816_, NumberProvider p_165194_, boolean p_165195_) (package private)
ExplorationMapFunction
(List<LootItemCondition> p_300426_, TagKey<Structure> p_210653_, MapDecoration.Type p_210654_, byte p_210655_, int p_210656_, boolean p_210657_) FillPlayerHead
(List<LootItemCondition> p_301112_, LootContext.EntityTarget p_80605_) private
FunctionReference
(List<LootItemCondition> p_298565_, ResourceLocation p_279246_) private
LimitCount
(List<LootItemCondition> p_298546_, IntRange p_165214_) (package private)
LootingEnchantFunction
(List<LootItemCondition> p_299292_, NumberProvider p_165227_, int p_165228_) protected
LootItemConditionalFunction
(List<LootItemCondition> p_300620_) (package private)
SetAttributesFunction
(List<LootItemCondition> p_80834_, List<SetAttributesFunction.Modifier> p_298826_) (package private)
SetBannerPatternFunction
(List<LootItemCondition> p_165276_, List<com.mojang.datafixers.util.Pair<Holder<BannerPattern>, DyeColor>> p_298427_, boolean p_165277_) (package private)
SetContainerContents
(List<LootItemCondition> p_193035_, Holder<BlockEntityType<?>> p_300015_, List<LootPoolEntryContainer> p_298786_) private
SetContainerLootTable
(List<LootItemCondition> p_297857_, ResourceLocation p_193046_, long p_193047_, Holder<BlockEntityType<?>> p_300516_) (package private)
SetEnchantmentsFunction
(List<LootItemCondition> p_300544_, Map<Holder<Enchantment>, NumberProvider> p_165338_, boolean p_165339_) private
SetInstrumentFunction
(List<LootItemCondition> p_297631_, TagKey<Instrument> p_231009_) private
SetItemCountFunction
(List<LootItemCondition> p_298181_, NumberProvider p_165410_, boolean p_165411_) private
SetItemDamageFunction
(List<LootItemCondition> p_300823_, NumberProvider p_165428_, boolean p_165429_) SetLoreFunction
(List<LootItemCondition> p_81085_, boolean p_81084_, List<Component> p_300257_, Optional<LootContext.EntityTarget> p_301400_) private
SetNameFunction
(List<LootItemCondition> p_298434_, Optional<Component> p_299902_, Optional<LootContext.EntityTarget> p_300668_) private
SetNbtFunction
(List<LootItemCondition> p_299790_, CompoundTag p_81177_) private
SetPotionFunction
(List<LootItemCondition> p_297236_, Holder<Potion> p_300134_) (package private)
SetStewEffectFunction
(List<LootItemCondition> p_298902_, List<SetStewEffectFunction.EffectEntry> p_298444_) private
SmeltItemFunction
(List<LootItemCondition> p_298857_) -
Uses of LootItemCondition in net.minecraft.world.level.storage.loot.predicates
Classes in net.minecraft.world.level.storage.loot.predicates that implement LootItemConditionModifier and TypeClassDescriptionclass
class
final record
class
final record
final record
final record
class
final record
final record
final record
final record
class
final record
final record
final record
final record
final record
final record
Fields in net.minecraft.world.level.storage.loot.predicates declared as LootItemConditionModifier and TypeFieldDescriptionprivate final LootItemCondition
InvertedLootItemCondition.term
The field for theterm
record 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.codec
The field for thecodec
record component.static final com.mojang.serialization.Codec<LootItemCondition>
LootItemConditions.CODEC
private final com.google.common.collect.ImmutableList.Builder<LootItemCondition>
CompositeLootItemCondition.Builder.terms
protected final List<LootItemCondition>
CompositeLootItemCondition.terms
private static final com.mojang.serialization.Codec<LootItemCondition>
LootItemConditions.TYPED_CODEC
Methods 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 LootItemCondition
AllOfCondition.Builder.create
(List<LootItemCondition> p_299819_) protected LootItemCondition
AnyOfCondition.Builder.create
(List<LootItemCondition> p_297863_) protected abstract LootItemCondition
CompositeLootItemCondition.Builder.create
(List<LootItemCondition> p_300168_) InvertedLootItemCondition.term()
Returns the value of theterm
record 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 thecodec
record component.Method parameters in net.minecraft.world.level.storage.loot.predicates with type arguments of type LootItemConditionModifier and TypeMethodDescriptionstatic AllOfCondition
AllOfCondition.allOf
(List<LootItemCondition> p_300418_) protected LootItemCondition
AllOfCondition.Builder.create
(List<LootItemCondition> p_299819_) protected LootItemCondition
AnyOfCondition.Builder.create
(List<LootItemCondition> p_297863_) protected abstract LootItemCondition
CompositeLootItemCondition.Builder.create
(List<LootItemCondition> p_300168_) protected static <T extends CompositeLootItemCondition>
com.mojang.serialization.Codec<T>CompositeLootItemCondition.createCodec
(Function<List<LootItemCondition>, T> p_297590_) protected static <T extends CompositeLootItemCondition>
com.mojang.serialization.Codec<T>CompositeLootItemCondition.createInlineCodec
(Function<List<LootItemCondition>, T> p_298800_) private static LootItemConditionType
LootItemConditions.register
(String p_81832_, com.mojang.serialization.Codec<? extends LootItemCondition> p_300489_) Constructors in net.minecraft.world.level.storage.loot.predicates with parameters of type LootItemConditionModifierConstructorDescriptionCreates an instance of aInvertedLootItemCondition
record class.Constructor parameters in net.minecraft.world.level.storage.loot.predicates with type arguments of type LootItemConditionModifierConstructorDescription(package private)
AllOfCondition
(List<LootItemCondition> p_299231_) (package private)
AnyOfCondition
(List<LootItemCondition> p_299184_) protected
CompositeLootItemCondition
(List<LootItemCondition> p_299430_, Predicate<LootContext> p_286771_) LootItemConditionType
(com.mojang.serialization.Codec<? extends LootItemCondition> codec) Creates an instance of aLootItemConditionType
record class. -
Uses of LootItemCondition in net.minecraftforge.common.loot
Classes in net.minecraftforge.common.loot that implement LootItemConditionModifier and TypeClassDescriptionfinal record
This LootItemCondition "forge:can_tool_perform_action" can be used to check if a tool can perform a given ToolAction.final record
Fields 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 LootItemConditionModifierConstructorDescriptionprotected
LootModifier
(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 LootItemConditionModifierConstructorDescriptionMultiplyDropsModifier
(LootItemCondition[] conditionsIn, int multiplicationFactor) SilkTouchTestModifier
(LootItemCondition[] conditionsIn) SmeltingEnchantmentModifier
(LootItemCondition[] conditionsIn) WheatSeedsConverterModifier
(LootItemCondition[] conditionsIn, int numSeeds, Item itemCheck, Item reward)