Skip to content

Implement a material literal into skript #7740

@Fusezion

Description

@Fusezion

Suggestion

Add a proper material literal into to skript that differs from itemtype.

Why?

There's been countless times in skript api where a material is needed for something but instead skript has to do a
ItemType#getMaterial(), BlockData#getMaterial() and ItemStack#getType() for conversions.

Implementing a proper material type can solve many of those as well as provide users more explicit control.
i.e. command /item <itemtype> would accept stone of sharpness 100 but maybe the developers don't want that

Other

No response

Agreement

  • I have read the guidelines above and affirm I am following them with this suggestion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementFeature request, an issue about something that could be improved, or a PR improving something.priority: lowest"Nice to have" updates that are not required (tiny low impact bug fixes or QoL enhancements).

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions