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[] lootCondition) (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 identifier, int int2, int int3, LootCondition[] lootCondition, LootFunction[] lootFunction) (package private)
EmptyEntry
(int weight, int quality, LootCondition[] conditions, LootFunction[] functions) (package private)
GroupEntry
(LootPoolEntry[] children, LootCondition[] conditions) (package private)
ItemEntry
(Item item, int int2, int int3, LootCondition[] lootCondition, LootFunction[] lootFunction) protected
LeafEntry
(int weight, int quality, LootCondition[] conditions, LootFunction[] functions) protected
LootPoolEntry
(LootCondition[] conditions) (package private)
LootTableEntry
(Identifier identifier, int int2, int int3, LootCondition[] lootCondition, LootFunction[] lootFunction) (package private)
SequenceEntry
(LootPoolEntry[] children, LootCondition[] conditions) (package private)
TagEntry
(Tag<Item> tag, boolean bool, int int2, int int3, LootCondition[] lootCondition, LootFunction[] lootFunction) -
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) 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) SetStewEffectLootFunction.Serializer.fromJson
(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) ModifierConstructorDescription(package private)
ApplyBonusLootFunction
(LootCondition[] lootCondition, Enchantment enchantment, ApplyBonusLootFunction.Formula formula) protected
ConditionalLootFunction
(LootCondition[] conditions) (package private)
CopyNameLootFunction
(LootCondition[] lootCondition, CopyNameLootFunction.Source source) (package private)
CopyNbtLootFunction
(LootCondition[] lootCondition, LootNbtProvider lootNbtProvider, List<CopyNbtLootFunction.Operation> list) (package private)
CopyStateFunction
(LootCondition[] lootCondition, Block block, Set<Property<?>> set) (package private)
EnchantRandomlyLootFunction
(LootCondition[] lootCondition, Collection<Enchantment> collection) (package private)
EnchantWithLevelsLootFunction
(LootCondition[] lootCondition, LootNumberProvider lootNumberProvider, boolean bool) (package private)
ExplorationMapLootFunction
(LootCondition[] lootCondition, StructureFeature<?> structureFeature, MapIcon.Type type, byte byte2, int int2, boolean bool) (package private)
ExplosionDecayLootFunction
(LootCondition[] conditions) FillPlayerHeadLootFunction
(LootCondition[] conditions, LootContext.EntityTarget entity) (package private)
FurnaceSmeltLootFunction
(LootCondition[] conditions) (package private)
LimitCountLootFunction
(LootCondition[] lootCondition, BoundedIntUnaryOperator boundedIntUnaryOperator) (package private)
LootingEnchantLootFunction
(LootCondition[] lootCondition, LootNumberProvider lootNumberProvider, int int2) (package private)
SetAttributesLootFunction
(LootCondition[] lootCondition, List<SetAttributesLootFunction.Attribute> list) (package private)
SetBannerPatternFunction
(LootCondition[] lootCondition, List<com.mojang.datafixers.util.Pair<BannerPattern, DyeColor>> list, boolean bool) (package private)
SetContentsLootFunction
(LootCondition[] lootCondition, List<LootPoolEntry> list) (package private)
SetCountLootFunction
(LootCondition[] lootCondition, LootNumberProvider lootNumberProvider, boolean bool) (package private)
SetDamageLootFunction
(LootCondition[] lootCondition, LootNumberProvider lootNumberProvider, boolean bool) (package private)
SetEnchantmentsLootFunction
(LootCondition[] lootCondition, Map<Enchantment, LootNumberProvider> map, boolean bool) (package private)
SetLootTableLootFunction
(LootCondition[] lootCondition, Identifier identifier, long long2) SetLoreLootFunction
(LootCondition[] conditions, boolean replace, List<Text> lore, LootContext.EntityTarget entity) (package private)
SetNameLootFunction
(LootCondition[] lootCondition, @Nullable Text text, LootContext.EntityTarget entityTarget) (package private)
SetNbtLootFunction
(LootCondition[] lootCondition, NbtCompound nbtCompound) (package private)
SetStewEffectLootFunction
(LootCondition[] lootCondition, Map<StatusEffect, LootNumberProvider> map) -
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)