add new mode to invpreview

This commit is contained in:
Bella 2019-12-23 20:34:04 -05:00
parent add0ba9626
commit dfedd4865d
2 changed files with 4 additions and 1 deletions

View File

@ -23,7 +23,7 @@ public class InvPreview extends Module {
private Setting<ViewMode> viewMode = register(Settings.e("Appearance", ViewMode.ICONLARGE));
private enum ViewMode {
ICONLARGE, MC, ICON, ICONBACK, CLEAR, SOLID, SOLIDCLEAR
ICONLARGEBG, ICONLARGE, MC, ICON, ICONBACK, CLEAR, SOLID, SOLIDCLEAR
}
private ResourceLocation getBox() {
@ -45,6 +45,9 @@ public class InvPreview extends Module {
else if (viewMode.getValue().equals(ViewMode.ICONLARGE)) {
return new ResourceLocation("textures/gui/container/five.png");
}
else if (viewMode.getValue().equals(ViewMode.ICONLARGEBG)) {
return new ResourceLocation("textures/gui/container/six.png");
}
else {
return new ResourceLocation("textures/gui/container/generic_54.png");
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB