Creating resource pack for programs
ozBillo opened this issue ยท 4 comments
What is the correct folder for CC programs in a 1.13.2 resource pack?
I've tried...
data/computercraft/lua/rom/programs/
assets/computercraft/lua/rom/programs/
Neither work for me.
So we're now using data packs for handling custom ROMs, which means they now need to be in the world folder. This makes out handling of custom ROMs a lot nicer (can be enabled/disabled in-game, reloaded, etc...), but is a little different to the previous behaviour.
Putting your code in saves/(world)/datapacks/something/data/computercraft/lua/rom/programs
should work, but you may also need a pack.mcmeta
file. I'll have a play later today and see I can put together a small example pack...
:(
Couldn't you cater for both data packs and resource packs?
Just like my favorite texture pack, my turtle programs are ones I use in all new worlds I create. They do farming, mining, and other repetitive tasks. They're not specific to any saves or worlds.
I had another look at this today... Using the client-side resource pack folder when available would be possible, though does make things a little more messy as you have multiple IReloadableResourceManager
s (and weird priorities between resource packs and data packs).
Ideally it'd be possible to have a global datapacks
folder which is shared across worlds. I know this mod adds that, and we could set up our own, though ideally it'd be functionality built-in to Forge.