# My goal is to have a MenuButton class with this constructor: MenuButton button = new MenuButton(ItemStack, ClickType, (action) -> run a custom function);