net.minecraft.world.level.storage.loot.functions

public abstract class LootItemConditionalFunction

implements LootItemFunction

ete
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction
net.minecraft.class_120
net.minecraft.loot.function.ConditionalLootFunction
net.minecraft.src.C_2924_
net.minecraft.world.level.storage.loot.functions.LootItemFunctionConditional

Field summary

Modifier and TypeField
protected final List<LootItemCondition>
g
predicates
field_1047
conditions
f_80676_
private final Predicate<LootContext>
a
compositePredicates
field_1048
predicate
f_80675_

Constructor summary

ModifierConstructor
protected (List<LootItemCondition> conditions)

Method summary

Modifier and TypeMethod
public abstract LootItemFunctionType<? extends LootItemConditionalFunction>
b()
getType()
method_29321()
getType()
m_7162_()
protected static <T extends LootItemConditionalFunction> com.mojang.datafixers.Products$P1<com.mojang.serialization.codecs.RecordCodecBuilder$Mu<T>, List<LootItemCondition>>
a(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<T> arg0)
commonFields(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<T> arg0)
method_53344(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<T> arg0)
addConditionsField(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<T> instance)
m_294820_(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<T> p_298596_)
public final ItemStack
b(cuq arg0, err arg1)
apply(ItemStack arg0, LootContext arg1)
method_521(class_1799 arg0, class_47 arg1)
apply(ItemStack arg0, LootContext arg1)
apply(C_1391_ p_80690_, C_2811_ arg1)
protected abstract ItemStack
a(cuq arg0, err arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack stack, LootContext context)
m_7372_(C_1391_ p_80680_, C_2811_ arg1)
public void
a(erx arg0)
validate(ValidationContext arg0)
method_292(class_58 arg0)
validate(LootTableReporter arg0)
m_6169_(C_2837_ arg0)
protected static LootItemConditionalFunction$Builder<?>
a(Function<List<evc>, etf> arg0)
simpleBuilder(Function<List<LootItemCondition>, LootItemFunction> arg0)
method_520(Function<List<class_5341>, class_117> arg0)
builder(Function<List<LootCondition>, LootFunction> joiner)
m_80683_(Function<List<C_3004_>, C_2928_> p_80684_)