So I'm making a peripheral, and I'm trying to mount some assets internally from the Jar. I thought ComputerCraftAPI.createResourceMount would help but I can't get it to work. Instead it keeps returning a null object.


mount = ComputerCraftAPI.createResourceMount(MyPeripheral.class, "myperipheral", "lua");

In the Jar I have /assets/myperipheral/lua/…

Am I missing something?