diff --git a/CHANGELOG.md b/CHANGELOG.md index f7c4b81e71..43ec764194 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.13.0] - 2024-06-19 + +### Added + +- Adapted to BDS version 1.21.0x @Lovelylavender4 + +### Changed + +- Fix Concepts (#1547) +- Add vector helper operators + ## [0.12.4] - 2024-05-31 ### Changed @@ -528,7 +539,8 @@ First preview release. For lip and tooth-hub test only. -[Unreleased]: https://github.com/LiteLDev/LeviLamina/compare/v0.12.4...HEAD +[Unreleased]: https://github.com/LiteLDev/LeviLamina/compare/v0.13.0...HEAD +[0.13.0]: https://github.com/LiteLDev/LeviLamina/compare/v0.12.4...v0.13.0 [0.12.4]: https://github.com/LiteLDev/LeviLamina/compare/v0.12.3...v0.12.4 [0.12.3]: https://github.com/LiteLDev/LeviLamina/compare/v0.12.2...v0.12.3 [0.12.2]: https://github.com/LiteLDev/LeviLamina/compare/v0.12.1...v0.12.2 diff --git a/src/ll/api/utils/WinUtils.h b/src/ll/api/utils/WinUtils.h index 008be4ad7d..7654bb55b7 100644 --- a/src/ll/api/utils/WinUtils.h +++ b/src/ll/api/utils/WinUtils.h @@ -33,7 +33,7 @@ LLNDAPI std::string getModuleFileName(void* handle, void* process = nullptr); LLNDAPI std::pair getLocalTime(); // tm & ms -LLNDAPI bool isStdoutSupportAnsi() ; +LLNDAPI bool isStdoutSupportAnsi(); [[nodiscard]] inline std::string getCallerModuleFileName(void* addr = _ReturnAddress()) { return getModuleFileName(getModuleHandle(addr)); diff --git a/src/ll/core/Config.h b/src/ll/core/Config.h index 6798c113a1..d66ccb7d97 100644 --- a/src/ll/core/Config.h +++ b/src/ll/core/Config.h @@ -7,10 +7,10 @@ #include "ll/api/base/Macro.h" #include "ll/api/reflection/Dispatcher.h" +#include "ll/api/utils/WinUtils.h" #include "ll/core/tweak/ForceEnableCheatCommands.h" #include "ll/core/tweak/SimpleServerLogger.h" #include "ll/core/tweak/Statistics.h" -#include "ll/api/utils/WinUtils.h" #include "mc/server/commands/CommandPermissionLevel.h" diff --git a/src/ll/core/plugin/NativePluginManager.cpp b/src/ll/core/plugin/NativePluginManager.cpp index 5b3084f0b5..9fe3afd66d 100644 --- a/src/ll/core/plugin/NativePluginManager.cpp +++ b/src/ll/core/plugin/NativePluginManager.cpp @@ -130,9 +130,8 @@ Expected<> NativePluginManager::load(Manifest manifest) { } if (!GetProcAddress(lib, "ll_memory_operator_overrided")) { using namespace i18n_literals; - return makeStringError( - "The plugin is not using the unified memory allocation operator, will not be loaded."_tr() - ); + return makeStringError("The plugin is not using the unified memory allocation operator, will not be loaded."_tr( + )); } currentLoadingPlugin->setHandle(lib); currentLoadingPlugin->onLoad(reinterpret_cast(GetProcAddress(lib, "ll_plugin_load"))); diff --git a/src/mc/network/packet/StartGamePacket.h b/src/mc/network/packet/StartGamePacket.h index 306f45516a..cef48f6481 100644 --- a/src/mc/network/packet/StartGamePacket.h +++ b/src/mc/network/packet/StartGamePacket.h @@ -44,6 +44,7 @@ class StartGamePacket : public ::Packet { bool mServerEnabledClientSideGeneration; bool mBlockNetworkIdsAreHashes; bool mHardcore; + std::vector> mBlockProperties; // prevent constructor by default diff --git a/src/mc/network/packet/TickSyncPacket.h b/src/mc/network/packet/TickSyncPacket.h deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/mc/world/level/biome/TerrainShaper.h b/src/mc/world/level/biome/TerrainShaper.h index 5650eea0b0..edbdaed8cc 100644 --- a/src/mc/world/level/biome/TerrainShaper.h +++ b/src/mc/world/level/biome/TerrainShaper.h @@ -19,6 +19,7 @@ class TerrainShaper { float mErosion; float mRidges; float mWeirdness; + public: // prevent constructor by default Point& operator=(Point const&); diff --git a/tooth.json b/tooth.json index 2220238af1..2d0aa40e4b 100644 --- a/tooth.json +++ b/tooth.json @@ -1,16 +1,16 @@ { "format_version": 2, "tooth": "github.com/LiteLDev/LeviLamina", - "version": "0.12.4", + "version": "0.13.0", "info": { "name": "LeviLamina", "description": "A lightweight, modular and versatile plugin loader for Minecraft Bedrock Server BDS, formerly known as LiteLoaderBDS", "author": "LiteLDev", "tags": [] }, - "asset_url": "https://github.com/LiteLDev/LeviLamina/releases/download/v0.12.4/levilamina-release-windows-x64.zip", + "asset_url": "https://github.com/LiteLDev/LeviLamina/releases/download/v0.13.0/levilamina-release-windows-x64.zip", "dependencies": { - "github.com/LiteLDev/bds": ">=1.20.80 <1.20.90", + "github.com/LiteLDev/bds": ">=1.21.0 <1.21.10", "github.com/LiteLDev/CrashLogger": "1.1.x", "github.com/LiteLDev/levilamina-loc": "1.1.x", "github.com/LiteLDev/PeEditor": "3.7.x",