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