-
New Feature
-
Resolution: Invalid
-
Minor
-
None
-
None
-
n/a
-
n/a
-
Yes
So I was working on my plugin (I took over from a dev and updated it to 1.13+), anyways I noticed there was an old deprecated method inside which was using MaterialData Attachable.
This allowed for checking if attached and what not.
When I went to update to new 1.13+ API, I noticed that the BlockData Attachable was only available for tripwire and tripwire hook, where as the old MaterialData Attachable was available for all attachable blocks, such as Banner, Button, CocoaPlant, Ladder, Lever, PistonExtensionMaterial, RedstoneTorch, Sign, SimpleAttachableMaterialData, Torch, TrapDoor, TripwireHook.
This would be handy to have as part of the block data as well, use case:
Lets say I want to set a block to air, but I want to check the relative blocks around it, and see if they are attached to said block.
Thank you for your consideration.