Files
NotEnoughItems/src/main/java/codechicken/nei/VisiblityData.java
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

45 lines
1.2 KiB
Java
Raw Normal View History

2014-04-29 10:54:20 +10:00
package codechicken.nei;
public class VisiblityData {
2014-04-29 10:54:20 +10:00
public boolean showUtilityButtons = true;
/**
* Item panel and associated buttons
*/
public boolean showItemPanel = true;
2019-12-24 13:37:41 -08:00
/**
* Bookmark panel and associated buttons
*/
public boolean showBookmarkPanel = true;
2022-02-17 09:28:48 +02:00
/**
* Subset dropdown
*/
public boolean showSubsetDropdown = true;
2014-04-29 10:54:20 +10:00
/**
* 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;
2014-04-29 10:54:20 +10:00
public boolean enableDeleteMode = true;
2020-01-07 11:15:03 -08:00
// 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;
2024-07-26 18:44:54 +03:00
if (!showItemSection) showBookmarkPanel = showSubsetDropdown = showSearchSection = showItemPanel = false;
2014-04-29 10:54:20 +10:00
}
}