thanks for all your replies, I know how to use Metadata already, but it only have store 16 different data, I would want to do it like how eloraam did it, using tile entity. The block will be an item with damage value first, then when placed it will change the texture and hitbox by the block tile entity