blob: 2ff3fdf1c40670cfa19e2e4756bfaff4f2004308 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
package de.hysky.skyblocker.utils.container;
import net.minecraft.item.ItemStack;
import net.minecraft.screen.slot.Slot;
import net.minecraft.text.Text;
import org.jetbrains.annotations.Nullable;
import java.util.List;
public interface TooltipAdder extends ContainerMatcher {
/**
* @implNote The first element of the lines list holds the item's display name,
* as it's a list of all lines that will be displayed in the tooltip.
*/
void addToTooltip(@Nullable Slot focusedSlot, ItemStack stack, List<Text> lines);
int getPriority();
}
|