Okay.
There are some ways of making a chest menu, But I found this one to be effective.
First things first, You need to add this line of code. You can rename It, but don't put it in any functions.
private Int2ObjectOpenHashMap<Item> chest;
Next thing is to register a function that will put...