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

public class FunctionReference

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

eta
net.minecraft.world.level.storage.loot.functions.FunctionReference
net.minecraft.class_8492
net.minecraft.loot.function.ReferenceLootFunction
net.minecraft.src.C_278359_
net.minecraft.world.level.storage.loot.functions.FunctionReference

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
b
LOGGER
field_44506
LOGGER
f_278448_
public static final com.mojang.serialization.MapCodec<FunctionReference>
a
CODEC
field_45828
CODEC
f_291601_
private final ResourceKey<LootItemFunction>
c
name
field_44507
name
f_278490_

Constructor summary

ModifierConstructor
private (List<LootItemCondition> conditions, ResourceKey<LootItemFunction> name)

Method summary

Modifier and TypeMethod
public LootItemFunctionType<FunctionReference>
b()
getType()
method_29321()
getType()
m_7162_()
public void
a(erx arg0)
validate(ValidationContext arg0)
method_292(class_58 arg0)
validate(LootTableReporter arg0)
m_6169_(C_2837_ arg0)
protected ItemStack
a(cuq arg0, err arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack arg0, LootContext arg1)
m_7372_(C_1391_ p_279370_, C_2811_ arg1)
public static LootItemConditionalFunction$Builder<?>
a(akq<etf> arg0)
functionReference(ResourceKey<LootItemFunction> arg0)
method_51224(class_5321<class_117> arg0)
builder(RegistryKey<LootFunction> name)
m_278647_(C_5264_<C_2928_> p_334210_)