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

Armor stand API methods for disabled slots

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • None

      In the interest of using the API instead of needing to use NMS, I would like to request API methods for getting and setting the disabled slots of an armor stand:

      in org.bukkit.entity.ArmorStand:
      int getDisabledSlots()
      void setDisabledSlots(int disabledSlots)

      The relevant field in net.minecraft.server.EntityArmorStand is "bz" in 1.9 and "bA" in 1.9.4

      Side note: Good work to everyone that's been adding new methods to the API, as of 1.9.4 this is the only remaining thing in my Armor Stand Tools plugin that currently requires NMS.

            Unassigned Unassigned
            St3venAU St3venAU
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: