mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-16 01:54:40 +00:00
39 lines
966 B
Java
39 lines
966 B
Java
package codechicken.nei;
|
|
|
|
public class VisiblityData
|
|
{
|
|
public boolean showUtilityButtons = true;
|
|
public boolean showStateButtons = true;
|
|
/**
|
|
* Item panel and associated buttons
|
|
*/
|
|
public boolean showItemPanel = true;
|
|
/**
|
|
* Item and search section
|
|
*/
|
|
public boolean showItemSection = true;
|
|
/**
|
|
* Dropdown and Item search field
|
|
*/
|
|
public boolean showSearchSection = true;
|
|
/**
|
|
* All widgets except options button
|
|
*/
|
|
public boolean showWidgets = true;
|
|
/**
|
|
* The entire NEI interface, aka hidden
|
|
*/
|
|
public boolean showNEI = true;
|
|
public boolean enableDeleteMode = true;
|
|
|
|
public void translateDependancies()
|
|
{
|
|
if(!showNEI)
|
|
showWidgets = false;
|
|
if(!showWidgets)
|
|
showItemSection = showUtilityButtons = showStateButtons = false;
|
|
if(!showItemSection)
|
|
showSearchSection = showItemPanel = false;
|
|
}
|
|
}
|