Clear filter by right click
This commit is contained in:
parent
460a499307
commit
b85ab92097
@ -11,7 +11,7 @@ loader_version=0.15.11
|
||||
fabric_version=0.100.4+1.21
|
||||
|
||||
# Mod Properties
|
||||
mod_version=3.0.1
|
||||
mod_version=3.0.2
|
||||
maven_group=systems.brn
|
||||
archives_base_name=Server_storage
|
||||
|
||||
|
@ -133,9 +133,13 @@ public class InventoryInterfaceBlock extends ConnectedBlock implements PolymerTe
|
||||
.hideDefaultTooltip().noDefaults()
|
||||
.setSkullOwner(GUI_QUESTION_MARK)
|
||||
.setCallback((x, y, z) -> {
|
||||
SearchScreen searchScreen = new SearchScreen(settingsScreen, "");
|
||||
playClickSound(settingsScreen.getPlayer());
|
||||
searchScreen.open();
|
||||
if (y.isRight) {
|
||||
blockEntity.doSearch("");
|
||||
} else if (y.isLeft) {
|
||||
SearchScreen searchScreen = new SearchScreen(settingsScreen, "");
|
||||
searchScreen.open();
|
||||
}
|
||||
})
|
||||
));
|
||||
}
|
||||
|
@ -147,9 +147,13 @@ public class StorageScreen extends PagedGui {
|
||||
.hideDefaultTooltip().noDefaults()
|
||||
.setSkullOwner(GUI_QUESTION_MARK)
|
||||
.setCallback((x, y, z) -> {
|
||||
SearchScreen searchScreen = new SearchScreen(this, "");
|
||||
playClickSound(getPlayer());
|
||||
searchScreen.open();
|
||||
if (y.isRight) {
|
||||
doSearch("");
|
||||
} else if (y.isLeft) {
|
||||
SearchScreen searchScreen = new SearchScreen(this, "");
|
||||
searchScreen.open();
|
||||
}
|
||||
})
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user