How to get net.minecraft.server, for example in line net.minecraft.server.v1_12_R1.ItemStack nmsApple = CraftItemStack.asNMSCopy(apple);