Skip to content

Let an item glow based on custom model data (or any NBT value) with a resource pack #352

@Davvv1

Description

@Davvv1

Is your feature request related to a problem? Please describe.
I am making a modpack based around the Cryptid datapack, and there is a lantern item that uses the mushroom on a stick as a base. It uses custom model data and a resource pack to make it a lantern, and I want it to glow. However, I don't want the mushroom on a stick to glow, only the lantern.

Describe the solution you'd like
Read the model data (or any NBT) of an item to determine whether it should glow, if it is asked for.

Describe alternatives you've considered
I am considering making the mushroom on a stick glow as well, although I really don't want that.

Additional context
You could only check the NBT data of an item if it's necessary to make it glow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions