Commit graph

359 commits

Author SHA1 Message Date
Domracz
1aea8d3a4e
Fixed entity rotations (#2596)
* Fixed entity rotations

Fixed entity yaw and pitch not changing when entity moves head.

* Update ChatBot.cs

* Update McClient.cs

* Update Protocol18.cs

* Update McClient.cs

* Finalize code style

* Fix incorrect variable type

---------

Co-authored-by: ReinforceZwei <39955851+ReinforceZwei@users.noreply.github.com>
2023-10-11 14:44:46 +08:00
ozi2285
968f864f34
Added ShiftRightClick (#2582)
* Added ShiftRightClick

* Added ShiftRightClick

* Added ShiftRightClick

* Added ShiftRightClick

* Added ShiftRightClick

* Added ShiftRightClick

* Added ShiftRightClick

* Added ShiftRightClick

* Updated Protocol18.cs ShiftRightClick Description for ReinforceZwei's  Suggestion

* Just Deleted Added ShiftRightClick's Description Line

* Just Deleted Added ShiftRightClick's Description Lines

* Made Change With Informaiton ReinforceZwei Given to Me About Switch-Case and Shorten the Code.

* Re Added Lines That Got Deleted By Mistake

* Add translation key for shift right-click

---------

Co-authored-by: ReinforceZwei <39955851+ReinforceZwei@users.noreply.github.com>
2023-09-16 19:39:55 +08:00
ReinforceZwei
37bcad37e0 [skip ci] Normalize all line endings 2023-09-15 14:44:11 +08:00
Anon
272900d52e Added slab handling for 1.20/.1
Added Farm bot crops handling for 1.20/.1
Added utilities for Containers/Inventories
Added bot movement lock to prevent multiple bots that use movements from running at the same time.
General code improvements.
2023-06-23 16:25:18 +02:00
Anon
ae7ce35cc8 Fully Implemented 1.20 2023-06-08 19:27:28 +02:00
Anon
fce12db33f Added a command to (re)name items in the Anvil 2023-06-03 16:12:17 +02:00
ReinforceZwei
f855839bb3
Remove release specific exception handling 2023-04-07 20:32:55 +08:00
Anon
978dc4b896 Fixed entity positions in 1.8 2023-03-29 20:48:41 +02:00
Anon
0b98628572 Added 1.8 entity handling 2023-03-28 13:39:18 +02:00
Anon
f467f4d6e4
Implemented 1.19.4, fixed multiple bugs in multiple versions
- Implemented 1.19.4
- Changed the Entity Metadata Code to use Palettes (1.13 - 1.19.4 supported)
- Implemented Particles Reading code for 1.13 - 1.19.4
- Fixed Elytra flyby crashing the bot when rocket was used (incorrect particles reading cause this)
- Fixed a crash on 1.15.X
- Fixed a crash on 1.14.X
2023-03-25 20:29:55 +00:00
ReinforceZwei
4c33c5fc27 Protocol: Remove unnecessary packets
Bundle and HurtAnimation are for GUI client
2023-03-25 16:32:32 +08:00
ReinforceZwei
f4ad24746c Wire up entity metadata palette 2023-03-24 19:46:25 +08:00
Anon
1a22002bde Fixed entity metadata, fixed a crash with Hurt Data packet, fixed a crash when someone flew by with elyra, added Entity Metadata Palettes (not used yet, requires further work) 2023-03-23 23:41:41 +01:00
Anon
e0361d2183 Fixed SpawnPainting packet missing 2023-03-23 19:30:36 +01:00
Anon
2e55a6bc85 Added palettes 2023-03-21 23:31:10 +01:00
Anon
046cb15c75 Updated Player Position packet (removed a line that would crash on older versions) 2023-03-21 21:06:16 +01:00
Anon
5d4ea515a7 Implemented 1.19.4, first pass, light testing 2023-03-21 20:28:05 +01:00
ReinforceZwei
e44ade8688
SetExperience: Revert 1.19.3 fields swap (#2430)
Seems like it is not swapped when testing in 1.19.3 vanilla/paper server
2023-03-21 16:14:21 +08:00
BruceChen
3735cab9dd Fix 1.19.3 message signature issue 2023-01-29 22:39:11 +08:00
BruceChen
1f54a7c247 Fix 1.19.3 key exchange in offline mode 2023-01-17 20:16:35 +08:00
BruceChen
30e95f2d23 Bug fix 2023-01-16 04:04:56 +08:00
BruceChen
950d9bcfdc Fix entity handle & Try fix message singing again 2023-01-16 03:00:37 +08:00
BruceChen
8db0467f69 Bug fix 2023-01-15 17:18:42 +08:00
BruceChen
957054eb12 1.19.3 entity & inventory & terrain support 2023-01-14 22:18:05 +08:00
BruceChen
1298654693 Bug fix 2023-01-14 21:20:22 +08:00
BruceChen
d4b3c42d8c Update DeclareCommands for 1.19.3 2023-01-14 20:43:32 +08:00
BruceChen
ba0d9ba3fc merge brigadier-dev into milutinke:1.19.3 2023-01-14 20:42:15 +08:00
BruceChen
de9b47b2d9 Reduce conflict 2023-01-14 15:58:36 +08:00
BruceChen
e0294f1beb 1.19.3 PlayerRemove & Explosion packet 2023-01-14 15:55:40 +08:00
BruceChen
052060b23c Bug fix 2023-01-14 02:41:03 +08:00
BruceChen
0ce9690778 1.19.3 Chat command signing support & Update chat paser 2023-01-14 00:53:36 +08:00
BruceChen
fe0b268878 1.19.3 Message signing support. 2023-01-13 16:12:10 +08:00
ReinforceZwei
e447fea16b Send and receive message without message signing 2023-01-13 15:53:33 +08:00
ReinforceZwei
4be7a05006 Player session 2023-01-11 17:25:25 +08:00
ReinforceZwei
08da49756f Done receive message 2023-01-10 20:43:54 +08:00
Milutinke
f3b50738f1 Cleaned some code a bit 2022-12-27 11:43:19 +01:00
Milutinke
20273af554 Improvements to the code of the Chat Message packet. 2022-12-21 13:04:41 +01:00
Milutinke
bb160d6d84 Server Data and Profileless Chat message packets implemented. ChatPreview packet removed. Message Header packet set only to 1.19.2. Chat Message packet partially implemented. 2022-12-21 12:51:27 +01:00
Milutinke
d81a67762e Login Start, Encryption Reqest, Merchant Offers, Set Experience packets implemented. 2022-12-21 12:03:39 +01:00
Milutinke
7a9bc7bd1d Added 1.19.3 packet palette. TODO: Implement changes in the protocol handler. 2022-12-17 18:25:21 +01:00
BruceChen
892999ac98 Merge into master 2022-12-06 20:32:46 +08:00
BruceChen
84cf749344 Implement command completion suggestions. 2022-12-06 15:50:17 +08:00
BruceChen
6c3bfb82ee Remove color code from text 2022-11-30 16:08:55 +08:00
BruceChen
ef39e8329c [SKIP_BUILD] Change file encoding to UTF-8 with BOM 2022-11-28 13:55:05 +08:00
BruceChen
5d2589b10f Merge remote-tracking branch 'origin/master' into brigadier-dev 2022-11-07 15:39:46 +08:00
BruceChen
0b5a562f7f [SKIP_DEPLOY] Support account alias in configs 2022-11-06 16:20:38 +08:00
BruceChen
e954801a0d Fix AutoDig 2022-11-01 16:37:50 +08:00
BruceChen
f2f88ac009 Merge master into brigadier-dev 2022-10-29 11:44:54 +08:00
BruceChen
077e3a5e9f
Crowdin localization support (#2310)
* Switching to use resource files

* Update Crowdin configuration file

* Code cleanup
2022-10-28 11:13:20 +08:00
Milutinke
80e227c3a7 Added Player Killed event (Combat and CombatDeath packets). 2022-10-26 20:53:09 +02:00