Uses of Interface
net.minecraft.loot.condition.LootCondition
Packages that use LootCondition
Package
Description
-
Uses of LootCondition in net.minecraft.command.argument
Methods in net.minecraft.command.argument that return types with arguments of type LootConditionModifier and TypeMethodDescriptionstatic RegistryEntry<LootCondition> RegistryEntryArgumentType.getLootCondition(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String argument) -
Uses of LootCondition in net.minecraft.enchantment.effect
Fields in net.minecraft.enchantment.effect with type parameters of type LootConditionModifier and TypeFieldDescriptionprivate final Optional<LootCondition> EnchantmentEffectEntry.requirementsThe field for therequirementsrecord component.private final Optional<LootCondition> TargetedEnchantmentEffect.requirementsThe field for therequirementsrecord component.Methods in net.minecraft.enchantment.effect that return types with arguments of type LootConditionModifier and TypeMethodDescriptionstatic com.mojang.serialization.Codec<LootCondition> EnchantmentEffectEntry.createRequirementsCodec(LootContextType lootContextType) EnchantmentEffectEntry.requirements()Returns the value of therequirementsrecord component.TargetedEnchantmentEffect.requirements()Returns the value of therequirementsrecord component.Constructor parameters in net.minecraft.enchantment.effect with type arguments of type LootConditionModifierConstructorDescriptionEnchantmentEffectEntry(T t, Optional<LootCondition> optional) TargetedEnchantmentEffect(EnchantmentEffectTarget enchantmentEffectTarget, EnchantmentEffectTarget enchantmentEffectTarget2, T t, Optional<LootCondition> optional) -
Uses of LootCondition in net.minecraft.loot
Fields in net.minecraft.loot with type parameters of type LootConditionModifier and TypeFieldDescriptionprivate final ImmutableList.Builder<LootCondition> LootPool.Builder.conditionsprivate final List<LootCondition> LootPool.conditionsstatic final LootDataType<LootCondition> LootDataType.PREDICATES -
Uses of LootCondition in net.minecraft.loot.condition
Classes in net.minecraft.loot.condition that implement LootConditionModifier and TypeClassDescriptionclassclassclassfinal recordfinal recordfinal recordfinal recordfinal recordfinal recordclassfinal recordfinal recordfinal recordfinal recordfinal recordclassfinal recordfinal recordfinal recordfinal recordFields in net.minecraft.loot.condition declared as LootConditionModifier and TypeFieldDescriptionprivate final LootConditionInvertedLootCondition.termThe field for thetermrecord component.Fields in net.minecraft.loot.condition with type parameters of type LootConditionModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<LootCondition> LootCondition.BASE_CODECprivate final com.mojang.serialization.MapCodec<? extends LootCondition> LootConditionType.codecThe field for thecodecrecord component.static final com.mojang.serialization.Codec<LootCondition> LootCondition.CODECstatic final com.mojang.serialization.Codec<RegistryEntry<LootCondition>> LootCondition.ENTRY_CODECprivate final RegistryKey<LootCondition> ReferenceLootCondition.idThe field for theidrecord component.private final ImmutableList.Builder<LootCondition> AlternativeLootCondition.Builder.termsprotected final List<LootCondition> AlternativeLootCondition.termsMethods in net.minecraft.loot.condition that return LootConditionModifier and TypeMethodDescriptionprotected LootConditionAllOfLootCondition.Builder.build(List<LootCondition> terms) AlternativeLootCondition.Builder.build()protected abstract LootConditionAlternativeLootCondition.Builder.build(List<LootCondition> terms) protected LootConditionAnyOfLootCondition.Builder.build(List<LootCondition> terms) BlockStatePropertyLootCondition.Builder.build()EntityScoresLootCondition.Builder.build()LootCondition.Builder.build()InvertedLootCondition.term()Returns the value of thetermrecord component.Methods in net.minecraft.loot.condition that return types with arguments of type LootConditionModifier and TypeMethodDescriptioncom.mojang.serialization.MapCodec<? extends LootCondition> LootConditionType.codec()Returns the value of thecodecrecord component.ReferenceLootCondition.id()Returns the value of theidrecord component.Method parameters in net.minecraft.loot.condition with type arguments of type LootConditionModifier and TypeMethodDescriptionprotected LootConditionAllOfLootCondition.Builder.build(List<LootCondition> terms) protected abstract LootConditionAlternativeLootCondition.Builder.build(List<LootCondition> terms) protected LootConditionAnyOfLootCondition.Builder.build(List<LootCondition> terms) static LootCondition.BuilderReferenceLootCondition.builder(RegistryKey<LootCondition> key) static AllOfLootConditionAllOfLootCondition.create(List<LootCondition> terms) protected static <T extends AlternativeLootCondition>
com.mojang.serialization.MapCodec<T> AlternativeLootCondition.createCodec(Function<List<LootCondition>, T> termsToCondition) protected static <T extends AlternativeLootCondition>
com.mojang.serialization.Codec<T> AlternativeLootCondition.createInlineCodec(Function<List<LootCondition>, T> termsToCondition) private static LootConditionTypeLootConditionTypes.register(String id, com.mojang.serialization.MapCodec<? extends LootCondition> codec) Constructors in net.minecraft.loot.condition with parameters of type LootConditionModifierConstructorDescriptionCreates an instance of aInvertedLootConditionrecord class.Constructor parameters in net.minecraft.loot.condition with type arguments of type LootConditionModifierConstructorDescription(package private)AllOfLootCondition(List<LootCondition> terms) protectedAlternativeLootCondition(List<LootCondition> terms, Predicate<LootContext> predicate) (package private)AnyOfLootCondition(List<LootCondition> terms) LootConditionType(com.mojang.serialization.MapCodec<? extends LootCondition> mapCodec) ReferenceLootCondition(RegistryKey<LootCondition> registryKey) -
Uses of LootCondition in net.minecraft.loot.context
Methods in net.minecraft.loot.context that return types with arguments of type LootConditionModifier and TypeMethodDescriptionstatic LootContext.Entry<LootCondition> LootContext.predicate(LootCondition predicate) Methods in net.minecraft.loot.context with parameters of type LootConditionModifier and TypeMethodDescriptionstatic LootContext.Entry<LootCondition> LootContext.predicate(LootCondition predicate) -
Uses of LootCondition in net.minecraft.loot.entry
Fields in net.minecraft.loot.entry with type parameters of type LootConditionModifier and TypeFieldDescriptionprivate final ImmutableList.Builder<LootCondition> LootPoolEntry.Builder.conditionsprotected final List<LootCondition> LootPoolEntry.conditionsMethods in net.minecraft.loot.entry that return types with arguments of type LootConditionModifier and TypeMethodDescriptionprotected static <T extends LootPoolEntry>
com.mojang.datafixers.Products.P1<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<T>, List<LootCondition>> LootPoolEntry.addConditionsField(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<T> instance) protected static <T extends LeafEntry>
com.mojang.datafixers.Products.P4<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<T>, Integer, Integer, List<LootCondition>, List<LootFunction>> LeafEntry.addLeafFields(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<T> instance) protected List<LootCondition> LootPoolEntry.Builder.getConditions()Method parameters in net.minecraft.loot.entry with type arguments of type LootConditionModifier and TypeMethodDescriptionLeafEntry.Factory.build(int weight, int quality, List<LootCondition> conditions, List<LootFunction> functions) Constructor parameters in net.minecraft.loot.entry with type arguments of type LootConditionModifierConstructorDescriptionprivateDynamicEntry(Identifier name, int weight, int quality, List<LootCondition> conditions, List<LootFunction> functions) privateEmptyEntry(int weight, int quality, List<LootCondition> conditions, List<LootFunction> functions) privateItemEntry(RegistryEntry<Item> item, int weight, int quality, List<LootCondition> conditions, List<LootFunction> functions) protectedLeafEntry(int weight, int quality, List<LootCondition> conditions, List<LootFunction> functions) protectedLootPoolEntry(List<LootCondition> conditions) privateLootTableEntry(com.mojang.datafixers.util.Either<RegistryKey<LootTable>, LootTable> value, int weight, int quality, List<LootCondition> conditions, List<LootFunction> functions) privateTagEntry(TagKey<Item> name, boolean expand, int weight, int quality, List<LootCondition> conditions, List<LootFunction> functions) -
Uses of LootCondition in net.minecraft.loot.function
Fields in net.minecraft.loot.function with type parameters of type LootConditionModifier and TypeFieldDescriptionprivate final ImmutableList.Builder<LootCondition> ConditionalLootFunction.Builder.conditionListprotected final List<LootCondition> ConditionalLootFunction.conditionsprivate final Function<List<LootCondition>, LootFunction> ConditionalLootFunction.Joiner.joinerMethods in net.minecraft.loot.function that return types with arguments of type LootConditionModifier and TypeMethodDescriptionprotected static <T extends ConditionalLootFunction>
com.mojang.datafixers.Products.P1<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<T>, List<LootCondition>> ConditionalLootFunction.addConditionsField(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<T> instance) protected List<LootCondition> ConditionalLootFunction.Builder.getConditions()Method parameters in net.minecraft.loot.function with type arguments of type LootConditionModifier and TypeMethodDescriptionprotected static ConditionalLootFunction.Builder<?> ConditionalLootFunction.builder(Function<List<LootCondition>, LootFunction> joiner) Constructor parameters in net.minecraft.loot.function with type arguments of type LootConditionModifierConstructorDescriptionprivateApplyBonusLootFunction(List<LootCondition> conditions, RegistryEntry<Enchantment> enchantment, ApplyBonusLootFunction.Formula formula) protectedConditionalLootFunction(List<LootCondition> conditions) (package private)CopyComponentsLootFunction(List<LootCondition> conditions, CopyComponentsLootFunction.Source source, Optional<List<ComponentType<?>>> include, Optional<List<ComponentType<?>>> exclude) privateCopyNameLootFunction(List<LootCondition> conditions, CopyNameLootFunction.Source source) (package private)CopyNbtLootFunction(List<LootCondition> conditions, LootNbtProvider source, List<CopyNbtLootFunction.Operation> operations) privateCopyStateLootFunction(List<LootCondition> conditions, RegistryEntry<Block> block, List<String> properties) (package private)CopyStateLootFunction(List<LootCondition> conditions, RegistryEntry<Block> block, Set<Property<?>> properties) (package private)EnchantedCountIncreaseLootFunction(List<LootCondition> conditions, RegistryEntry<Enchantment> enchantment, LootNumberProvider count, int limit) (package private)EnchantRandomlyLootFunction(List<LootCondition> conditions, Optional<RegistryEntryList<Enchantment>> options, boolean onlyCompatible) (package private)EnchantWithLevelsLootFunction(List<LootCondition> conditions, LootNumberProvider levels, Optional<RegistryEntryList<Enchantment>> options) (package private)ExplorationMapLootFunction(List<LootCondition> conditions, TagKey<Structure> destination, RegistryEntry<MapDecorationType> decoration, byte zoom, int searchRadius, boolean skipExistingChunks) privateExplosionDecayLootFunction(List<LootCondition> conditions) FillPlayerHeadLootFunction(List<LootCondition> conditions, LootContext.EntityTarget entity) privateFilteredLootFunction(List<LootCondition> conditions, ItemPredicate itemFilter, LootFunction modifier) privateFurnaceSmeltLootFunction(List<LootCondition> conditions) Joiner(Function<List<LootCondition>, LootFunction> joiner) privateLimitCountLootFunction(List<LootCondition> conditions, BoundedIntUnaryOperator limit) privateModifyContentsLootFunction(List<LootCondition> conditions, ContainerComponentModifier<?> component, LootFunction modifier) privateReferenceLootFunction(List<LootCondition> conditions, RegistryKey<LootFunction> name) (package private)SetAttributesLootFunction(List<LootCondition> conditions, List<SetAttributesLootFunction.Attribute> attributes, boolean replace) (package private)SetBannerPatternLootFunction(List<LootCondition> conditions, BannerPatternsComponent patterns, boolean append) SetBookCoverLootFunction(List<LootCondition> conditions, Optional<RawFilteredPair<String>> title, Optional<String> author, Optional<Integer> generation) privateSetComponentsLootFunction(List<LootCondition> conditions, ComponentChanges changes) (package private)SetContentsLootFunction(List<LootCondition> conditions, ContainerComponentModifier<?> component, List<LootPoolEntry> entries) privateSetCountLootFunction(List<LootCondition> conditions, LootNumberProvider countRange, boolean add) privateSetCustomDataLootFunction(List<LootCondition> conditions, NbtCompound nbt) privateSetCustomModelDataLootFunction(List<LootCondition> conditions, LootNumberProvider value) privateSetDamageLootFunction(List<LootCondition> conditions, LootNumberProvider durabilityRange, boolean add) (package private)SetEnchantmentsLootFunction(List<LootCondition> conditions, Map<RegistryEntry<Enchantment>, LootNumberProvider> enchantments, boolean add) SetFireworkExplosionLootFunction(List<LootCondition> conditions, Optional<FireworkExplosionComponent.Type> shape, Optional<IntList> colors, Optional<IntList> fadeColors, Optional<Boolean> trail, Optional<Boolean> twinkle) protectedSetFireworksLootFunction(List<LootCondition> conditions, Optional<ListOperation.Values<FireworkExplosionComponent>> explosions, Optional<Integer> flightDuration) privateSetInstrumentLootFunction(List<LootCondition> conditions, TagKey<Instrument> options) privateSetItemLootFunction(List<LootCondition> conditions, RegistryEntry<Item> item) privateSetLootTableLootFunction(List<LootCondition> conditions, RegistryKey<LootTable> lootTable, long seed, RegistryEntry<BlockEntityType<?>> blockEntityType) SetLoreLootFunction(List<LootCondition> conditions, List<Text> lore, ListOperation operation, Optional<LootContext.EntityTarget> entity) privateSetNameLootFunction(List<LootCondition> conditions, Optional<Text> name, Optional<LootContext.EntityTarget> entity, SetNameLootFunction.Target target) privateSetOminousBottleAmplifierLootFunction(List<LootCondition> conditions, LootNumberProvider amplifier) privateSetPotionLootFunction(List<LootCondition> conditions, RegistryEntry<Potion> potion) (package private)SetStewEffectLootFunction(List<LootCondition> conditions, List<SetStewEffectLootFunction.StewEffect> stewEffects) protectedSetWritableBookPagesLootFunction(List<LootCondition> conditions, List<RawFilteredPair<String>> pages, ListOperation operation) protectedSetWrittenBookPagesLootFunction(List<LootCondition> conditions, List<RawFilteredPair<Text>> pages, ListOperation operation) privateToggleTooltipsLootFunction(List<LootCondition> conditions, Map<ToggleTooltipsLootFunction.Toggle<?>, Boolean> toggles) -
Uses of LootCondition in net.minecraft.predicate.entity
Fields in net.minecraft.predicate.entity with type parameters of type LootConditionModifier and TypeFieldDescriptionprivate final List<LootCondition> LootContextPredicate.conditionsMethods in net.minecraft.predicate.entity with parameters of type LootConditionModifier and TypeMethodDescriptionstatic LootContextPredicateLootContextPredicate.create(LootCondition[] conditions) Constructor parameters in net.minecraft.predicate.entity with type arguments of type LootConditionModifierConstructorDescription(package private)LootContextPredicate(List<LootCondition> conditions) -
Uses of LootCondition in net.minecraft.registry
Fields in net.minecraft.registry with type parameters of type LootConditionModifier and TypeFieldDescriptionstatic final RegistryKey<Registry<LootCondition>> RegistryKeys.PREDICATE -
Uses of LootCondition in net.minecraft.server.command
Method parameters in net.minecraft.server.command with type arguments of type LootConditionModifier and TypeMethodDescriptionprivate static booleanExecuteCommand.testLootCondition(ServerCommandSource source, RegistryEntry<LootCondition> lootCondition)