LiteLoader Release Note
支持 1.19.50 & 1.19.51 | 协议版本 560
New features
- 为MobSpawnedEvent添加末影龙监听器 (by @wzyyyyyyy)
- 为LL和LLSE添加deletePlayerScore API (by @kkj9333)
LiteLoader Release Note
支持BDS 1.19.50 & 1.19.51 | 协议版本 560
新特性
- 为LLSE添加despawn和remove方法到Entity类中 (by @Tsubasa6848)
- 添加Event::EnderDragonDestoryEvent (by @Tsubasa6848)
- 为脚本的原生指针类添加asEntity, asItem, asPlayer, asContainer方法 (by @killcerr)
- 添加旋转角参数到player.teleport (by @Redbeanw44602)
- 添加实体查询API BlockSource::queryEntities (by @Redbeanw44602)
- 添加版本状态支持到ll.registerPlugin (by @Redbeanw44602)
- 在脚本引擎中添加version enum (by @Redbeanw44602)
- 添加CommandBlockName以替换Block const* (by @dreamguxiang)
修复的Bugs
- 修复Event::MobSpawnEvent #930 (by @Tsubasa6848)
- 修复Recipes头文件崩溃 (by @dreamguxiang)
- 修复在LLSE的事件中错误的维度ID (by @Jasonzyt and @timiya233)
- 修复onRespawn事件的错误触发 (by @Redbeanw44602)
- 修复File.createDir (by @Redbeanw44602)
- 修复player.setPermLevel中的逻辑表达式 (by @Redbeanw44602)
- 修复player.distanceTo和player.distanceToSqr中的空指针 (by @Redbeanw44602)
- 修复计分板API #971 (by @ShrBox)
- 修复LLSE中的Block.hasContainer #1016 (by @ShrBox)
- 修复LLSE中的JsonConfigFile #1017 (by @ShrBox)
- 修复LLSE中的File #1021 (by @ShrBox)
- 修复动态指令API和LLSE指令API中BlockType的错误 (by @dreamguxiang)
更改
- 移除enableClientChunkPreGeneration设置项 (by @ShrBox)
- 分割Event::MobSpawnEvent (by @Tsubasa6848)
- 在Actor::teleport()将相对旋转改为绝对旋转 (by @Redbeanw44602)
- 调整offlineScoreAPI (by @kkj9333)
LiteLoader Release Note
支持 BDS 1.19.50 & 1.19.51 | 协议版本 560
新特性
- 在ScoreboardAPI中添加离线计分板操作API @kkj9333
- 为LLSE添加CommandOutputParameters支持 @StarsDream00
- 在LLSE中添加修改属性的方法 @shishkevichd
- 为LLSE添加离线计分板操作API @Tsubasa6848
Bug Fixes
- 修复Player::sendTextTalkPacket @ShrBox
- 重构checkRunningBDS & 修复 #912 @pa733
- 修复I18nAPI.h中的包含关系 #969 @Jasonzyt
- 修复一个在SplitStrWithPattern算法中的bug @yqs112358
- 修复监听不到末影龙生成的bug @wzyyyyyyy
LiteLoader Release Note
适配BDS-1.19.50 | 协议版本560
新特性
- Support 1.19.50 @dreamguxiang @ShrBox
- 新增离线nbt API #305 @Tsubasa6848
- 为LLSE的PlayerEffectChangedEvent增加更多参数 #922 @Tsubasa6848
- 添加Player::getAllUuid @Tsubasa6848
- 添加PlayerInfo::getUUIDByXuid #940 @Tsubasa6848
- 为LLSE添加data.name2uuid和data.xuid2uuid #940 @Tsubasa6848
修复的Bug
- 修复isMinecart总为true #923 @StarsDream00
LiteLoader Release Note
适配BDS-1.19.50 | 协议版本560
新特性
- 支持1.19.50 @ShrBox @dreamguxiang
- 新增离线nbt API #305 @Tsubasa6848
- 为LLSE的PlayerEffectChangedEvent增加更多参数 #922 @Tsubasa6848
修复的Bug
LiteLoader Release Note
适配BDS-1.19.40 | 协议版本557
新特性
- 支持1.19.40 @dreamguxiang
- 为LLSE添加DeviceAPI::getPlayMode @shishkevichd
- 添加了EntityAPI::distanceToSqr @shishkevichd
- 为LLSE的ItemAPI添加了lore属性 @shishkevichd
- 为LLSEd ActorAPI添加了setHealth, setMaxHealth @shishkevichd
修改
- 在添加物品失败时使玩家丢出物品 (in Player::giveItem) @Redbeanw44602
- 为Container.addItem添加数量参数 @Redbeanw44602
- 将流浪商人的生成添加到MobSpawnEvent @Redbeanw44602
- EntityAPI::distanceToPos -> EntityAPI::distanceTo @shishkevichd
- 现在EntityAPI::distanceTo接受Entity参数 @shishkevichd
Bug修复
- 修复Player::giveItem的bug #834,#850 @Redbeanw44602
- 修复PlayerInfo api错误 #856 @ShrBox
- 修复PlayerUseBucketEvent在某些情况下无法监听 #855(#865) @quizhizhe
- 修复Actor::teleport @dreamguxiang
- 修复当玩家皮肤数据太大时被服务器拦截的问题 #863 @dreamguxiang
- 修复runcmd/runcmdEx无法执行某些指令 #858,#859,#715,#553 @dreamguxiang
- 修复mc.cloneMob坐标错误 #861 @dreamguxiang
LiteLoader Release Note
适配BDS-1.19.30 |协议版本 554
如果你正在使用2.7.0,请尽快更新到该版本
Bug修复
- 修复form空指针崩溃 @ShrBox
- 修复BDS数据包解析部分存在的漏洞 @dreamguxiang
New Features
- 在配置文件中添加enableClientChunkPreGeneration项以打开/关闭客户端区块预加载 @dreamguxiang
- 重构LLSE的LLAPI @shishkevichd
LiteLoader Release Note
适配BDS-1.19.30 | 协议版本 554
Bug Fixes
- 修复LLSE中的ParticleSpawner bugs (#780) @OEOTYAN
- 修复在玩家加入服务器时客户端卡顿的问题 (#825) @dreamguxiang
- 修复在玩家加入服务器时服务端崩溃的问题 (#825,#827,#828,#829,#832) @dreamguxiang
- 修复PlayerInfo玩家改名后的历史遗留问题 @ShrBox
- 修复PlayerClass::getScore错误 (#791) @Redbeanw44602
New Features
- 支持BDS 1.19.30 (#819) @dreamguxiang
- 为LLSE添加setScale API (#762) @shishkevichd
- 添加PlayerUseBucket事件 (#746) @quizhizhe
- 为LLSE添加ItemAPI::setDisplayName API (#766) @shishkevichd
- 为LLSE添加DeviceAPI::getInputMode API (#772) @shishkevichd
- 为LLSE添加distanceToPos API在PlayerAPI & EntityAPI中 (#775) @shishkevichd
- 添加PlayerOpenInventory事件 (#767) @Jasonzyt
- 添加LL settings指令 @RimuruChan
- 添加PlayerSwingEvent (#797) @OEOTYAN
- 为LLSE添加stopFire API在PlayerAPI & EntityAPI中 (#801) @shishkevichd
- 为LLSE的BlockAPI添加更多属性 (#816) @shishkevichd
- 为LLSE的layerAPI和EntityAPI添加更多属性 (#837) @shishkevichd
- mc.getPlayer()支持通过UniqueID获取玩家 @Redbeanw44602
- 在LLSE中添加player.setTitle() @Redbeanw44602
- 添加API trans-money和money-history @Redbeanw44602
APIs / ABIs重大更改列表(为开发者)
请注意,标记为已弃用的 API 将在接下来的几个版本中删除。
位置 更改 描述 llapi/LLAPI.h All item with namespace LL. Move to namespace ll. You should recompile your plugin with latest SDK as soon as possible due to the removal of deprecated API and ABI in the future. llapi/mc/ All enum defined in llapi/mc Use enum class instead of enum. You should recompile your plugin with latest SDK as soon as possible due to the removal of deprecated API.