The warning "Height limit for building is 256 blocks" appears if you right click on the top surface of any block at Y=255, even if you don't have a placeable block in hand. It will even occur if the block you are clicking on has a right click action associated with it, (chests, buttons, etc.), canceling the place action.
Linked issues
duplicates 1
Comments 5
This is a dupe of MC-11211.
This report is a duplicate of MC-11211, please mark it as such.
This bug appears to have been fixed.