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 TypeFieldDescriptionprivate final Function<Identifier,
LootCondition> LootTableReporter.conditionGetter
private final List<LootCondition>
LootPool.Builder.conditions
ModifierConstructorDescription(package private)
LootPool
(LootPoolEntry[] entries, LootCondition[] conditions, LootFunction[] functions, LootNumberProvider rolls, LootNumberProvider bonusRolls) ModifierConstructorDescriptionLootTableReporter
(Multimap<String, String> messages, Supplier<String> nameFactory, LootContextType contextType, Function<Identifier, LootCondition> conditionGetter, Set<Identifier> conditions, Function<Identifier, LootTable> tableGetter, Set<Identifier> tables) LootTableReporter
(LootContextType contextType, Function<Identifier, LootCondition> conditionGetter, Function<Identifier, LootTable> tableFactory) -
Uses of LootCondition in net.minecraft.loot.condition
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
private static 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
private final LootCondition[]
LootConditionManager.AndCondition.terms
Modifier and TypeFieldDescriptionprivate Map<Identifier,
LootCondition> LootConditionManager.conditions
private final List<LootCondition>
AlternativeLootCondition.Builder.terms
Modifier and TypeMethodDescriptionAlternativeLootCondition.Builder.build()
BlockStatePropertyLootCondition.Builder.build()
EntityScoresLootCondition.Builder.build()
LootCondition.Builder.build()
LootConditionManager.get
(Identifier id) Modifier and TypeMethodDescriptionprivate static LootConditionType
LootConditionTypes.register
(String id, JsonSerializer<? extends LootCondition> serializer) ModifierConstructorDescription(package private)
AlternativeLootCondition
(LootCondition[] terms) (package private)
AndCondition
(LootCondition[] terms) (package private)
ModifierConstructorDescriptionLootConditionType
(JsonSerializer<? extends LootCondition> jsonSerializer) -
Uses of LootCondition in net.minecraft.loot.context
Modifier and TypeFieldDescriptionprivate final Function<Identifier,
LootCondition> LootContext.conditionGetter
private final Set<LootCondition>
LootContext.conditions
Modifier and TypeMethodDescriptionboolean
LootContext.addCondition
(LootCondition condition) void
LootContext.removeCondition
(LootCondition condition) -
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) 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) SetGoatHornSoundLootFunction.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<StructureType> 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)
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)
SetGoatHornSoundLootFunction
(LootCondition[] lootCondition, TagKey<Instrument> tagKey) (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 TypeFieldDescriptionprivate final LootCondition[]
EntityPredicate.Extended.conditions
Modifier and TypeMethodDescriptionfinal LootCondition[]
AdvancementEntityPredicateDeserializer.loadConditions
(JsonArray array, String key, LootContextType contextType) Modifier and TypeMethodDescriptionfinal JsonElement
AdvancementEntityPredicateSerializer.conditionsToJson
(LootCondition[] conditions) static EntityPredicate.Extended
EntityPredicate.Extended.create
(LootCondition[] conditions) -
Uses of LootCondition in net.minecraft.server.command
Modifier and TypeMethodDescriptionprivate static boolean
ExecuteCommand.testLootCondition
(ServerCommandSource source, LootCondition condition)