extends LootItemConditionalFunction
All mapped superinterfaces:
LootItemFunction, LootContextUser
eix | |
net.minecraft.world.level.storage.loot.functions.SetNameFunction | |
net.minecraft.class_3670 | |
net.minecraft.loot.function.SetNameLootFunction | |
net.minecraft.src.C_2955_ | |
net.minecraft.world.level.storage.loot.functions.LootItemFunctionSetName |
Field summary
Modifier and Type | Field | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
private static final org.slf4j.Logger |
| ||||||||||
public static final com.mojang.serialization.Codec<SetNameFunction> |
| ||||||||||
private final Optional<Component> |
| ||||||||||
private final Optional<LootContext$EntityTarget> |
|
Constructor summary
Modifier | Constructor |
---|---|
private | (List<LootItemCondition> conditions, Optional<Component> name, Optional<LootContext$EntityTarget> entity) |
Method summary
Modifier and Type | Method | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public LootItemFunctionType |
| ||||||||||
public Set<LootContextParam<?>> |
| ||||||||||
public static UnaryOperator<Component> |
| ||||||||||
public ItemStack |
| ||||||||||
public static LootItemConditionalFunction$Builder<?> |
| ||||||||||
public static LootItemConditionalFunction$Builder<?> |
|