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

public abstract class LootItemConditionalFunction

implements LootItemFunction

eec
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction
net.minecraft.class_120
net.minecraft.unmapped.C_krisseon
net.minecraft.loot.function.ConditionalLootFunction
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
f_ksptazzw
conditions
conditions
f_80676_
private final Predicate<LootContext>
a
compositePredicates
field_1048
f_eefssiwv
predicate
predicate
f_80675_

Constructor summary

ModifierConstructor
protected (List<LootItemCondition> conditions)

Method summary

Modifier and TypeMethod
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)
m_hfvcjbcy(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<T> arg0)
method_53344(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<T> arg0)
m_294820_(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<T> p_298596_)
public final ItemStack
b(cjf arg0, ecq arg1)
apply(ItemStack arg0, LootContext arg1)
method_521(class_1799 arg0, class_47 arg1)
m_qrmaftfy(C_sddaxwyk arg0, C_iakykpgh arg1)
apply(ItemStack arg0, LootContext arg1)
apply(ItemStack arg0, LootContext arg1)
apply(C_1391_ p_80690_, C_2811_ arg1)
protected abstract ItemStack
a(cjf arg0, ecq arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
m_axzztavb(C_sddaxwyk arg0, C_iakykpgh arg1)
process(ItemStack stack, LootContext context)
process(ItemStack stack, LootContext context)
m_7372_(C_1391_ p_80680_, C_2811_ arg1)
public void
a(ecz arg0)
validate(ValidationContext arg0)
method_292(class_58 arg0)
m_jdmehacf(C_eumtgsbp arg0)
validate(LootTableReporter arg0)
validate(LootTableReporter arg0)
m_6169_(C_2837_ arg0)
protected static LootItemConditionalFunction$Builder<?>
a(Function<List<efp>, eed> arg0)
simpleBuilder(Function<List<LootItemCondition>, LootItemFunction> arg0)
method_520(Function<List<class_5341>, class_117> arg0)
m_wklwxxae(Function<List<C_vqkczpuv>, C_tmxhskql> arg0)
builder(Function<List<LootCondition>, LootFunction> joiner)
builder(Function<List<LootCondition>, LootFunction> joiner)
m_80683_(Function<List<C_3004_>, C_2928_> p_80684_)