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

public class FillPlayerHead

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

exw
net.minecraft.world.level.storage.loot.functions.FillPlayerHead
net.minecraft.class_3668
net.minecraft.loot.function.FillPlayerHeadLootFunction
net.minecraft.world.level.storage.loot.functions.LootItemFunctionFillPlayerHead

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<FillPlayerHead>
a
CODEC
field_45827
CODEC
private final LootContext$EntityTarget
b
entityTarget
field_16227
entity

Constructor summary

ModifierConstructor
public (List<LootItemCondition> conditions, LootContext$EntityTarget entity)

Method summary

Modifier and TypeMethod
public LootItemFunctionType<FillPlayerHead>
b()
getType()
method_29321()
getType()
public Set<ContextKey<?>>
a()
getReferencedContextParams()
method_293()
getAllowedParameters()
public ItemStack
a(cxp arg0, ewp arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack arg0, LootContext arg1)
public static LootItemConditionalFunction$Builder<?>
a(ewp$b arg0)
fillPlayerHead(LootContext$EntityTarget arg0)
method_35522(class_47$class_50 arg0)
builder(LootContext$EntityTarget target)