extends LootItemConditionalFunction
All mapped superinterfaces:
LootItemFunction, LootContextUser
| eiw | |
| net.minecraft.world.level.storage.loot.functions.SetLoreFunction | |
| net.minecraft.class_3671 | |
| net.minecraft.loot.function.SetLoreLootFunction | |
| net.minecraft.src.C_2953_ |
Field summary
| Modifier and Type | Field | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public static final com.mojang.serialization.Codec<SetLoreFunction> |
| ||||||||||
| private final boolean |
| ||||||||||
| private final List<Component> |
| ||||||||||
| private final Optional<LootContext$EntityTarget> |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| public | (List<LootItemCondition> conditions, boolean replace, List<Component> lore, Optional<LootContext$EntityTarget> entity) |
Method summary
| Modifier and Type | Method | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public LootItemFunctionType |
| ||||||||||
| public Set<LootContextParam<?>> |
| ||||||||||
| public ItemStack |
| ||||||||||
| private ListTag |
| ||||||||||
| public static SetLoreFunction$Builder |
|