is there a way to spawn custom item via command?
Unfortunately there is no built-in command to spawn a custom item It's planned for the new version though. So in the Java version, the fastest way to get a particular custom item is to go into creative mode, then to your inventory -> crafting -> select the workbench where the desired item can be crafted