feat: Entity component rewrite (#1063)
* Add MemoryType.MemoryCodec to make memory able r/w from/to nbt
* Encode memory into nbt in method EntityIntelligent.save
NBT()
* Move some control method in EntityIntelligent to EntityControlUtils
* Fix testing
* Separate MemoryCodec from MemoryType & Fix testing again
* Add bool, number, string memory codec & move EntityAngryable to the new component system
* Move EntityTamable, EntityCanSit to the new component system
* Fix memory codec
* Fix NPE
* Remove the old component system
* 提交一些机翻注释
* 添加IMemoryCodec的javadoc
* javadoc2
---------
Co-authored-by: CoolLoong <
1542536763@qq.com>