Enderman attacks a player if he's looking at him.
Swapped m_Player and m_EndermanPos
Improved Enderman code
Replaced strange algebra with dot product.

10 degrees is a completely arbitary constant I pulled from nowhere. Feel free to adjust this value.
Changed comment
Removed lighting code in cEnderman::CheckEventSeePlayer
Added lighting code and added comments
Added beacon.
Exported the beacon.
Changed return type from GetPrimaryPotion() and GetSecondaryPotion()
Added beacon documentation.
Added beacon load/save.
Added window update.
Renamed functions and added beacon json saving.
Updated documentation.
Renamed "select..." methods to "set..." and better IsValidEffect() function.
Updated documentation again.
Added a default value to WaterSimulator, LavaSimulator and RedstoneSimulator.
Comment suggestions
Fixed hunger bugs, Implemented golden apple, added jump statistic, added correct food effects.