-
Notifications
You must be signed in to change notification settings - Fork 30
Navigating Between Views
Natan Vieira edited this page May 30, 2023
·
22 revisions
Navigation between screens is a built-in feature in Inventory Framework that allows you to move between screens in a simple way.
This example opens the A view when the player clicks in a item in the B view.
class A extends View { ... }
class B extends View {
@Override
public void onFirstRender(RenderContext render) {
render.firstSlot(...).onClick(click -> click.open(A.class));
}
}- Installation
- Introduction
- Advanced Usage
- Built-In Features
- Extra Features
- Anvil Input
- Proxy Inventory