An example plugin using the new API in Zekkou Cake (API 14?) by @PEMapModder (@PocketMine team has made one at https://github.com/PocketMine/ExamplePlugin and that is the official one)