summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol_1_14.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Updated protocol functions to Vector3xx12xx12x2022-04-201-5/+5
| | | | also added support in included functions
* Miscellaneous fixes (#5320)Tiger Wang2021-11-111-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
* World: change spawnpoint type to int (#5313)Tiger Wang2021-10-031-1/+1
| | | | | * World: change spawnpoint type to int As Vanilla does.
* Add player statistics to API (#5193)nshah252021-05-031-1/+1
| | | | | | * Fixed issue #5166 Co-authored-by: 12xx12 <44411062+12xx12@users.noreply.github.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
* More cProtocol cleanupTiger Wang2021-04-121-14/+14
| | | | | | * Alpha sort functions * Simplify hand handling * Fix left handed mode client-side display
* Unify multiprotocol entity animationsTiger Wang2021-04-121-8/+43
|
* zlib -> libdeflate (#5085)Tiger Wang2021-01-111-2/+1
| | | | | | + Use libdeflate + Use std::byte * Fix passing temporary to string_view + Emulate make_unique_for_overwrite
* ViewDistance: unsigned -> signedTiger Wang2020-12-261-1/+1
|
* Prepare for 1.15+ (#4856)Tiger Wang2020-12-211-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
* Warnings improvementsTiger Wang2020-12-181-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
* Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963)peterbell102020-10-051-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>
* Add State enum to protocolTiger Wang2020-09-181-3/+3
|
* Cleanup Protocol classesTiger Wang2020-09-181-23/+23
| | | | * Visibility, static, ordering changes
* Made cProtocol::Version, EntityMetadata enums less verboseTiger Wang2020-08-211-1/+1
|
* Remove complex templated SendBlockChangeTiger Wang2020-08-211-33/+10
| | | | If we're sending enough blocks to have virtual calls be an issue, we should resend the chunk instead.
* Add Statistics and Achievements for newer Network standards12xx122020-08-191-0/+9
|
* 1.14 connection supportTiger Wang2020-07-261-0/+305