Give a block data and persist through its item phase

Hello, I am trying to give a block data, and make it persist through when it becomes an item, and then be able to read it when it is placed again. Is this possible, or am I wishing for too much?

1 Like

This would be awesome for an “anti-money-spam” function in a job plugin! :smiley:

This is exactly what I am going to use it for. Is this possible @gabizou?

1 Like

Actually the data would need to transfer to the item entity when it drops, then the itemstack when picked up. I’m in need of similar behavior for placing blocks but have had little luck.

Haha, same here :frowning: I think, finally i will use something like a counter, that fires every time after changing 10 blocks of the same type, or a time interval…