[Asset System Question] Can I use commands such as CreateBuilding or CreatePart to generate custom assets?
PeterBennyFooda opened this issue ยท 7 comments
Hi, I really like the new Asset DataPack System so far.
However, it seems that only buildings or parts in the standard asstets can be generated by commands.
Currently, I need to override the standard citystyle with custom buildings and try to find them in the world.
It would be more convenient if I can use the commands to generate custom asstes immediately.
Version: lostcities-1.18-5.3.14
For example, I have a custom asstes folder and the modid is "mycities" and there is a custom building "data\mycities\lostcities\buildings\mybuilding1.json".
If I type the command like "/lostcities createbuilding mybuilding1 1 8", I'll get the error message "Error trying to get resource lostcities:mybuilding1!".
if I change the command to "/lostcities createbuilding mycities:mybuilding1 1 8", I'll get the error message "expected whitespace to end one argument but found trailing data" right after I type the colon.
Okay, thanks for your help!
I'll just override the standard citystyle to check my custom buildings for now.