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

Method #isDataPackEnabled

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • None
    • 1.19.3+
    • Yes

      Due to Minecraft 1.19.3 having data packs to enable "experimental features" and the Bukkit API having methods/classes for things that will only be available on the server is said datapack is enabled, could you please add a method, something along the lines of:
      Server#isDatapackEnabled(NamespacedKey)

      This way plugins can check if the data pack is enabled, ex: "update_1_20", before attempting to use Camel, or new materials, etc.

      Thank you

            Doc Doc
            ShaneBee Shane Bee
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: