Uses of Interface
net.minecraft.loot.condition.LootCondition
Package
Description
-
Uses of LootCondition in net.minecraft.command.argument
Modifier and TypeMethodDescriptionstatic LootCondition
IdentifierArgumentType.getPredicateArgument
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String argumentName) -
Uses of LootCondition in net.minecraft.loot
Modifier and TypeFieldDescription(package private) final LootCondition[]
LootPool.conditions
private final LootCondition[]
LootManager.AndCondition.terms
Modifier and TypeFieldDescriptionprivate final List<LootCondition>
LootPool.Builder.conditions
static final LootDataType<LootCondition>
LootDataType.PREDICATES
Modifier and TypeMethodDescriptionstatic LootCondition
LootManager.and
(LootCondition[] predicates) Modifier and TypeMethodDescriptionstatic LootCondition
LootManager.and
(LootCondition[] predicates) ModifierConstructorDescription(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
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Modifier and TypeFieldDescription(package private) final LootCondition
InvertedLootCondition.term
(package private) final LootCondition[]
AlternativeLootCondition.terms
Modifier and TypeFieldDescriptionprivate final List<LootCondition>
AlternativeLootCondition.Builder.terms
Modifier and TypeMethodDescriptionprotected LootCondition
AllOfLootCondition.Builder.build
(LootCondition[] terms) AlternativeLootCondition.Builder.build()
protected abstract LootCondition
AlternativeLootCondition.Builder.build
(LootCondition[] terms) protected LootCondition
AnyOfLootCondition.Builder.build
(LootCondition[] terms) BlockStatePropertyLootCondition.Builder.build()
EntityScoresLootCondition.Builder.build()
LootCondition.Builder.build()
Modifier and TypeMethodDescriptionprotected LootCondition
AllOfLootCondition.Builder.build
(LootCondition[] terms) protected abstract LootCondition
AlternativeLootCondition.Builder.build
(LootCondition[] terms) protected LootCondition
AnyOfLootCondition.Builder.build
(LootCondition[] terms) protected AllOfLootCondition
AllOfLootCondition.Serializer.fromTerms
(LootCondition[] lootCondition) protected abstract T
AlternativeLootCondition.Serializer.fromTerms
(LootCondition[] terms) protected AnyOfLootCondition
AnyOfLootCondition.Serializer.fromTerms
(LootCondition[] lootCondition) Modifier and TypeMethodDescriptionprivate static LootConditionType
LootConditionTypes.register
(String id, JsonSerializer<? extends LootCondition> serializer) ModifierConstructorDescription(package private)
AllOfLootCondition
(LootCondition[] terms) protected
AlternativeLootCondition
(LootCondition[] terms, Predicate<LootContext> predicate) (package private)
AnyOfLootCondition
(LootCondition[] terms) (package private)
ModifierConstructorDescriptionLootConditionType
(JsonSerializer<? extends LootCondition> jsonSerializer) -
Uses of LootCondition in net.minecraft.loot.context
Modifier and TypeMethodDescriptionstatic LootContext.Entry<LootCondition>
LootContext.predicate
(LootCondition predicate) Modifier and TypeMethodDescriptionstatic LootContext.Entry<LootCondition>
LootContext.predicate
(LootCondition predicate) -
Uses of LootCondition in net.minecraft.loot.entry
Modifier and TypeFieldDescriptionprivate final List<LootCondition>
LootPoolEntry.Builder.conditions
Modifier and TypeMethodDescriptionprotected LootCondition[]
LootPoolEntry.Builder.getConditions()
Modifier and TypeMethodDescriptionLeafEntry.Factory.build
(int weight, int quality, LootCondition[] conditions, LootFunction[] functions) CombinedEntry.Factory.create
(LootPoolEntry[] children, LootCondition[] conditions) protected DynamicEntry
DynamicEntry.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 ItemEntry
ItemEntry.Serializer.fromJson
(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, int int2, int int3, LootCondition[] lootCondition, LootFunction[] lootFunction) protected abstract T
LeafEntry.Serializer.fromJson
(JsonObject entryJson, JsonDeserializationContext context, int weight, int quality, LootCondition[] conditions, LootFunction[] functions) final T
LeafEntry.Serializer.fromJson
(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) abstract T
LootPoolEntry.Serializer.fromJson
(JsonObject json, JsonDeserializationContext context, LootCondition[] conditions) protected LootTableEntry
LootTableEntry.Serializer.fromJson
(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, int int2, int int3, LootCondition[] lootCondition, LootFunction[] lootFunction) protected TagEntry
TagEntry.Serializer.fromJson
(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, int int2, int int3, LootCondition[] lootCondition, LootFunction[] lootFunction) ModifierConstructorDescription(package private)
AlternativeEntry
(LootPoolEntry[] children, LootCondition[] conditions) protected
CombinedEntry
(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) protected
LeafEntry
(int weight, int quality, LootCondition[] conditions, LootFunction[] functions) protected
LootPoolEntry
(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
Modifier and TypeFieldDescriptionprotected final LootCondition[]
ConditionalLootFunction.conditions
Modifier and TypeFieldDescriptionprivate final List<LootCondition>
ConditionalLootFunction.Builder.conditionList
Modifier and TypeMethodDescriptionprotected LootCondition[]
ConditionalLootFunction.Builder.getConditions()
Modifier and TypeMethodDescriptionApplyBonusLootFunction.Serializer.fromJson
(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) abstract T
ConditionalLootFunction.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) ModifierConstructorDescription(package private)
ApplyBonusLootFunction
(LootCondition[] conditions, Enchantment enchantment, ApplyBonusLootFunction.Formula formula) protected
ConditionalLootFunction
(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
Modifier and TypeMethodDescriptionfinal LootCondition[]
AdvancementEntityPredicateDeserializer.loadConditions
(JsonArray array, String key, LootContextType contextType) Modifier and TypeMethodDescriptionfinal JsonElement
AdvancementEntityPredicateSerializer.conditionsToJson
(LootCondition[] conditions) static LootContextPredicate
LootContextPredicate.create
(LootCondition[] conditions) -
Uses of LootCondition in net.minecraft.server.command
Modifier and TypeMethodDescriptionprivate static boolean
ExecuteCommand.testLootCondition
(ServerCommandSource source, LootCondition condition)