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

Material#isAir()

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Version:
      1.14.4
    • Guidelines Read:
      Yes

      Description

      Now with 1.14 and all the different versions of AIR, like CAVE_AIR and VOID_AIR, its really tedious to check to account for all those types of air, if you just wanna check the absence of a block.

      Adding a method for this would increase useability and backward compatability for the future if mojang decides that we need some more air variants.

       

      Discussed in https://www.spigotmc.org/threads/spigot-api-suggestion-material-isair.397219

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            Klostermann David
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: