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

public class FillPlayerHead

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

fpk
net.minecraft.world.level.storage.loot.functions.FillPlayerHead
net.minecraft.class_3668
net.minecraft.loot.function.FillPlayerHeadLootFunction
net.minecraft.src.C_2918_
net.minecraft.world.level.storage.loot.functions.LootItemFunctionFillPlayerHead

字段概要

修饰符与类型字段
public static final com.mojang.serialization.MapCodec<FillPlayerHead>
a
CODEC
field_45827
CODEC
f_291083_
private final LootContext$EntityTarget
b
entityTarget
field_16227
entity
f_80602_

构造函数概要

修饰符构造函数
public (List<LootItemCondition> conditions, LootContext$EntityTarget entity)

方法概要

修饰符与类型方法
public LootItemFunctionType<FillPlayerHead>
a()
getType()
method_29321()
getType()
m_7162_()
public Set<ContextKey<?>>
b()
getReferencedContextParams()
method_293()
getAllowedParameters()
m_6231_()
public ItemStack
a(dlt arg0, fnz arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack arg0, LootContext arg1)
m_7372_(C_1391_ p_80609_, C_2811_ arg1)
public static LootItemConditionalFunction$Builder<?>
a(fnz$c arg0)
fillPlayerHead(LootContext$EntityTarget arg0)
method_35522(class_47$class_50 arg0)
builder(LootContext$EntityReference target)
m_165207_(C_2811_$C_2815_ p_165208_)