Hey i was wondering if anyone could help me. Ive been trying to make a 1.16.5 minecraft server for the last 2 days, the original minecraft server runs perfectly, but when i run the forge-1.16.5-36.2.23.jar it wont generate any folders, a loading thing comes up on my mouse then it stops.
I am assuming the constructor you're trying to call simply doesn't exist.
You can see all available constructors by opening the ItemStack class in your IDE or checking the java docs (Click here)
It appears you have to get an instance of the specific Item first and then pass it to the ItemStack constructor.
Also, it seems like you can retrieve items by their id using Item#getItemById.