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

Material#isAir()

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • None
    • 1.14.4
    • Yes

      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

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

              Created:
              Updated:
              Resolved: