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

public class FunctionReference

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

exy
net.minecraft.world.level.storage.loot.functions.FunctionReference
net.minecraft.class_8492
net.minecraft.loot.function.ReferenceLootFunction
net.minecraft.world.level.storage.loot.functions.FunctionReference

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public LootItemFunctionType<FunctionReference>
b()
getType()
method_29321()
getType()
public void
a(ewv arg0)
validate(ValidationContext arg0)
method_292(class_58 arg0)
validate(LootTableReporter arg0)
protected 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(aly<eyd> arg0)
functionReference(ResourceKey<LootItemFunction> arg0)
method_51224(class_5321<class_117> arg0)
builder(RegistryKey<LootFunction> name)