Commit d24e5f1
authored
[feature] add 1.21.130 support
* refactor: remove unused `std::string` parameter from `requestServerShutdown`
* refactor: remove unused methods and members from `ConnectionRequest`
* feat: add `onOutgoingPacket` callback to `NetEventCallback` interface
* refactor: update packet identifiers in `packet.h`
* refactor: replace unused `setInactivityTimeout` with `setDisableTrickleIce` in `RemoteConnector` interface
* refactor: add `PlayerAuthenticationInfo` support and clean up unused members in `ServerNetworkHandler`
* refactor: remove unused members and methods from `SubClientConnectionRequest` and `ConnectionRequest`
* refactor: add `revision_` member to `Pack` and `ResourcePackStack`
* refactor: update `ServerInstance` to replace unused members and improve callback types
* refactor: add `ActorSwingSource` enum and update `swing` method to use it
* refactor: bump version numbers and network protocol constants
* refactor: remove unused members and methods from `minecraft.h` and `game_callbacks.h`
* refactor: rename `SerializedSkin` to `SerializedSkinRef`
* refactor: comment out unused virtual methods in `mob.h`
* refactor: add `LevelTickingAreaFinishedLoadingEvent`, new enchantment values, and `ActorSwingSource` updates
* refactor: comment out unused virtual methods and clean up parameter names in `block_type.h`
* refactor: comment out unused member `base_light_texture_image_builder_` in `dimension.h`
* refactor: comment out unused methods and add new virtual function in `level_interface.h`
* refactor: remove unused member `addon_ids_and_versions` from `resource_pack_stack_packet.h`
* refactor: add actor types to `actor_types.h`
* refactor: add new actor flags `CAN_USE_VERTICAL_MOVEMENT_ACTION` and `ROTATION_LOCKED_TO_VEHICLE` to `actor_flags.h`
* refactor: encapsulate `TextPacket` fields into `TextPacketPayload`
* refactor: encapsulate `AvailableCommandsPacket` fields into `AvailableCommandsPacketPayload`
* refactor: add `Dehydration` damage cause to `actor_damage_cause.h`
* refactor: add fields to `AvailableCommandsPacketPayload`
* refactor: update `EndstonePlayer` methods to use `TextPacketPayload` and adjust iteration for `AvailableCommandsPacketPayload`
* refactor: comment out unused `ADDON` stack-related code in `resource_pack_manager.cpp`
* refactor: update `TextPacket` methods to use `TextPacketPayload` and add new helper methods
* refactor: clean up includes
* refactor: remove unused methods `getAuthenticationInfo`, `isVerified`, and `getData` from connection request classes
* refactor: encapsulate DevTools thread logic in `DevToolsCommand` class
* refactor: update `symobls.toml`
* refactor: add `PlayerAuthenticationInfo` parameter to `trytLoadPlayer` and `_createNewPlayer` methods
* refactor: update `ItemStackBase::setUserData` to use `ItemInstance::fromTag` method
* refactor: update `EndstonePlayer` and `Actor` teleport methods implementation
* refactor: remove `UnverifiedCertificate::fromString` hook
* feat: update symbols for Linux
* feat: add `_getRawRequest` method
* feat: update vtable for `Item` class
* refactor: deprecate `getVisualLiquidHeight` and add `checkBlockDestroyPermissions` to `IBlockSource`
* feat: add container registry-related methods and interfaces in level interface
* refactor: update symbols for Windows
* feat: move IP and player ban checks to `ServerNetworkHandler::_validateLoginPacket`
* feat: re-implement `TextPacket::write`
* fix: resolve a crash caused by incorrect symbols
* refactor: update symbol for `CommandOriginLoader::load`
* refactor: comment out unused block component members and update type alias
* fix: update `Minecraft::requestServerShutdown` implementation
* refactor: update symbol for `ItemRegistry::lookupByName`
* refactor: replace `std::unordered_map` with `brstd::flat_map` in `BaseAttributeMap`
* refactor: implement `iterator_impl` and `iterator_impl_base` in `associative_adapter`
* style: update `.clang-format` to allow inline short functions
* feat: add `associative_adapter::find`
* refactor: use pointers for `AttributeInstance` in `BaseAttributeMap`
* refactor: move DevTools thread management to DedicatedServer startup
* fix: resolve a crash when using `/reload`
* refactor: simplify `DeathInfoPacket` struct
* fix: correct `TextPacket` serialization logic
it works, but it doesn't look right - mojang did you mess it up?
* fix: resolve compilation errors on Linux
* fix: correct symbol address for `Player::completeUsingItem`1 parent 6e4b448 commit d24e5f1
77 files changed
Lines changed: 849 additions & 617 deletions
File tree
- endstone
- include/endstone/detail
- src
- bedrock
- certificates
- network
- packet
- platform/brstd
- detail
- resources
- server
- commands/standard
- symbol_generator
- world
- actor
- player
- attribute
- events
- item
- enchanting
- level
- block
- components
- dimension
- endstone
- core
- actor
- devtools
- runtime
- bedrock_hooks
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
115 | 116 | | |
| 117 | + | |
116 | 118 | | |
117 | 119 | | |
118 | 120 | | |
| |||
132 | 134 | | |
133 | 135 | | |
134 | 136 | | |
| 137 | + | |
135 | 138 | | |
136 | 139 | | |
137 | 140 | | |
| |||
201 | 204 | | |
202 | 205 | | |
203 | 206 | | |
| 207 | + | |
204 | 208 | | |
205 | 209 | | |
206 | 210 | | |
| |||
249 | 253 | | |
250 | 254 | | |
251 | 255 | | |
| 256 | + | |
252 | 257 | | |
253 | 258 | | |
254 | 259 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | 19 | | |
25 | 20 | | |
26 | 21 | | |
| |||
88 | 83 | | |
89 | 84 | | |
90 | 85 | | |
91 | | - | |
| 86 | + | |
92 | 87 | | |
93 | | - | |
| 88 | + | |
94 | 89 | | |
95 | 90 | | |
96 | 91 | | |
| |||
100 | 95 | | |
101 | 96 | | |
102 | 97 | | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
| 98 | + | |
107 | 99 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
| |||
41 | 40 | | |
42 | 41 | | |
43 | 42 | | |
44 | | - | |
45 | 43 | | |
46 | 44 | | |
47 | 45 | | |
| |||
77 | 75 | | |
78 | 76 | | |
79 | 77 | | |
80 | | - | |
81 | | - | |
82 | 78 | | |
83 | 79 | | |
84 | 80 | | |
85 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
86 | 85 | | |
87 | 86 | | |
88 | 87 | | |
89 | 88 | | |
90 | 89 | | |
91 | 90 | | |
92 | | - | |
93 | 91 | | |
94 | 92 | | |
95 | | - | |
96 | 93 | | |
97 | | - | |
98 | 94 | | |
99 | | - | |
100 | 95 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
258 | | - | |
| 258 | + | |
259 | 259 | | |
260 | | - | |
| 260 | + | |
| 261 | + | |
261 | 262 | | |
262 | 263 | | |
263 | 264 | | |
| |||
0 commit comments