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

Allow changing the type of a block while retaining the data of BlockData

XMLWordPrintable

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

      There are several Material's which share the same BlockData class, such as Door, Leaves, Gate, Stairs and Sign. It would be nice if we could switch out the type while retaining all the other data that resides within the BlockData. That is, as long as the new type also uses the same BlockData class. This would allow changing for example a sign material while retaining it's lines and rotation, or changing a door while keeping the hinge and open state the same.

      This feature request is related to:
      https://hub.spigotmc.org/jira/browse/SPIGOT-5438

            Unassigned Unassigned
            KoekenMeneer KoekenMeneer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: