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 LootConditionModifier and TypeMethodDescriptionstatic LootConditionIdentifierArgumentType.getPredicateArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String argumentName) -
Uses of LootCondition in net.minecraft.loot
Classes in net.minecraft.loot that implement LootConditionFields in net.minecraft.loot declared as LootConditionModifier and TypeFieldDescription(package private) final LootCondition[]LootPool.conditionsprivate final LootCondition[]LootManager.AndCondition.termsFields in net.minecraft.loot with type parameters of type LootConditionModifier and TypeFieldDescriptionprivate final List<LootCondition>LootPool.Builder.conditionsstatic final LootDataType<LootCondition>LootDataType.PREDICATESMethods in net.minecraft.loot that return LootConditionModifier and TypeMethodDescriptionstatic LootConditionLootManager.and(LootCondition[] predicates) Methods in net.minecraft.loot with parameters of type LootConditionModifier and TypeMethodDescriptionstatic LootConditionLootManager.and(LootCondition[] predicates) Constructors in net.minecraft.loot with parameters of type LootConditionModifierConstructorDescription(package private)AndCondition(LootCondition[] terms) (package private)LootPool(LootPoolEntry[] entries, LootCondition[] conditions, LootFunction[] functions, LootNumberProvider rolls, LootNumberProvider bonusRolls) -
Uses of LootCondition in net.minecraft.loot.condition
Classes in net.minecraft.loot.condition that implement LootConditionModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassFields in net.minecraft.loot.condition declared as LootConditionModifier and TypeFieldDescription(package private) final LootConditionInvertedLootCondition.term(package private) final LootCondition[]AlternativeLootCondition.termsFields in net.minecraft.loot.condition with type parameters of type LootConditionModifier and TypeFieldDescriptionprivate final List<LootCondition>AlternativeLootCondition.Builder.termsMethods in net.minecraft.loot.condition that return LootConditionModifier and TypeMethodDescriptionprotected LootConditionAllOfLootCondition.Builder.build(LootCondition[] terms) AlternativeLootCondition.Builder.build()protected abstract LootConditionAlternativeLootCondition.Builder.build(LootCondition[] terms) protected LootConditionAnyOfLootCondition.Builder.build(LootCondition[] terms) BlockStatePropertyLootCondition.Builder.build()EntityScoresLootCondition.Builder.build()LootCondition.Builder.build()Methods in net.minecraft.loot.condition with parameters of type LootConditionModifier and TypeMethodDescriptionprotected LootConditionAllOfLootCondition.Builder.build(LootCondition[] terms) protected abstract LootConditionAlternativeLootCondition.Builder.build(LootCondition[] terms) protected LootConditionAnyOfLootCondition.Builder.build(LootCondition[] terms) protected AllOfLootConditionAllOfLootCondition.Serializer.fromTerms(LootCondition[] lootCondition) protected abstract TAlternativeLootCondition.Serializer.fromTerms(LootCondition[] terms) protected AnyOfLootConditionAnyOfLootCondition.Serializer.fromTerms(LootCondition[] lootCondition) Method parameters in net.minecraft.loot.condition with type arguments of type LootConditionModifier and TypeMethodDescriptionprivate static LootConditionTypeLootConditionTypes.register(String id, JsonSerializer<? extends LootCondition> serializer) Constructors in net.minecraft.loot.condition with parameters of type LootConditionModifierConstructorDescription(package private)AllOfLootCondition(LootCondition[] terms) protectedAlternativeLootCondition(LootCondition[] terms, Predicate<LootContext> predicate) (package private)AnyOfLootCondition(LootCondition[] terms) (package private)Constructor parameters in net.minecraft.loot.condition with type arguments of type LootConditionModifierConstructorDescriptionLootConditionType(JsonSerializer<? extends LootCondition> jsonSerializer) -
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 declared as LootConditionFields in net.minecraft.loot.entry with type parameters of type LootConditionModifier and TypeFieldDescriptionprivate final List<LootCondition>LootPoolEntry.Builder.conditionsMethods in net.minecraft.loot.entry that return LootConditionModifier and TypeMethodDescriptionprotected LootCondition[]LootPoolEntry.Builder.getConditions()Methods in net.minecraft.loot.entry with parameters of type LootConditionModifier and TypeMethodDescriptionLeafEntry.Factory.build(int weight, int quality, LootCondition[] conditions, LootFunction[] functions) CombinedEntry.Factory.create(LootPoolEntry[] children, LootCondition[] conditions) protected DynamicEntryDynamicEntry.Serializer.fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, int int2, int int3, LootCondition[] lootCondition, LootFunction[] lootFunction) EmptyEntry.Serializer.fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, int int2, int int3, LootCondition[] lootCondition, LootFunction[] lootFunction) protected ItemEntryItemEntry.Serializer.fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, int int2, int int3, LootCondition[] lootCondition, LootFunction[] lootFunction) protected abstract TLeafEntry.Serializer.fromJson(JsonObject entryJson, JsonDeserializationContext context, int weight, int quality, LootCondition[] conditions, LootFunction[] functions) final TLeafEntry.Serializer.fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) abstract TLootPoolEntry.Serializer.fromJson(JsonObject json, JsonDeserializationContext context, LootCondition[] conditions) protected LootTableEntryLootTableEntry.Serializer.fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, int int2, int int3, LootCondition[] lootCondition, LootFunction[] lootFunction) protected TagEntryTagEntry.Serializer.fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, int int2, int int3, LootCondition[] lootCondition, LootFunction[] lootFunction) Constructors in net.minecraft.loot.entry with parameters of type LootConditionModifierConstructorDescription(package private)AlternativeEntry(LootPoolEntry[] children, LootCondition[] conditions) protectedCombinedEntry(LootPoolEntry[] children, LootCondition[] conditions) (package private)DynamicEntry(Identifier name, int weight, int quality, LootCondition[] conditions, LootFunction[] functions) (package private)EmptyEntry(int weight, int quality, LootCondition[] conditions, LootFunction[] functions) (package private)GroupEntry(LootPoolEntry[] children, LootCondition[] conditions) (package private)ItemEntry(Item item, int weight, int quality, LootCondition[] conditions, LootFunction[] functions) protectedLeafEntry(int weight, int quality, LootCondition[] conditions, LootFunction[] functions) protectedLootPoolEntry(LootCondition[] conditions) (package private)LootTableEntry(Identifier id, int weight, int quality, LootCondition[] conditions, LootFunction[] functions) (package private)SequenceEntry(LootPoolEntry[] children, LootCondition[] conditions) (package private)TagEntry(TagKey<Item> name, boolean expand, int weight, int quality, LootCondition[] conditions, LootFunction[] functions) -
Uses of LootCondition in net.minecraft.loot.function
Fields in net.minecraft.loot.function declared as LootConditionModifier and TypeFieldDescriptionprotected final LootCondition[]ConditionalLootFunction.conditionsFields in net.minecraft.loot.function with type parameters of type LootConditionModifier and TypeFieldDescriptionprivate final List<LootCondition>ConditionalLootFunction.Builder.conditionListMethods in net.minecraft.loot.function that return LootConditionModifier and TypeMethodDescriptionprotected LootCondition[]ConditionalLootFunction.Builder.getConditions()Methods in net.minecraft.loot.function with parameters of type LootConditionModifier and TypeMethodDescriptionApplyBonusLootFunction.Serializer.fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) abstract TConditionalLootFunction.Serializer.fromJson(JsonObject json, JsonDeserializationContext context, LootCondition[] conditions) CopyNameLootFunction.Serializer.fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) CopyNbtLootFunction.Serializer.fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) CopyStateFunction.Serializer.fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) EnchantRandomlyLootFunction.Serializer.fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) EnchantWithLevelsLootFunction.Serializer.fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) ExplorationMapLootFunction.Serializer.fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) ExplosionDecayLootFunction.Serializer.fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) FillPlayerHeadLootFunction.Serializer.fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) FurnaceSmeltLootFunction.Serializer.fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) LimitCountLootFunction.Serializer.fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) LootingEnchantLootFunction.Serializer.fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) ReferenceLootFunction.Serializer.fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) SetAttributesLootFunction.Serializer.fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) SetBannerPatternFunction.Serializer.fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) SetContentsLootFunction.Serializer.fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) SetCountLootFunction.Serializer.fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) SetDamageLootFunction.Serializer.fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) SetEnchantmentsLootFunction.Serializer.fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) SetInstrumentLootFunction.Serializer.fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) SetLootTableLootFunction.Serializer.fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) SetLoreLootFunction.Serializer.fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) SetNameLootFunction.Serializer.fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) SetNbtLootFunction.Serializer.fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) SetPotionLootFunction.Serializer.fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) SetStewEffectLootFunction.Serializer.fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) Constructors in net.minecraft.loot.function with parameters of type LootConditionModifierConstructorDescription(package private)ApplyBonusLootFunction(LootCondition[] conditions, Enchantment enchantment, ApplyBonusLootFunction.Formula formula) protectedConditionalLootFunction(LootCondition[] conditions) (package private)CopyNameLootFunction(LootCondition[] conditions, CopyNameLootFunction.Source source) (package private)CopyNbtLootFunction(LootCondition[] conditions, LootNbtProvider source, List<CopyNbtLootFunction.Operation> operations) (package private)CopyStateFunction(LootCondition[] conditions, Block block, Set<Property<?>> properties) (package private)EnchantRandomlyLootFunction(LootCondition[] conditions, Collection<Enchantment> enchantments) (package private)EnchantWithLevelsLootFunction(LootCondition[] conditions, LootNumberProvider range, boolean treasureEnchantmentsAllowed) (package private)ExplorationMapLootFunction(LootCondition[] conditions, TagKey<Structure> destination, MapIcon.Type decoration, byte zoom, int searchRadius, boolean skipExistingChunks) (package private)ExplosionDecayLootFunction(LootCondition[] conditions) FillPlayerHeadLootFunction(LootCondition[] conditions, LootContext.EntityTarget entity) (package private)FurnaceSmeltLootFunction(LootCondition[] conditions) (package private)LimitCountLootFunction(LootCondition[] conditions, BoundedIntUnaryOperator limit) (package private)LootingEnchantLootFunction(LootCondition[] conditions, LootNumberProvider countRange, int limit) (package private)ReferenceLootFunction(LootCondition[] conditions, Identifier name) (package private)SetAttributesLootFunction(LootCondition[] conditions, List<SetAttributesLootFunction.Attribute> attributes) (package private)SetBannerPatternFunction(LootCondition[] conditions, List<com.mojang.datafixers.util.Pair<RegistryEntry<BannerPattern>, DyeColor>> patterns, boolean append) (package private)SetContentsLootFunction(LootCondition[] conditions, BlockEntityType<?> type, List<LootPoolEntry> entries) (package private)SetCountLootFunction(LootCondition[] conditions, LootNumberProvider countRange, boolean add) (package private)SetDamageLootFunction(LootCondition[] conditions, LootNumberProvider durabilityRange, boolean add) (package private)SetEnchantmentsLootFunction(LootCondition[] conditions, Map<Enchantment, LootNumberProvider> enchantments, boolean add) (package private)SetInstrumentLootFunction(LootCondition[] conditions, TagKey<Instrument> options) (package private)SetLootTableLootFunction(LootCondition[] conditions, Identifier id, long seed, BlockEntityType<?> type) SetLoreLootFunction(LootCondition[] conditions, boolean replace, List<Text> lore, LootContext.EntityTarget entity) (package private)SetNameLootFunction(LootCondition[] conditions, @Nullable Text name, LootContext.EntityTarget entity) (package private)SetNbtLootFunction(LootCondition[] conditions, NbtCompound nbt) (package private)SetPotionLootFunction(LootCondition[] conditions, Potion potion) (package private)SetStewEffectLootFunction(LootCondition[] conditions, Map<StatusEffect, LootNumberProvider> effects) -
Uses of LootCondition in net.minecraft.predicate.entity
Fields in net.minecraft.predicate.entity declared as LootConditionMethods in net.minecraft.predicate.entity that return LootConditionModifier and TypeMethodDescriptionfinal LootCondition[]AdvancementEntityPredicateDeserializer.loadConditions(JsonArray array, String key, LootContextType contextType) Methods in net.minecraft.predicate.entity with parameters of type LootConditionModifier and TypeMethodDescriptionfinal JsonElementAdvancementEntityPredicateSerializer.conditionsToJson(LootCondition[] conditions) static LootContextPredicateLootContextPredicate.create(LootCondition[] conditions) Constructors in net.minecraft.predicate.entity with parameters of type LootCondition -
Uses of LootCondition in net.minecraft.server.command
Methods in net.minecraft.server.command with parameters of type LootConditionModifier and TypeMethodDescriptionprivate static booleanExecuteCommand.testLootCondition(ServerCommandSource source, LootCondition condition)