public interface IDatabaseTab<I extends IIndividual>
IIndividual.| Modifier and Type | Method and Description |
|---|---|
void |
createElements(IDatabaseElement container,
I individual,
net.minecraft.item.ItemStack itemStack)
Creates the gui elements that are displayed if this tab is selected in the database.
|
net.minecraft.item.ItemStack |
getIconStack() |
default DatabaseMode |
getMode() |
default java.lang.String |
getTooltip(I individual)
Can be used to give the tab a custom tooltip.
|
void createElements(IDatabaseElement container, I individual, net.minecraft.item.ItemStack itemStack)
individual - The individual that is currently in the database selected.container - A helper to create the gui elements.net.minecraft.item.ItemStack getIconStack()
@Nullable default java.lang.String getTooltip(I individual)
default DatabaseMode getMode()