summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol_1_14.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-04-21Add support for 1.14.x protocolsPersson-dev1-0/+48
2022-04-21Protocol sources fixes (#5411)Simon Pribylski1-13/+1
* Move HANDLE_READ to header * Fix compiler warnings * Removed unnecessary default statement
2022-04-20Improving 1.14 support (#5388)Simon Pribylski1-4/+1388
* Fixing login * Add basic 1.14 support * Adding pktHorseWindowOpen to PacketTypeToStr * Fixing build with clang * Fixing inventories * Add entities metadata * Add particles * Fixing style * Fixing build with clang-tidy * fixing build
2022-04-20Updated protocol functions to Vector3xx12xx12x1-5/+5
also added support in included functions
2021-11-11Miscellaneous fixes (#5320)Tiger Wang1-3/+0
* Protocol: update Abilities flags + Add Spectator handling * BioGen: move <iostream> include * ClientHandle: rename Respawn packet dimension check flag * Make it clearer what it's doing. * ClientHandle: move ProcessProtocolIn calls to World * Player: remove some redundant initialisation * Player: UpdateCapabilities enables flight for spectators * Produce growth: improve comments * ClientHandle: run unload checks using delta time * Fix forgotten initialisation of time member
2021-10-03World: change spawnpoint type to int (#5313)Tiger Wang1-1/+1
* World: change spawnpoint type to int As Vanilla does.
2021-05-03Add player statistics to API (#5193)nshah251-1/+1
* Fixed issue #5166 Co-authored-by: 12xx12 <44411062+12xx12@users.noreply.github.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
2021-04-12More cProtocol cleanupTiger Wang1-14/+14
* Alpha sort functions * Simplify hand handling * Fix left handed mode client-side display
2021-04-12Unify multiprotocol entity animationsTiger Wang1-8/+43
2021-01-11zlib -> libdeflate (#5085)Tiger Wang1-2/+1
+ Use libdeflate + Use std::byte * Fix passing temporary to string_view + Emulate make_unique_for_overwrite
2020-12-26ViewDistance: unsigned -> signedTiger Wang1-1/+1
2020-12-21Prepare for 1.15+ (#4856)Tiger Wang1-2/+2
+ Add type-safe container for states * Split registry Blocks into BlockTypes, BlockStates so the block types enumeration can be #included without too much penalty * Ensure Registry uses type-safe container
2020-12-18Warnings improvementsTiger Wang1-1/+1
* Turn off global-constructors warning. These are needed to implement cRoot signal handler functionality * Add Clang flags based on version lookup instead of a compile test. The CMake config process is single threaded and slow enough already * Reduced GetStackValue verbosity + Clarify EnchantmentLevel, StayCount, AlwaysTicked, ViewDistance signedness + Give SettingsRepositoryInterface a move constructor to simplify main.cpp code - Remove do {} while (false) construction in redstone handler
2020-10-05Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963)peterbell101-31/+1
* Fix cmake not adding Werror on clang, and _lots_ of warnings * WIP: Build fixes * Cannot make intermediate blockhandler instance * Tiger's changes * Fix BitIndex check * Handle invalid NextState values in cMultiVersionProtocol Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
2020-09-18Add State enum to protocolTiger Wang1-3/+3
2020-09-18Cleanup Protocol classesTiger Wang1-23/+23
* Visibility, static, ordering changes
2020-08-21Made cProtocol::Version, EntityMetadata enums less verboseTiger Wang1-1/+1
2020-08-21Remove complex templated SendBlockChangeTiger Wang1-33/+10
If we're sending enough blocks to have virtual calls be an issue, we should resend the chunk instead.
2020-08-19Add Statistics and Achievements for newer Network standards12xx121-0/+9
2020-07-261.14 connection supportTiger Wang1-0/+305