mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-20 20:12:19 +00:00
Add Guide Book and Analyzer Screen (#2073)
This commit is contained in:
1 parent
b5a8740e4a
commit
8ba478d758
251 files changed
+7985
-2550
No files matched your search
@@ -7,7 +7,7 @@ import net.minecraft.item.ItemStack;
|
||||
import net.minecraftforge.fml.relauncher.Side;
|
||||
import net.minecraftforge.fml.relauncher.SideOnly;
|
||||
|
||||
import forestry.api.core.IGuiElementHelper;
|
||||
import forestry.api.gui.IElementGenetic;
|
||||
|
||||
/**
|
||||
* A tab of the database screen that shows some information about a {@link IIndividual}.
|
||||
@@ -18,14 +18,11 @@ public interface IDatabaseTab<I extends IIndividual> {
|
||||
* Creates the gui elements that are displayed if this tab is selected in the database.
|
||||
*
|
||||
* @param individual The individual that is currently in the database selected.
|
||||
* @param elementHelper A helper to create the gui elements.
|
||||
* @param container A helper to create the gui elements.
|
||||
*/
|
||||
void createElements(IGuiElementHelper elementHelper, I individual, ItemStack itemStack);
|
||||
void createElements(IElementGenetic container, I individual, ItemStack itemStack);
|
||||
|
||||
/**
|
||||
* @return The slot of this tab.
|
||||
*/
|
||||
EnumDatabaseTab getTab();
|
||||
ItemStack getIconStack();
|
||||
|
||||
/**
|
||||
* Can be used to give the tab a custom tooltip.
|
||||
|
||||
Reference in new issue
Block a user