Skip to content

[Feature] predicate-ey different icons and titles for status effects based on the amplifier level #233

@bluffcon

Description

@bluffcon

Relevant Minecraft versions and other mods/projects

preferably closer to the newer minecraft versions if this gets added since mostly just datapacks would greatly benefit from this

Description of the feature

the ability to somehow let resourcepacks change the icon of the effect and the name of the effect based on the current effect's level active

Use case

when making datapacks, you might sometimes need a custom status effect! usually its just a vanilla luck/unluck effect with a specific level, for which you then check with a json predicate like

{
    "condition": "entity_properties",
    "entity": "this",
    "predicate": {
        "effects": {
            "unluck": {"amplifier": 8}
        }
    }
}

maybe this or a similar implementation could be done for this feature? itd be greatly appreciated, since the luck looks really out of place all the time in the inventory with its icon alone

and maybe like resourcepacks that make stronger effects look wilder will also happen

Example usages

maybe youd make a folder named the id of the effect and then have png files named like 0.png 1.png 2.png for all the levels with a fallback to 0 inside the folder

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestRequest for new features or changes to existing features

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions