net.minecraft.loot.function

public class CopyComponentsLootFunction

extends ConditionalLootFunction

All mapped superinterfaces:

LootFunction, LootContextAware

esr
net.minecraft.world.level.storage.loot.functions.CopyComponentsFunction
net.minecraft.class_9317
net.minecraft.loot.function.CopyComponentsLootFunction
net.minecraft.unmapped.C_mbgfajkg
net.minecraft.loot.function.CopyComponentsLootFunction
net.minecraft.src.C_313760_

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<CopyComponentsLootFunction>
a
CODEC
field_49430
CODEC
f_lqghdfsd
CODEC
f_315830_
private final CopyComponentsLootFunction$Source
b
source
field_49431
source
f_rsalylgi
source
f_315071_
private final Optional<List<ComponentType<?>>>
c
include
field_50202
include
f_btlgvxjt
include
f_316589_
private final Optional<List<ComponentType<?>>>
d
exclude
field_50203
exclude
f_yhrbdzub
exclude
f_314754_
private final Predicate<ComponentType<?>>
e
bakedPredicate
field_50204
filter
f_hayoqqro
f_315946_

Constructor summary

ModifierConstructor
(List<LootCondition> conditions, CopyComponentsLootFunction$Source source, Optional<List<ComponentType<?>>> include, Optional<List<ComponentType<?>>> exclude)

Method summary

Modifier and TypeMethod
public LootFunctionType<CopyComponentsLootFunction>
b()
getType()
method_29321()
getType()
m_ngvoddkv()
getType()
m_7162_()
public Set<LootContextParameter<?>>
a()
getReferencedContextParams()
method_293()
getRequiredParameters()
m_oozesizv()
getRequiredParameters()
m_6231_()
public ItemStack
a(cuq o, err arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack arg0, LootContext arg1)
m_axzztavb(C_sddaxwyk arg0, C_iakykpgh arg1)
process(ItemStack arg0, LootContext arg1)
m_7372_(C_1391_ p_328771_, C_2811_ arg1)
public static CopyComponentsLootFunction$Builder
a(esr$b o)
copyComponents(CopyComponentsFunction$Source arg0)
method_57637(class_9317$class_9319 arg0)
builder(CopyComponentsLootFunction$Source source)
m_tzmfkrqo(C_mbgfajkg$C_zcqyfuyv arg0)
m_324952_(C_313760_$C_313711_ p_331082_)