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

public class ModifyContainerContents

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

esb
net.minecraft.world.level.storage.loot.functions.ModifyContainerContents
net.minecraft.class_9669
net.minecraft.unmapped.C_hcmlvehz
net.minecraft.loot.function.ModifyContentsLootFunction
net.minecraft.unmapped.C_hcmlvehz
net.minecraft.src.C_313513_
net.minecraft.world.level.storage.loot.functions.ModifyContainerContents

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<ModifyContainerContents>
a
CODEC
field_51429
f_yaofujmp
CODEC
CODEC
f_315705_
private final ContainerComponentManipulator<?>
b
component
field_51430
f_pochzbbv
component
component
f_317121_
private final LootItemFunction
c
modifier
field_51431
f_zwbjjrum
modifier
modifier
f_315648_

Constructor summary

ModifierConstructor
private (List<LootItemCondition> conditions, ContainerComponentManipulator<?> component, LootItemFunction modifier)

Method summary

Modifier and TypeMethod
public LootItemFunctionType<ModifyContainerContents>
b()
getType()
method_29321()
m_ngvoddkv()
getType()
getType()
m_7162_()
public ItemStack
a(cur arg0, eqk arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
m_axzztavb(C_sddaxwyk arg0, C_iakykpgh arg1)
process(ItemStack arg0, LootContext arg1)
process(ItemStack arg0, LootContext arg1)
m_7372_(C_1391_ p_328367_, C_2811_ arg1)
public void
a(eqq 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)