[ETF] Entity Texture Features - [Fabric & Forge]

[ETF] Entity Texture Features - [Fabric & Forge]

50M Downloads

[SUGGESTION] "mod detection"

SebSemos opened this issue · 2 comments

commented

Idea to improve ressource pack compat: the ability to load a model if a mod is present.

Ex: something like this in the .propertie

mod_loaded.2=mod_namespace
models.2=5

I believe it could improve compat for player animation ressource packs with emote mods or better combat. Since ETF can see if some mod are there (like EBE) I guess it is technicaly possible.

Another way more vanilla to do it would be to utilize the overlay system introduce in 1.20.2 of the pack.mcmeta

Ex:

{
    "pack": {
        "pack_format": 48,
        "supported_formats":[48,51],
	"description": "bla bla bla"
	},
	
        "overlays": {
            "entries": [
		{
                    "directory": "dir1"
                },
                {
                    "directory": "dir2",
                    "mod_loaded": ["mod namespace"]
                }
            ]
        }
    }

If implemented Maybe a general forge/fabric could be added too?
My guess is it would benefit mostly models, but, texture and sounds.properties could still inherit this too.

commented

that is a really good idea, thats why i added the modLoaded property 10 months ago :)

commented

Lmao, sorry about that then :p
But in my defence I haven't found it neither on the wiki or discord 🤪