Just keep in minds that new one will be created every time resource pack is generated. You can get instance of it by listening to PolymerRPUtils.RESOURCE_PACK_CREATION_EVENT. This should be called ideally in your mod initializer.Īdditionally, you can add assets manually by calling PolymerRPBuilder.addData(String path, byte data). Need to call boolean PolymerRPUtils.addAssetSource(String modid), which Adding mod assets to resource packįirst step for adding assets to resource pack is marking mod as asset source. You just need to do things written below. Only to item models, as Vanilla only allows these (as of 1.17.1 version). Utilities to make it easier for mods to stay compatible with each other. While Polymer wasn't originally designed around resource pack, it provides resource pack
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |