Silent-Gear icon indicating copy to clipboard operation
Silent-Gear copied to clipboard

Experimental support for materials from other mods.

Open vlad0-0 opened this issue 3 years ago • 8 comments

What Should Be Added or Changed?

If a gear is found in another mod that is created from the same type of material and has a recipe similar to vanilla, then it will be added to the silent gear materials table. The material characteristics will be based on the properties and characteristics of the equipment from this mod. (Or at least add the ability to manually select the material to be included in the table using a convenient in-game interface, without having to search for the necessary configuration files.)

Why Should This Be Done?

If this task is not too difficult, it will allow to diversify the experience even more.

vlad0-0 avatar Dec 29 '21 08:12 vlad0-0

If there is a bar/ingot in the name of the material, it is most likely metal. If there are planks in the name, it is a wooden material. If it is a block, it is most likely a stone. If it's an item, it's most likely a gem.

vlad0-0 avatar Dec 29 '21 08:12 vlad0-0

Why was this issue closed? It can be reopened if you closed it accidentally.

SilentChaos512 avatar Dec 29 '21 12:12 SilentChaos512

Yes, I accidentally closed it

vlad0-0 avatar Dec 29 '21 14:12 vlad0-0

Okay. This is definitely an interesting idea. Getting the stats from the tools would be simple enough. Scanning the recipes is doable, but might be too expensive to do every time materials are loaded. So perhaps I could add a command that generates a data pack instead?

SilentChaos512 avatar Dec 29 '21 14:12 SilentChaos512

Yes, or you can scan one time and save the results in an additional expandable table for the next loads if possible. If the list of mods does not change, then the cache of materials will remain the same. The remaining mods can be marked as scanned so as not to repeat this procedure. Perhaps it will be a little better than creating a datapack for each generated world.

vlad0-0 avatar Dec 29 '21 14:12 vlad0-0

I know this is nearly a year old, but I love the idea of a command to generate a datapack for potential materials in a pack.

Tenchu98 avatar Aug 17 '22 17:08 Tenchu98

I am not well versed in how this could be optimized in the future, but I will be glad if it is added in any form in the early stages. It confuses me that perhaps because of my comments, Silent has lost the desire to do this at that time

vlad0-0 avatar Aug 31 '22 06:08 vlad0-0

I have very little time for coding anymore. It's not that I don't want to do this, I just haven't had the chance to. I will try to add this eventually.

SilentChaos512 avatar Aug 31 '22 13:08 SilentChaos512