Properly implemented enderchests

They do everything you expect them to.
Why define this entire function if you're not using it at all?