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

Improving on BlockState API Attachables

XMLWordPrintable

    • 1.13-pre.7

      With the MaterialData being deprecated, I ran into a few issues while trying to update a few bits of my code:

      As of 1.12.2 the Attachable MaterialData was able to be used to detect most (excluding doors and redstone and maybe more stuff ?) blocks that needed attachment to be placed in the world which can be used to prevent block changes the would indirectly destroy those blocks.

      With 1.13-pre7 the Attachable interface is only covering tripwirehooks while the directional interface seems to cover stuff like levers and signs.

      Other blocks like torches or carpets seem to be not covered at all :/

      The suggestion would be to implement a simple interface below the Directional interface that represents BlockStates that are not only directional but need to be placed against the blockface provided by directional.

            Unassigned Unassigned
            LynxPlay Bjarne Koll
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: