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
|
fabric_version=0.100.4+1.21
|
||||||
|
|
||||||
# Mod Properties
|
# Mod Properties
|
||||||
mod_version=3.0.1
|
mod_version=3.0.2
|
||||||
maven_group=systems.brn
|
maven_group=systems.brn
|
||||||
archives_base_name=Server_storage
|
archives_base_name=Server_storage
|
||||||
|
|
||||||
|
@ -133,9 +133,13 @@ public class InventoryInterfaceBlock extends ConnectedBlock implements PolymerTe
|
|||||||
.hideDefaultTooltip().noDefaults()
|
.hideDefaultTooltip().noDefaults()
|
||||||
.setSkullOwner(GUI_QUESTION_MARK)
|
.setSkullOwner(GUI_QUESTION_MARK)
|
||||||
.setCallback((x, y, z) -> {
|
.setCallback((x, y, z) -> {
|
||||||
SearchScreen searchScreen = new SearchScreen(settingsScreen, "");
|
|
||||||
playClickSound(settingsScreen.getPlayer());
|
playClickSound(settingsScreen.getPlayer());
|
||||||
|
if (y.isRight) {
|
||||||
|
blockEntity.doSearch("");
|
||||||
|
} else if (y.isLeft) {
|
||||||
|
SearchScreen searchScreen = new SearchScreen(settingsScreen, "");
|
||||||
searchScreen.open();
|
searchScreen.open();
|
||||||
|
}
|
||||||
})
|
})
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
@ -147,9 +147,13 @@ public class StorageScreen extends PagedGui {
|
|||||||
.hideDefaultTooltip().noDefaults()
|
.hideDefaultTooltip().noDefaults()
|
||||||
.setSkullOwner(GUI_QUESTION_MARK)
|
.setSkullOwner(GUI_QUESTION_MARK)
|
||||||
.setCallback((x, y, z) -> {
|
.setCallback((x, y, z) -> {
|
||||||
SearchScreen searchScreen = new SearchScreen(this, "");
|
|
||||||
playClickSound(getPlayer());
|
playClickSound(getPlayer());
|
||||||
|
if (y.isRight) {
|
||||||
|
doSearch("");
|
||||||
|
} else if (y.isLeft) {
|
||||||
|
SearchScreen searchScreen = new SearchScreen(this, "");
|
||||||
searchScreen.open();
|
searchScreen.open();
|
||||||
|
}
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user