mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-12 08:27:37 +00:00
* Create Collapsible Items; Presets refactoring * change lang * fix preset settings * fix .top * fix tooltip --------- Co-authored-by: slprime <history-21@yandex.ru>
46 lines
1.2 KiB
Java
46 lines
1.2 KiB
Java
package codechicken.nei;
|
|
|
|
public class VisiblityData {
|
|
|
|
public boolean showUtilityButtons = true;
|
|
/**
|
|
* Item panel and associated buttons
|
|
*/
|
|
public boolean showItemPanel = true;
|
|
/**
|
|
* Bookmark panel and associated buttons
|
|
*/
|
|
public boolean showBookmarkPanel = true;
|
|
/**
|
|
* Subset dropdown
|
|
*/
|
|
public boolean showSubsetDropdown = 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;
|
|
|
|
// Deprecated -- left in for campatability with other mods that mess with this
|
|
public boolean showStateButtons = false;
|
|
|
|
public void translateDependancies() {
|
|
if (!showNEI) showWidgets = false;
|
|
if (!showWidgets) showItemSection = showUtilityButtons = false;
|
|
if (!showItemSection) showBookmarkPanel = showSubsetDropdown = showSearchSection = showItemPanel = false;
|
|
}
|
|
}
|