Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-4569

Provide API for obtaining both the Light Emission and Opacity levels of blocks.

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • Irrelevant.

    • 1.13.2
    • Yes

      Currently, blocks have properties such as Light (https://minecraft.gamepedia.com/Light) and Opacity (https://minecraft.gamepedia.com/Opacity) represented numerically. As far as I am aware, it is not possible to obtain these values through the API; one would need to create a comparison table within their plugin to accommodate all current blocks and then update those tables to reflect future block inclusions.

      Adding block property API could greatly prolong the lifespan of plugins which rely on these block properties.

            2008Choco Parker Hawke
            Aerocet Brian
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: