Uses of Interface
net.minecraft.loot.conditions.ILootCondition
Package
Description
-
Uses of ILootCondition in net.minecraft.advancements.criterion
Modifier and TypeFieldDescriptionprivate final ILootCondition[]
EntityPredicate.AndPredicate.conditions
Modifier and TypeMethodDescriptionstatic EntityPredicate.AndPredicate
EntityPredicate.AndPredicate.create
(ILootCondition... p_234591_0_) -
Uses of ILootCondition in net.minecraft.command.arguments
Modifier and TypeMethodDescriptionstatic ILootCondition
ResourceLocationArgument.getPredicate
(com.mojang.brigadier.context.CommandContext<CommandSource> p_228259_0_, String p_228259_1_) -
Uses of ILootCondition in net.minecraft.command.impl
Modifier and TypeMethodDescriptionprivate static boolean
ExecuteCommand.checkCustomPredicate
(CommandSource p_229767_0_, ILootCondition p_229767_1_) -
Uses of ILootCondition in net.minecraft.loot
Modifier and TypeFieldDescriptionprotected final ILootCondition[]
LootEntry.conditions
protected final ILootCondition[]
LootFunction.predicates
private final ILootCondition[]
LootPredicateManager.AndCombiner.terms
Modifier and TypeFieldDescriptionprivate final Function<ResourceLocation,
ILootCondition> ValidationTracker.conditionResolver
private final Function<ResourceLocation,
ILootCondition> LootContext.conditions
private final List<ILootCondition>
LootEntry.Builder.conditions
private final List<ILootCondition>
LootFunction.Builder.conditions
private final List<ILootCondition>
LootPool.Builder.conditions
private final List<ILootCondition>
LootPool.conditions
private Map<ResourceLocation,
ILootCondition> LootPredicateManager.conditions
private final Set<ILootCondition>
LootContext.visitedConditions
Modifier and TypeMethodDescriptionfinal ILootCondition[]
ConditionArrayParser.deserializeConditions
(com.google.gson.JsonArray p_234050_1_, String p_234050_2_, LootParameterSet p_234050_3_) LootPredicateManager.get
(ResourceLocation p_227517_1_) LootContext.getCondition
(ResourceLocation p_227504_1_) protected ILootCondition[]
LootEntry.Builder.getConditions()
protected ILootCondition[]
LootFunction.Builder.getConditions()
ValidationTracker.resolveCondition
(ResourceLocation p_227541_1_) Modifier and TypeMethodDescriptionboolean
LootContext.addVisitedCondition
(ILootCondition p_227501_1_) StandaloneLootEntry.ILootEntryBuilder.build
(int p_build_1_, int p_build_2_, ILootCondition[] p_build_3_, ILootFunction[] p_build_4_) ParentedLootEntry.IFactory.create
(LootEntry[] p_create_1_, ILootCondition[] p_create_2_) protected DynamicLootEntry
DynamicLootEntry.Serializer.deserialize
(com.google.gson.JsonObject p_212829_1_, com.google.gson.JsonDeserializationContext p_212829_2_, int p_212829_3_, int p_212829_4_, ILootCondition[] p_212829_5_, ILootFunction[] p_212829_6_) EmptyLootEntry.Serializer.deserialize
(com.google.gson.JsonObject p_212829_1_, com.google.gson.JsonDeserializationContext p_212829_2_, int p_212829_3_, int p_212829_4_, ILootCondition[] p_212829_5_, ILootFunction[] p_212829_6_) protected ItemLootEntry
ItemLootEntry.Serializer.deserialize
(com.google.gson.JsonObject p_212829_1_, com.google.gson.JsonDeserializationContext p_212829_2_, int p_212829_3_, int p_212829_4_, ILootCondition[] p_212829_5_, ILootFunction[] p_212829_6_) abstract T
LootFunction.Serializer.deserialize
(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_) protected abstract T
StandaloneLootEntry.Serializer.deserialize
(com.google.gson.JsonObject p_212829_1_, com.google.gson.JsonDeserializationContext p_212829_2_, int p_212829_3_, int p_212829_4_, ILootCondition[] p_212829_5_, ILootFunction[] p_212829_6_) protected TableLootEntry
TableLootEntry.Serializer.deserialize
(com.google.gson.JsonObject p_212829_1_, com.google.gson.JsonDeserializationContext p_212829_2_, int p_212829_3_, int p_212829_4_, ILootCondition[] p_212829_5_, ILootFunction[] p_212829_6_) protected TagLootEntry
TagLootEntry.Serializer.deserialize
(com.google.gson.JsonObject p_212829_1_, com.google.gson.JsonDeserializationContext p_212829_2_, int p_212829_3_, int p_212829_4_, ILootCondition[] p_212829_5_, ILootFunction[] p_212829_6_) abstract T
LootEntry.Serializer.deserializeCustom
(com.google.gson.JsonObject p_230421_1_, com.google.gson.JsonDeserializationContext p_230421_2_, ILootCondition[] p_230421_3_) final T
StandaloneLootEntry.Serializer.deserializeCustom
(com.google.gson.JsonObject p_230421_1_, com.google.gson.JsonDeserializationContext p_230421_2_, ILootCondition[] p_230421_3_) void
LootContext.removeVisitedCondition
(ILootCondition p_227503_1_) final com.google.gson.JsonElement
ConditionArraySerializer.serializeConditions
(ILootCondition[] p_235681_1_) ModifierConstructorDescription(package private)
AlternativesLootEntry
(LootEntry[] p_i51263_1_, ILootCondition[] p_i51263_2_) private
AndCombiner
(ILootCondition[] p_i232164_1_) private
DynamicLootEntry
(ResourceLocation p_i51260_1_, int p_i51260_2_, int p_i51260_3_, ILootCondition[] p_i51260_4_, ILootFunction[] p_i51260_5_) private
EmptyLootEntry
(int p_i51258_1_, int p_i51258_2_, ILootCondition[] p_i51258_3_, ILootFunction[] p_i51258_4_) (package private)
GroupLootEntry
(LootEntry[] p_i51257_1_, ILootCondition[] p_i51257_2_) private
ItemLootEntry
(Item p_i51255_1_, int p_i51255_2_, int p_i51255_3_, ILootCondition[] p_i51255_4_, ILootFunction[] p_i51255_5_) protected
LootEntry
(ILootCondition[] p_i51254_1_) protected
LootFunction
(ILootCondition[] p_i51231_1_) private
LootPool
(LootEntry[] p_i51268_1_, ILootCondition[] p_i51268_2_, ILootFunction[] p_i51268_3_, IRandomRange p_i51268_4_, RandomValueRange p_i51268_5_, String name) protected
ParentedLootEntry
(LootEntry[] p_i51262_1_, ILootCondition[] p_i51262_2_) (package private)
SequenceLootEntry
(LootEntry[] p_i51250_1_, ILootCondition[] p_i51250_2_) protected
StandaloneLootEntry
(int p_i51253_1_, int p_i51253_2_, ILootCondition[] p_i51253_3_, ILootFunction[] p_i51253_4_) private
TableLootEntry
(ResourceLocation p_i51251_1_, int p_i51251_2_, int p_i51251_3_, ILootCondition[] p_i51251_4_, ILootFunction[] p_i51251_5_) private
TagLootEntry
(ITag<Item> p_i51248_1_, boolean p_i51248_2_, int p_i51248_3_, int p_i51248_4_, ILootCondition[] p_i51248_5_, ILootFunction[] p_i51248_6_) ModifierConstructorDescriptionLootConditionType
(ILootSerializer<? extends ILootCondition> p_i232175_1_) ValidationTracker
(com.google.common.collect.Multimap<String, String> p_i225888_1_, Supplier<String> p_i225888_2_, LootParameterSet p_i225888_3_, Function<ResourceLocation, ILootCondition> p_i225888_4_, Set<ResourceLocation> p_i225888_5_, Function<ResourceLocation, LootTable> p_i225888_6_, Set<ResourceLocation> p_i225888_7_) ValidationTracker
(LootParameterSet p_i225889_1_, Function<ResourceLocation, ILootCondition> p_i225889_2_, Function<ResourceLocation, LootTable> p_i225889_3_) -
Uses of ILootCondition in net.minecraft.loot.conditions
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Modifier and TypeFieldDescriptionprivate final ILootCondition
Inverted.term
private final ILootCondition[]
Alternative.terms
Modifier and TypeMethodDescriptionAlternative.Builder.build()
BlockStateProperty.Builder.build()
ILootCondition.IBuilder.build()
Modifier and TypeMethodDescriptionprivate static LootConditionType
LootConditionManager.register
(String p_237475_0_, ILootSerializer<? extends ILootCondition> p_237475_1_) ModifierConstructorDescriptionprivate
Alternative
(ILootCondition[] p_i51209_1_) private
Inverted
(ILootCondition p_i51202_1_) -
Uses of ILootCondition in net.minecraft.loot.functions
Modifier and TypeMethodDescriptionApplyBonus.Serializer.deserialize
(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_) CopyBlockState.Serializer.deserialize
(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_) CopyName.Serializer.deserialize
(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_) CopyNbt.Serializer.deserialize
(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_) EnchantRandomly.Serializer.deserialize
(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_) EnchantWithLevels.Serializer.deserialize
(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_) ExplorationMap.Serializer.deserialize
(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_) ExplosionDecay.Serializer.deserialize
(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_) FillPlayerHead.Serializer.deserialize
(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_) LimitCount.Serializer.deserialize
(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_) LootingEnchantBonus.Serializer.deserialize
(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_) SetAttributes.Serializer.deserialize
(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_) SetContents.Serializer.deserialize
(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_) SetCount.Serializer.deserialize
(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_) SetDamage.Serializer.deserialize
(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_) SetLootTable.Serializer.deserialize
(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_) SetLore.Serializer.deserialize
(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_) SetName.Serializer.deserialize
(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_) SetNBT.Serializer.deserialize
(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_) SetStewEffect.Serializer.deserialize
(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_) Smelt.Serializer.deserialize
(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_) ModifierConstructorDescriptionprivate
ApplyBonus
(ILootCondition[] p_i51246_1_, Enchantment p_i51246_2_, ApplyBonus.IFormula p_i51246_3_) private
CopyBlockState
(ILootCondition[] p_i225890_1_, Block p_i225890_2_, Set<Property<?>> p_i225890_3_) private
CopyName
(ILootCondition[] p_i51242_1_, CopyName.Source p_i51242_2_) private
CopyNbt
(ILootCondition[] p_i51240_1_, CopyNbt.Source p_i51240_2_, List<CopyNbt.Operation> p_i51240_3_) private
EnchantRandomly
(ILootCondition[] p_i51238_1_, Collection<Enchantment> p_i51238_2_) private
EnchantWithLevels
(ILootCondition[] p_i51236_1_, IRandomRange p_i51236_2_, boolean p_i51236_3_) private
ExplorationMap
(ILootCondition[] p_i232169_1_, Structure<?> p_i232169_2_, MapDecoration.Type p_i232169_3_, byte p_i232169_4_, int p_i232169_5_, boolean p_i232169_6_) private
ExplosionDecay
(ILootCondition[] p_i51244_1_) FillPlayerHead
(ILootCondition[] p_i51234_1_, LootContext.EntityTarget p_i51234_2_) private
LimitCount
(ILootCondition[] p_i51232_1_, IntClamper p_i51232_2_) private
LootingEnchantBonus
(ILootCondition[] p_i47145_1_, RandomValueRange p_i47145_2_, int p_i47145_3_) private
SetAttributes
(ILootCondition[] p_i51228_1_, List<SetAttributes.Modifier> p_i51228_2_) private
SetContents
(ILootCondition[] p_i51226_1_, List<LootEntry> p_i51226_2_) private
SetCount
(ILootCondition[] p_i51222_1_, IRandomRange p_i51222_2_) private
SetDamage
(ILootCondition[] p_i46622_1_, RandomValueRange p_i46622_2_) private
SetLootTable
(ILootCondition[] p_i51224_1_, ResourceLocation p_i51224_2_, long p_i51224_3_) SetLore
(ILootCondition[] p_i51220_1_, boolean p_i51220_2_, List<ITextComponent> p_i51220_3_, LootContext.EntityTarget p_i51220_4_) private
SetName
(ILootCondition[] p_i51218_1_, ITextComponent p_i51218_2_, LootContext.EntityTarget p_i51218_3_) private
SetNBT
(ILootCondition[] p_i46620_1_, CompoundNBT p_i46620_2_) private
SetStewEffect
(ILootCondition[] p_i51215_1_, Map<Effect, RandomValueRange> p_i51215_2_) private
Smelt
(ILootCondition[] p_i46619_1_) -
Uses of ILootCondition in net.minecraftforge.common.loot
Modifier and TypeMethodDescriptioncom.google.gson.JsonObject
GlobalLootModifierSerializer.makeConditions
(ILootCondition[] conditions) Helper to create the json object from the conditions.abstract T
GlobalLootModifierSerializer.read
(ResourceLocation location, com.google.gson.JsonObject object, ILootCondition[] ailootcondition) Most mods will likely not need more than
return new MyModifier(conditionsIn)
but any additional properties that are needed will need to be deserialized here.ModifierConstructorDescriptionprotected
LootModifier
(ILootCondition[] conditionsIn) Constructs a LootModifier. -
Uses of ILootCondition in net.minecraftforge.debug.gameplay.loot
Modifier and TypeMethodDescriptionGlobalLootModifiersTest.DungeonLootEnhancerModifier.Serializer.read
(ResourceLocation location, com.google.gson.JsonObject object, ILootCondition[] conditions) GlobalLootModifiersTest.SilkTouchTestModifier.Serializer.read
(ResourceLocation name, com.google.gson.JsonObject json, ILootCondition[] conditionsIn) GlobalLootModifiersTest.SmeltingEnchantmentModifier.Serializer.read
(ResourceLocation name, com.google.gson.JsonObject json, ILootCondition[] conditionsIn) GlobalLootModifiersTest.WheatSeedsConverterModifier.Serializer.read
(ResourceLocation name, com.google.gson.JsonObject object, ILootCondition[] conditionsIn) ModifierConstructorDescriptionDungeonLootEnhancerModifier
(ILootCondition[] conditionsIn) DungeonLootEnhancerModifier
(ILootCondition[] conditionsIn, int multiplicationFactor) SilkTouchTestModifier
(ILootCondition[] conditionsIn) SmeltingEnchantmentModifier
(ILootCondition[] conditionsIn) WheatSeedsConverterModifier
(ILootCondition[] conditionsIn, int numSeeds, Item itemCheck, Item reward)