Commit graph

899 commits

Author SHA1 Message Date
BruceChen
b0b45a74a0 Make chunk loading status to be displayed using "/move" command 2022-07-25 14:20:24 +08:00
BruceChen
ff014d2912 Delete unnecessary comments 2022-07-25 03:50:31 +08:00
BruceChen
357820e1c2 Fix bugs in gravity handle 2022-07-25 03:19:24 +08:00
BruceChen
86dfd60d07 Bugs fix for “ClickWindow“ packet 2022-07-25 01:13:41 +08:00
BruceChen
59ed18bb40 Fixed incorrect handling in 1.18(1.18.1) and 1.18.2 2022-07-24 22:21:15 +08:00
BruceChen
3429989527 change .NET version to 4.0 2022-07-24 22:03:02 +08:00
BruceChen
735d182468 Rename variables 2022-07-24 21:48:09 +08:00
BruceChen
516effa81d terrain handling for 1.18(1.18.1) and 1.18.2 2022-07-24 21:41:56 +08:00
BruceChen
af574b654e avoid pathfind to an unloaded chunk | remove debug logs 2022-07-23 23:10:06 +08:00
BruceChen
f9bb74a8bd Implemented ChunkData packet process for 1.17/1.17.1 2022-07-23 22:34:16 +08:00
BruceChen
316e35c93a Merge branch 'master' of https://github.com/BruceChenQAQ/Minecraft-Console-Client 2022-07-22 20:13:03 +08:00
BruceChen
2dae739b74 Update to .NET 4.8 2022-07-22 20:09:53 +08:00
Dušan Milutinović
00d78ee81c Fixed the array length issue 2022-07-05 09:29:40 +02:00
Dušan Milutinović
7c364731f5 Reverted a mistake 2022-07-01 19:02:53 +02:00
Dušan Milutinović
3d8c112159 Implemented "Click Window" for 1.18 (now sending the new required fields), formated few files with Visual Studio formatting. PS: left debug for people to see, I'll remove it once everything is working 2022-07-01 18:59:58 +02:00
Dušan Milutinović
b5c4cd7566 Fixed Auto Attack bot (forgot to add a method to a commit before)
Tested on 1.18.2
2022-06-28 17:37:16 +02:00
Dušan Milutinović
dc0021d990 Fixed entity health update event (This will also fix the Auto Attack bot) 2022-06-28 17:09:08 +02:00
Dušan Milutinović
9d3357eeee Fixed requested changes in the review. Except: Container (TODO) 2022-06-28 13:45:23 +02:00
Anon
3ea109b330
Merge branch 'MCCTeam:master' into master 2022-06-28 10:43:13 +00:00
Daenges
b3cc2351ee
CalculatePath: Fix offset calculation, improve approaching (#2013)
* Square minOffset and maxOffset to match DistanceSquared
* Rewrite squaring
* Add minOffset
* Implement h-score selection
2022-05-05 20:05:05 +02:00
Daenges
708815fe61
Improve pathfinding capabilities (#1999)
* Add `ClientIsMoving()` API to determine if currently walking/falling
* Improve `MoveToLocation()` performance and allow approaching location
Co-authored-by: ORelio <ORelio@users.noreply.github.com>
2022-04-30 00:56:41 +02:00
ORelio
aeca6a8f53 Add thead safety to terrain data (#1999)
Allow safely reading terrain data from other threads
2022-04-23 12:00:50 +02:00
ORelio
d6220ff779 Fix potentual issue with location != operator 2022-04-23 11:50:43 +02:00
ReinforceZwei
17dbe10ff3 Settings: Make Microsoft as default account type 2022-04-06 18:24:49 +02:00
泠辰
f77a06e8ec
Update and improve translation. (#1987) 2022-04-03 01:23:26 +08:00
Рома Данилов
7e2e90b9f2
Updated Russian Language (#1985)
* Updated Russian Language
Removed bad spaces
Удалены лишние пробелы
* Update ru.ini
* Update MinecraftClient/Resources/lang/ru.ini
2022-04-02 18:28:05 +02:00
tobycm
cec770da56
Add a portion of Vietnamese translation (#1982)
* Create vi.ini
Vietnamese language translate
* Add more translation
* Add translation to README file
2022-04-01 23:18:10 +02:00
Leon Heuer
a202f31aaf
Update version to 1.18.2 (#1961) 2022-03-21 23:29:16 +01:00
Marko von Oppen
8795aab810
Add command to disable Gravity (#1955)
Allow disabling gravity (flying) for servers that allow this.
/move gravity: show gravity handling status
/move gravity on: enable gravity handling (falling)
/move gravity off: disable gravity handling (flying)

Co-authored-by: ORelio <ORelio@users.noreply.github.com>
2022-03-06 19:37:27 +01:00
LesterLian
288994aeec
Chinese Translation Improvement (#1959) 2022-03-06 23:22:37 +08:00
Dusan Milutinovic
a5848f637b Fixed a crash on older versions 2022-02-13 15:00:32 +01:00
Dusan Milutinovic
61a682a69b Added Entity, Item and Block palletes for 1.17/1 and 1.18/1. Added pallete generators as a command line option. Fixed a minor warning with AttackBot 2022-02-13 01:10:10 +01:00
ReinforceZwei
cc75db7070
MSA: Disable refresh token for MCC signin method (#1925)
* MSA: Change classes to static class

* MSA: Disable refresh token for MCC sign method
2022-02-05 13:07:15 +08:00
ORelio
ed452cf632 Realms API: Handle HTTP request failure (#1921) 2022-01-31 20:56:39 +01:00
Daenges
095c9cf137
Fix quote detection in /setrnd (#1915)
* Fix quote detection in /setrnd
Before the function crashed when entering quoted strings.
* Fix indentation
* Fix out of array error
2022-01-24 16:15:44 +01:00
Daenges
bbe000b640
Fix /move crash and /setrnd (#1914)
* Fix /move crash
* Fix substring cutting in SetRnd
2022-01-23 21:31:44 +01:00
goldenlib
223db4af6a
Add French translation (#1896)
Also minor imprivements to English translation
Co-authored-by: ORelio <ORelio@users.noreply.github.com>
2022-01-16 11:43:57 +01:00
Daenges
95378dca8e
Automatic sugar cane farming (#1882)
* Automatic sugar cane farming

Inspired by #1871 I wrote a script to farm a field of sugar cane fully autonomous.

* Implement suggestions

* Remove unused comment

* Remove comment and improve return value
2022-01-04 22:34:09 +08:00
Daenges
dd3fd3c9d2
Add "-f" to the /move command (#1874) 2021-12-29 22:34:40 +08:00
ORelio
259ef80cf9 Inventory: Select foreground container (#1875)
When several containers are open "/inventory container" will select
the container with highest ID (i.e. foreground container)
2021-12-28 11:15:11 +01:00
ReinforceZwei
25248025c2 Fix hyperlink in chat message cause crash
See #1850
2021-12-24 11:57:27 +08:00
Archer57
2858e0cbb7
Added docker-compose configuration (#1855)
* Fixed some spelling and typing mistakes

* Added docker-compose configuration

* Added docker-compose description to the user manual

* changed the default path of the mapped volume to a relative path
2021-12-19 11:49:02 +08:00
Archer57
5a56ae65b2
Fixed some spelling and typing mistakes (#1852) 2021-12-17 12:13:03 +08:00
ReinforceZwei
04d83bf277 SessionCache: Add backward compatibility for old session file 2021-12-17 09:29:24 +08:00
ReinforceZwei
4b8ca158a8
Microsoft Sign-in: Add refresh token support (#1838) 2021-12-16 15:53:31 +08:00
ReinforceZwei
e68a51dcff Move parseCommandLine method to command class 2021-12-15 21:25:24 +08:00
Daenges
381b8ea7d1
Add setrnd command (#1846)
* Add setrnd command

* Make rand private

* Add console-like argument behaviour

* Remove unused using declarations

* Add german and english translations

* Improve translation, Add notice to config README, Add check wheather arguments are provided

* Add some comments

* Remove typo

* Add %player% constant to setrnd

* Remove test variable and add comments

* Remove typo

* Reverse changes

* Remove translations
2021-12-15 18:51:16 +08:00
ReinforceZwei
333358c73b
Fix respawn packet (#1848) 2021-12-11 21:06:17 +08:00
ReinforceZwei
bdcf3e5aa2
Update version to 1.18.1 (#1845) 2021-12-10 22:15:00 +08:00
ReinforceZwei
fdc3069083
Microsoft Sign-in: Migrate to our own client Id (#1827)
* Microsoft Sign-in: Migrate to our own client Id

- Drop support of "mcc" sign-in method
- Add nuget packages for decoding JWT

* Remove JWT nuget package

* Remove client secret

It is not needed after changing application type in Azure

* Change token validation method to expiration time

* Revert changes of dropping mcc sign-in method

* Add email pre-fill for browser sign-in
2021-12-04 19:15:58 +08:00