Uses of Interface
net.minecraft.loot.conditions.ILootCondition
-
-
Uses of ILootCondition in net.minecraft.advancements.criterion
Fields in net.minecraft.advancements.criterion declared as ILootCondition Modifier and Type Field Description private ILootCondition[]
EntityPredicate.AndPredicate. conditions
Methods in net.minecraft.advancements.criterion with parameters of type ILootCondition Modifier and Type Method Description static EntityPredicate.AndPredicate
EntityPredicate.AndPredicate. create(ILootCondition... p_234591_0_)
Constructors in net.minecraft.advancements.criterion with parameters of type ILootCondition Constructor Description AndPredicate(ILootCondition[] p_i231580_1_)
-
Uses of ILootCondition in net.minecraft.command.arguments
Methods in net.minecraft.command.arguments that return ILootCondition Modifier and Type Method Description static ILootCondition
ResourceLocationArgument. getPredicate(com.mojang.brigadier.context.CommandContext<CommandSource> p_228259_0_, java.lang.String p_228259_1_)
-
Uses of ILootCondition in net.minecraft.command.impl
Methods in net.minecraft.command.impl with parameters of type ILootCondition Modifier and Type Method Description private static boolean
ExecuteCommand. checkCustomPredicate(CommandSource p_229767_0_, ILootCondition p_229767_1_)
-
Uses of ILootCondition in net.minecraft.loot
Classes in net.minecraft.loot that implement ILootCondition Modifier and Type Class Description (package private) static class
LootPredicateManager.AndCombiner
Fields in net.minecraft.loot declared as ILootCondition Modifier and Type Field Description protected ILootCondition[]
LootEntry. conditions
protected ILootCondition[]
LootFunction. predicates
private ILootCondition[]
LootPredicateManager.AndCombiner. terms
Fields in net.minecraft.loot with type parameters of type ILootCondition Modifier and Type Field Description private java.util.function.Function<ResourceLocation,ILootCondition>
ValidationTracker. conditionResolver
private java.util.function.Function<ResourceLocation,ILootCondition>
LootContext. conditions
private java.util.List<ILootCondition>
LootEntry.Builder. conditions
private java.util.List<ILootCondition>
LootFunction.Builder. conditions
private java.util.List<ILootCondition>
LootPool.Builder. conditions
private java.util.List<ILootCondition>
LootPool. conditions
private java.util.Map<ResourceLocation,ILootCondition>
LootPredicateManager. conditions
private java.util.Set<ILootCondition>
LootContext. visitedConditions
Methods in net.minecraft.loot that return ILootCondition Modifier and Type Method Description ILootCondition[]
ConditionArrayParser. deserializeConditions(com.google.gson.JsonArray p_234050_1_, java.lang.String p_234050_2_, LootParameterSet p_234050_3_)
ILootCondition
LootPredicateManager. get(ResourceLocation p_227517_1_)
ILootCondition
LootContext. getCondition(ResourceLocation p_227504_1_)
protected ILootCondition[]
LootEntry.Builder. getConditions()
protected ILootCondition[]
LootFunction.Builder. getConditions()
ILootCondition
ValidationTracker. resolveCondition(ResourceLocation p_227541_1_)
Methods in net.minecraft.loot with parameters of type ILootCondition Modifier and Type Method Description boolean
LootContext. addVisitedCondition(ILootCondition p_227501_1_)
StandaloneLootEntry
StandaloneLootEntry.ILootEntryBuilder. build(int p_build_1_, int p_build_2_, ILootCondition[] p_build_3_, ILootFunction[] p_build_4_)
T
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
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_)
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_)
com.google.gson.JsonElement
ConditionArraySerializer. serializeConditions(ILootCondition[] p_235681_1_)
Constructors in net.minecraft.loot with parameters of type ILootCondition Constructor Description AlternativesLootEntry(LootEntry[] p_i51263_1_, ILootCondition[] p_i51263_2_)
AndCombiner(ILootCondition[] p_i232164_1_)
DynamicLootEntry(ResourceLocation p_i51260_1_, int p_i51260_2_, int p_i51260_3_, ILootCondition[] p_i51260_4_, ILootFunction[] p_i51260_5_)
EmptyLootEntry(int p_i51258_1_, int p_i51258_2_, ILootCondition[] p_i51258_3_, ILootFunction[] p_i51258_4_)
GroupLootEntry(LootEntry[] p_i51257_1_, ILootCondition[] p_i51257_2_)
ItemLootEntry(Item p_i51255_1_, int p_i51255_2_, int p_i51255_3_, ILootCondition[] p_i51255_4_, ILootFunction[] p_i51255_5_)
LootEntry(ILootCondition[] p_i51254_1_)
LootFunction(ILootCondition[] p_i51231_1_)
LootPool(LootEntry[] p_i51268_1_, ILootCondition[] p_i51268_2_, ILootFunction[] p_i51268_3_, IRandomRange p_i51268_4_, RandomValueRange p_i51268_5_, java.lang.String name)
ParentedLootEntry(LootEntry[] p_i51262_1_, ILootCondition[] p_i51262_2_)
SequenceLootEntry(LootEntry[] p_i51250_1_, ILootCondition[] p_i51250_2_)
StandaloneLootEntry(int p_i51253_1_, int p_i51253_2_, ILootCondition[] p_i51253_3_, ILootFunction[] p_i51253_4_)
TableLootEntry(ResourceLocation p_i51251_1_, int p_i51251_2_, int p_i51251_3_, ILootCondition[] p_i51251_4_, ILootFunction[] p_i51251_5_)
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_)
Constructor parameters in net.minecraft.loot with type arguments of type ILootCondition Constructor Description LootConditionType(ILootSerializer<? extends ILootCondition> p_i232175_1_)
ValidationTracker(com.google.common.collect.Multimap<java.lang.String,java.lang.String> p_i225888_1_, java.util.function.Supplier<java.lang.String> p_i225888_2_, LootParameterSet p_i225888_3_, java.util.function.Function<ResourceLocation,ILootCondition> p_i225888_4_, java.util.Set<ResourceLocation> p_i225888_5_, java.util.function.Function<ResourceLocation,LootTable> p_i225888_6_, java.util.Set<ResourceLocation> p_i225888_7_)
ValidationTracker(LootParameterSet p_i225889_1_, java.util.function.Function<ResourceLocation,ILootCondition> p_i225889_2_, java.util.function.Function<ResourceLocation,LootTable> p_i225889_3_)
-
Uses of ILootCondition in net.minecraft.loot.conditions
Classes in net.minecraft.loot.conditions that implement ILootCondition Modifier and Type Class Description class
Alternative
class
BlockStateProperty
class
DamageSourceProperties
class
EntityHasProperty
class
EntityHasScore
class
Inverted
class
KilledByPlayer
class
LocationCheck
class
MatchTool
class
RandomChance
class
RandomChanceWithLooting
class
Reference
class
SurvivesExplosion
class
TableBonus
class
TimeCheck
class
WeatherCheck
Fields in net.minecraft.loot.conditions declared as ILootCondition Modifier and Type Field Description private ILootCondition
Inverted. term
private ILootCondition[]
Alternative. terms
Fields in net.minecraft.loot.conditions with type parameters of type ILootCondition Modifier and Type Field Description private java.util.List<ILootCondition>
Alternative.Builder. terms
Methods in net.minecraft.loot.conditions that return ILootCondition Modifier and Type Method Description ILootCondition
Alternative.Builder. build()
ILootCondition
BlockStateProperty.Builder. build()
ILootCondition
ILootCondition.IBuilder. build()
Method parameters in net.minecraft.loot.conditions with type arguments of type ILootCondition Modifier and Type Method Description private static LootConditionType
LootConditionManager. register(java.lang.String p_237475_0_, ILootSerializer<? extends ILootCondition> p_237475_1_)
Constructors in net.minecraft.loot.conditions with parameters of type ILootCondition Constructor Description Alternative(ILootCondition[] p_i51209_1_)
Inverted(ILootCondition p_i51202_1_)
-
Uses of ILootCondition in net.minecraft.loot.functions
Methods in net.minecraft.loot.functions with parameters of type ILootCondition Modifier and Type Method Description ApplyBonus
ApplyBonus.Serializer. deserialize(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_)
CopyBlockState
CopyBlockState.Serializer. deserialize(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_)
CopyName
CopyName.Serializer. deserialize(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_)
CopyNbt
CopyNbt.Serializer. deserialize(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_)
EnchantRandomly
EnchantRandomly.Serializer. deserialize(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_)
EnchantWithLevels
EnchantWithLevels.Serializer. deserialize(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_)
ExplorationMap
ExplorationMap.Serializer. deserialize(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_)
ExplosionDecay
ExplosionDecay.Serializer. deserialize(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_)
FillPlayerHead
FillPlayerHead.Serializer. deserialize(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_)
LimitCount
LimitCount.Serializer. deserialize(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_)
LootingEnchantBonus
LootingEnchantBonus.Serializer. deserialize(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_)
SetAttributes
SetAttributes.Serializer. deserialize(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_)
SetContents
SetContents.Serializer. deserialize(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_)
SetCount
SetCount.Serializer. deserialize(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_)
SetDamage
SetDamage.Serializer. deserialize(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_)
SetLootTable
SetLootTable.Serializer. deserialize(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_)
SetLore
SetLore.Serializer. deserialize(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_)
SetName
SetName.Serializer. deserialize(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_)
SetNBT
SetNBT.Serializer. deserialize(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_)
SetStewEffect
SetStewEffect.Serializer. deserialize(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_)
Smelt
Smelt.Serializer. deserialize(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_)
Constructors in net.minecraft.loot.functions with parameters of type ILootCondition Constructor Description ApplyBonus(ILootCondition[] p_i51246_1_, Enchantment p_i51246_2_, ApplyBonus.IFormula p_i51246_3_)
CopyBlockState(ILootCondition[] p_i225890_1_, Block p_i225890_2_, java.util.Set<Property<?>> p_i225890_3_)
CopyName(ILootCondition[] p_i51242_1_, CopyName.Source p_i51242_2_)
CopyNbt(ILootCondition[] p_i51240_1_, CopyNbt.Source p_i51240_2_, java.util.List<CopyNbt.Operation> p_i51240_3_)
EnchantRandomly(ILootCondition[] p_i51238_1_, java.util.Collection<Enchantment> p_i51238_2_)
EnchantWithLevels(ILootCondition[] p_i51236_1_, IRandomRange p_i51236_2_, boolean p_i51236_3_)
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_)
ExplosionDecay(ILootCondition[] p_i51244_1_)
FillPlayerHead(ILootCondition[] p_i51234_1_, LootContext.EntityTarget p_i51234_2_)
LimitCount(ILootCondition[] p_i51232_1_, IntClamper p_i51232_2_)
LootingEnchantBonus(ILootCondition[] p_i47145_1_, RandomValueRange p_i47145_2_, int p_i47145_3_)
SetAttributes(ILootCondition[] p_i51228_1_, java.util.List<SetAttributes.Modifier> p_i51228_2_)
SetContents(ILootCondition[] p_i51226_1_, java.util.List<LootEntry> p_i51226_2_)
SetCount(ILootCondition[] p_i51222_1_, IRandomRange p_i51222_2_)
SetDamage(ILootCondition[] p_i46622_1_, RandomValueRange p_i46622_2_)
SetLootTable(ILootCondition[] p_i51224_1_, ResourceLocation p_i51224_2_, long p_i51224_3_)
SetLore(ILootCondition[] p_i51220_1_, boolean p_i51220_2_, java.util.List<ITextComponent> p_i51220_3_, LootContext.EntityTarget p_i51220_4_)
SetName(ILootCondition[] p_i51218_1_, ITextComponent p_i51218_2_, LootContext.EntityTarget p_i51218_3_)
SetNBT(ILootCondition[] p_i46620_1_, CompoundNBT p_i46620_2_)
SetStewEffect(ILootCondition[] p_i51215_1_, java.util.Map<Effect,RandomValueRange> p_i51215_2_)
Smelt(ILootCondition[] p_i46619_1_)
-
Uses of ILootCondition in net.minecraftforge.common.loot
Classes in net.minecraftforge.common.loot that implement ILootCondition Modifier and Type Class Description class
LootTableIdCondition
Fields in net.minecraftforge.common.loot declared as ILootCondition Modifier and Type Field Description protected ILootCondition[]
LootModifier. conditions
Methods in net.minecraftforge.common.loot that return ILootCondition Modifier and Type Method Description ILootCondition
LootTableIdCondition.Builder. build()
Methods in net.minecraftforge.common.loot with parameters of type ILootCondition Modifier and Type Method Description com.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.Constructors in net.minecraftforge.common.loot with parameters of type ILootCondition Constructor Description LootModifier(ILootCondition[] conditionsIn)
Constructs a LootModifier. -
Uses of ILootCondition in net.minecraftforge.debug.gameplay.loot
Methods in net.minecraftforge.debug.gameplay.loot with parameters of type ILootCondition Modifier and Type Method Description GlobalLootModifiersTest.DungeonLootEnhancerModifier
GlobalLootModifiersTest.DungeonLootEnhancerModifier.Serializer. read(ResourceLocation location, com.google.gson.JsonObject object, ILootCondition[] conditions)
GlobalLootModifiersTest.SilkTouchTestModifier
GlobalLootModifiersTest.SilkTouchTestModifier.Serializer. read(ResourceLocation name, com.google.gson.JsonObject json, ILootCondition[] conditionsIn)
GlobalLootModifiersTest.SmeltingEnchantmentModifier
GlobalLootModifiersTest.SmeltingEnchantmentModifier.Serializer. read(ResourceLocation name, com.google.gson.JsonObject json, ILootCondition[] conditionsIn)
GlobalLootModifiersTest.WheatSeedsConverterModifier
GlobalLootModifiersTest.WheatSeedsConverterModifier.Serializer. read(ResourceLocation name, com.google.gson.JsonObject object, ILootCondition[] conditionsIn)
Constructors in net.minecraftforge.debug.gameplay.loot with parameters of type ILootCondition Constructor Description DungeonLootEnhancerModifier(ILootCondition[] conditionsIn)
DungeonLootEnhancerModifier(ILootCondition[] conditionsIn, int multiplicationFactor)
SilkTouchTestModifier(ILootCondition[] conditionsIn)
SmeltingEnchantmentModifier(ILootCondition[] conditionsIn)
WheatSeedsConverterModifier(ILootCondition[] conditionsIn, int numSeeds, Item itemCheck, Item reward)
-