Apollo icon indicating copy to clipboard operation
Apollo copied to clipboard

Feature - Glint Module

Open ItsNature opened this issue 1 year ago • 0 comments

Overview

Description: The glint module allows you to control, display, and override a custom glint effect on an item.

  • Adds the ability to add glint on none enchanted items.
  • Adds the ability to set custom glint colors.

This Pull Request only has the markdown documentation for the Glint Module. Similar to the Saturation module, the implementation is done through the NBT system, therefore not needing any additional implementation.

This module is only supported for 1.7 to 1.12 versions of Lunar Client.

Usage Example:

Using HEX

/summon minecraft:item ~ ~ ~ {Item:{id:"minecraft:stone",Count:1b,tag:{lunar:{glint:"#DFFF00"}}}}

Using ARGB

/summon minecraft:item ~ ~ ~ {Item:{id:"minecraft:stone",Count:1b,tag:{lunar:{glint:-65535}}}}

Screenshots and/or Videos: image


Review Request Checklist

  • [x] Your code follows the style guidelines of this project.
  • [x] I have performed a self-review of my code.
  • [x] I have tested this change myself. (If applicable)
  • [x] I have made corresponding changes to the documentation. (If applicable)
  • [x] The branch name follows the projects naming conventions. (e.g. feature/add-module & bugfix/fix-issue)

ItsNature avatar May 16 '24 15:05 ItsNature