Abstract out sendBlockEntityChange

same as what's in GlowstoneMC/Glowstone#360