xCykrix / DynamicLights

Spigot/Paper Plugin for Simple Dynamic Lights
https://www.spigotmc.org/resources/dynamiclights.110707/
5 stars 1 forks source link

[FEAT] Add a command to bind light sources to Held Items and Worn Items #11

Open xCykrix opened 11 months ago

xCykrix commented 11 months ago

Describe the Request: Add a command to add light sources to held items or armor/worn items.

Information:

  1. How would you like to see this implemented? Adding /dl bind and /dl unbind to add or remove lights from specific items.
  2. How do you feel this will benefit the project? The advantage of this is that the light block can be used in a wider range. Players can make the wand glow, wear a luminous helmet, and many more uses.
  3. Is there any existing functionality that may need changed to support this? The lighting engine will need to support held or worn item checking and nbt tags being added or removed.
  4. Will this functionality replace or otherwise deprecate existing functionality? No.

Expected Behavior: /dl bind <level> will create a light source when the currently held item is held or worn. /dl unbind will remove the source from the item.

Additional Context: https://www.spigotmc.org/threads/dynamiclights.609082/#post-4663996

xCykrix commented 2 weeks ago

Partial Implementation Landing in v1.2.0. Capability to bind to worn armor slots.