Files
NotEnoughItems/src/main/java/codechicken/nei/VisiblityData.java
T
slprimeandslprime d61a545d9d Collapsibleitems (#506)
* Create Collapsible Items; Presets refactoring

* change lang

* fix preset settings

* fix .top

* fix tooltip

---------

Co-authored-by: slprime <history-21@yandex.ru>
2024-07-26 22:44:54 +07:00

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;
}
}