Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Commit

Permalink
Add PackCategory enum
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamguxiang committed Sep 2, 2022
1 parent 5f18728 commit 620596d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 40 deletions.
42 changes: 3 additions & 39 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,42 +1,6 @@
## [LiteLoader Release Note]
LiteLoaderBDS-2.6.0 update has been released, adapted to BDS-1.19.21, ProtocolVersion 545

## [New features]
- Add ParticleAPI @OEOTYAN
- Add more properties in PlayerAPI and EntityAPI by @shishkevichd & @dreamguxiang
- Add ResourcePackRepository::setCustomResourcePackPath by @dreamguxiang
- Add AddrHook,SigHook API by @dreamguxiang
- Add some definitions(ChunkBlockPos) by @OEOTYAN
- Add PermissionAPI by @Jasonzyt
- Add StaticVanillaBlocks (#704) by @OEOTYAN
- Add PlayerInfoAPI for LLSE by @Jasonzyt
- Add links to C++ documentation (#734) by @Futrime
- Add Hot Reload for NodeJS Plugin by @yqs112358
- New methods and properties of LLAPI for LLSE (#726) by @shishkevichd & @Jasonzyt
- Update 1.19.21 by @dreamguxiang
- Add i18nAPI for LLSE by @Jasonzyt
- Add ActorDamageCause enum for LLSE by @dreamguxiang
- Add ResourcePackInitEvent by @dreamguxiang
- Add fix BDS crashes(Beta) by @dreamguxiang
- Default is off, please turn on `FixBDSCrash` from the configuration file

## [Change]
- Complete #716 by @dreamguxiang
- Throwing exceptions back when catching SEH exceptions in Dev mode by @yqs112358
- Add Actor::hurtEntity ActorDamageCause Parameter (#729) by @dreamguxiang
- Update PlayerAPI of LLSE (#723) by @shishkevichd
- Refine and fix NativeApi by @WangYneos & @Redbeanw44602
- Reconstruct LLSE part of codes by @yqs112358
- Now the development_xxxx_packs directory can load all packs directly and without filling out world_xxxx_packs.json by @dreamguxiang
LiteLoaderBDS-2.6.1 update has been released, adapted to BDS-1.19.21,BDS-1.19.22, ProtocolVersion 545

## [Bug Fixes]
- Fix & recompile QuickJs to fix (#708) by @yqs112358
- Fix Crash when creating AttributeModifier instance (#725) by @dreamguxiang
- Fix PlayerDropItemEvent bugs by @dreamguxiang
- Fix LLSE reloading the plugin after the command re-registration will lead to registration error (#689) by @Jasonzyt
- Fix Player/CommandOutput's i18n function cannot pass fmt::named_arg by @Jasonzyt
- Fix named argument in nodejs plugin pack output by @Jasonzyt
- Fix after LiteLoader.dll is loaded Ctrl+C forced to close the service is not valid by @Jasonzyt
- Fix date cannot parse time from string(quickJs) (#708) by @yqs112358
- Fix LLSE hot reload quickJs plugin when ScriptEngine-NodeJs error message (#701) by @yqs112358
- Fix AntiGiveCommand dynamic generate (#700) by @WangYneos
- Fix loading subpacks crash (#749) by @Redbeanw44602
- Fix loading KVDB crash (#725) by @ShrBox
9 changes: 9 additions & 0 deletions LiteLoader/Header/MC/ResourcePack.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,15 @@ enum PackType : char {
PackType_Count = 0x9,
};

enum PackCategory : int {
PackCategory_Unknown = 0x0,
PackCategory_RealmsUnknown = 0x1,
PackCategory_Standard = 0x2,
PackCategory_Premium = 0x3,
PackCategory_Custom = 0x4,
PackCategory_Subpack = 0x5,
};

#undef BEFORE_EXTRA

/**
Expand Down
2 changes: 1 addition & 1 deletion LiteLoader/Main/Version.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

#define LITELOADER_VERSION_MAJOR 2
#define LITELOADER_VERSION_MINOR 6
#define LITELOADER_VERSION_REVISION 0
#define LITELOADER_VERSION_REVISION 1
#define LITELOADER_VERSION_ACTIONS 0
#define LITELOADER_VERSION_STATUS LITELOADER_VERSION_DEV

Expand Down

0 comments on commit 620596d

Please sign in to comment.