Uses of Interface
net.minecraft.world.level.storage.loot.predicates.LootItemCondition
Package
Description
-
Uses of LootItemCondition in net.minecraft.advancements.critereon
Modifier and TypeFieldDescriptionprivate final LootItemCondition[]
EntityPredicate.Composite.conditions
Modifier and TypeMethodDescriptionfinal LootItemCondition[]
DeserializationContext.deserializeConditions
(com.google.gson.JsonArray p_25875_, String p_25876_, LootContextParamSet p_25877_) Modifier and TypeMethodDescriptionstatic EntityPredicate.Composite
EntityPredicate.Composite.create
(LootItemCondition... p_36691_) final com.google.gson.JsonElement
SerializationContext.serializeConditions
(LootItemCondition[] p_64773_) -
Uses of LootItemCondition in net.minecraft.commands.arguments
Modifier and TypeMethodDescriptionstatic LootItemCondition
ResourceLocationArgument.getPredicate
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_107002_, String p_107003_) -
Uses of LootItemCondition in net.minecraft.server.commands
Modifier and TypeMethodDescriptionprivate static boolean
ExecuteCommand.checkCustomPredicate
(CommandSourceStack p_137105_, LootItemCondition p_137106_) -
Uses of LootItemCondition in net.minecraft.world.level.storage.loot
Modifier and TypeClassDescription(package private) static class
Modifier and TypeFieldDescription(package private) final LootItemCondition[]
LootPool.conditions
private final LootItemCondition[]
PredicateManager.CompositePredicate.terms
Modifier and TypeFieldDescriptionprivate final Function<ResourceLocation,
LootItemCondition> ValidationContext.conditionResolver
private final Function<ResourceLocation,
LootItemCondition> LootContext.conditions
private final List<LootItemCondition>
LootPool.Builder.conditions
private Map<ResourceLocation,
LootItemCondition> PredicateManager.conditions
private final Set<LootItemCondition>
LootContext.visitedConditions
Modifier and TypeMethodDescriptionPredicateManager.get
(ResourceLocation p_79253_) LootContext.getCondition
(ResourceLocation p_78951_) ValidationContext.resolveCondition
(ResourceLocation p_79380_) Modifier and TypeMethodDescriptionboolean
LootContext.addVisitedCondition
(LootItemCondition p_78939_) void
LootContext.removeVisitedCondition
(LootItemCondition p_78949_) ModifierConstructorDescription(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) ModifierConstructorDescriptionValidationContext
(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
Modifier and TypeFieldDescriptionprotected final LootItemCondition[]
LootPoolEntryContainer.conditions
Modifier and TypeFieldDescriptionprivate final List<LootItemCondition>
LootPoolEntryContainer.Builder.conditions
Modifier and TypeMethodDescriptionprotected LootItemCondition[]
LootPoolEntryContainer.Builder.getConditions()
Modifier 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 DynamicLoot
DynamicLoot.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 LootItem
LootItem.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 T
LootPoolSingletonContainer.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 LootTableReference
LootTableReference.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 TagEntry
TagEntry.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 T
LootPoolEntryContainer.Serializer.deserializeCustom
(com.google.gson.JsonObject p_79666_, com.google.gson.JsonDeserializationContext p_79667_, LootItemCondition[] p_79668_) final T
LootPoolSingletonContainer.Serializer.deserializeCustom
(com.google.gson.JsonObject p_79733_, com.google.gson.JsonDeserializationContext p_79734_, LootItemCondition[] p_79735_) ModifierConstructorDescription(package private)
AlternativesEntry
(LootPoolEntryContainer[] p_79384_, LootItemCondition[] p_79385_) protected
CompositeEntryBase
(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_) protected
LootPoolEntryContainer
(LootItemCondition[] p_79638_) protected
LootPoolSingletonContainer
(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
Modifier and TypeFieldDescriptionprotected final LootItemCondition[]
LootItemConditionalFunction.predicates
Modifier and TypeFieldDescriptionprivate final List<LootItemCondition>
LootItemConditionalFunction.Builder.conditions
Modifier and TypeMethodDescriptionprotected LootItemCondition[]
LootItemConditionalFunction.Builder.getConditions()
Modifier 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 T
LootItemConditionalFunction.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_) ModifierConstructorDescription(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_) protected
LootItemConditionalFunction
(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
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Modifier and TypeFieldDescription(package private) final LootItemCondition
InvertedLootItemCondition.term
(package private) final LootItemCondition[]
AlternativeLootItemCondition.terms
Modifier and TypeFieldDescriptionprivate final List<LootItemCondition>
AlternativeLootItemCondition.Builder.terms
Modifier and TypeMethodDescriptionAlternativeLootItemCondition.Builder.build()
EntityHasScoreCondition.Builder.build()
LootItemBlockStatePropertyCondition.Builder.build()
LootItemCondition.Builder.build()
Modifier and TypeMethodDescriptionprivate static LootItemConditionType
LootItemConditions.register
(String p_81832_, Serializer<? extends LootItemCondition> p_81833_) ModifierConstructorDescription(package private)
AlternativeLootItemCondition
(LootItemCondition[] p_81471_) (package private)
InvertedLootItemCondition
(LootItemCondition p_81683_) ModifierConstructorDescriptionLootItemConditionType
(Serializer<? extends LootItemCondition> p_81810_) -
Uses of LootItemCondition in net.minecraftforge.common.loot
Modifier and TypeClassDescriptionclass
This LootItemCondition "forge:can_tool_perform_action" can be used to check if a tool can perform a given ToolAction.class
ModifierConstructorDescriptionprotected
LootModifier
(LootItemCondition[] conditionsIn) Constructs a LootModifier. -
Uses of LootItemCondition in net.minecraftforge.debug.gameplay.loot
ModifierConstructorDescriptionDungeonLootEnhancerModifier
(LootItemCondition[] conditionsIn, int multiplicationFactor) SilkTouchTestModifier
(LootItemCondition[] conditionsIn) SmeltingEnchantmentModifier
(LootItemCondition[] conditionsIn) WheatSeedsConverterModifier
(LootItemCondition[] conditionsIn, int numSeeds, Item itemCheck, Item reward)