Commit graph

475 commits

Author SHA1 Message Date
Anon
c9c16818a4 Added item Mappings for 1.10 2024-03-12 13:49:47 +01:00
Anon
221d5948e2 Added Item mappings for 1.12 2024-03-12 13:28:17 +01:00
Anon
a19a91e37f Added Item palette for 1.9 2024-03-12 12:58:29 +01:00
Anon
6891d446a5 Added 1.8 Item Mappings and Support 2024-03-12 11:15:05 +01:00
oldkingOK
4bb25c377e feat(DeclareCommands.cs): Add 1.20.3+ version check 2024-03-10 12:03:07 +08:00
oldkingOK
79910b50f7
Merge branch 'MCCTeam:master' into forge-cmds 2024-03-10 08:07:01 +08:00
Anon
e2b6dc27c8
[skipci]Forge Code Cleanup
Optimize code and edit comments
2024-03-05 22:50:06 +01:00
Anon
ecc88fac06 Fixed a crash on Entity Metadata 2024-02-25 16:11:33 +01:00
Anon
3522a16b0d Removed a comment 2024-02-21 17:40:39 +01:00
Anon
13de67b6f8 Fixed a crash on chat parsing.
Returned the commended try catch block.
2024-02-21 17:38:32 +01:00
oldkingOK
8e1822b0d2 feat(DeclareCommands.cs): Remove 1.20.2+ version check 2024-02-21 10:10:03 +08:00
oldkingOK
8be66daab1 fix(Protocol18Forge.cs): Version bigger or equal 1.18 is FML3 2024-02-20 22:23:46 +08:00
oldkingOK
092854532a docs(Protocol18Forge.cs): Move comment to mechod head 2024-02-20 22:22:11 +08:00
oldkingOK
6949276779 docs(Protocol18Forge.cs): Replace code with packet definition 2024-02-20 22:13:10 +08:00
oldkingOK
970ba19172 refactor(ForgeInfo.cs): Remove unused code and edit comments 2024-02-20 22:02:22 +08:00
oldkingOK
576575ff65 refactor(DeclareCommands.cs): Move forge to switch version block 2024-02-20 20:22:37 +08:00
oldkingOK
e569ffe0cc fix: IndexOutOfRange on packet reading (Forge)
Add two missing forge Command Packet Parsers, which won't affect the vanilla parsers.
The ids of the two Command Packet Parsers `forge:enum` and `forge:modid` [Forge once added in order](19f8d2a793/src/main/java/net/minecraftforge/common/ForgeMod.java (L175)) are the maximum value of the Vanilla Parser id plus 1 or plus 2. `forge:enum` has a [String Type argument](https://wiki.vg/Command_Data#forge:enum).
The specific id is from [wiki.vg](https://wiki.vg/Command_Data) or Forge-generated minecraft source code.
2024-02-20 15:37:57 +08:00
Anon
3fab7eb78f Fixed a crash with Reconfiguration... screen 2024-02-18 18:54:45 +01:00
Anon
d7e898c6d4 Fixed crashing on Reconfiguration... screen phase 2024-02-18 18:44:36 +01:00
Anon
35cfd4a7db Fixed a NBT crash < 1.20.2 and Fixed a crash with parsing 'extra' section in Chat 2024-02-18 17:56:02 +01:00
ReinforceZwei
4546e6946e 1.20.4: Update entity, item and block palette 2024-02-11 18:13:48 +08:00
ReinforceZwei
a9f1ad4433 1.20.3: Update chat parser to parse new NBT format 2024-02-04 18:14:09 +08:00
Anon
975aab88e3 NBT Changes, needs fixing 2024-01-31 13:53:09 +01:00
Anon
790e0bfe55 Implemented 1.20.3 2024-01-30 12:51:47 +01:00
oldkingOK
350c1cdd51 fix(Protocol18.cs): OperationCanceledException when /reco 2024-01-30 11:22:37 +08:00
Anon
4f89e4fe36 Fixed a crash on non 1.20.2 versions 2024-01-29 22:40:17 +01:00
Anon
e13ba93f47 Added Configuration Packets mapping 2024-01-29 15:39:39 +01:00
Anon
f325dd7475 Fixed bad code and the bug 2024-01-28 21:56:06 +01:00
Peaches_MLG
88bca839f7 boink 2024-01-28 01:27:16 +00:00
oldkingOK
8eee50044f Edit outdated links in comments and add FML3 stuff
Add FML3 extra packetID 5 and 6 recognition based on
https://github.com/MinecraftForge/MinecraftForge/blob/1.18.x/src/main/java/net/minecraftforge/network/NetworkInitialization.java

Changed the way of selecting FML version for "Force Forge" from forced FML3 to game version based.
MC 1.12 and lower: FML, MC 1.13 to 1.17: FML2, MC 1.18 and greater: FML3

Edit outdated links in comments:
Accessing the link below will result in a message that the file cannot be found
https://github.com/MinecraftForge/MinecraftForge/blob/master/src/main/java/net/minecraftforge/fml/network/FMLNetworkConstants.java
Presumably it's version 1.13 based on the original commit and issue, then change to
https://github.com/MinecraftForge/MinecraftForge/blob/1.13.x/src/main/java/net/minecraftforge/fml/network/FMLNetworkConstants.java
https://github.com/MCCTeam/Minecraft-Console-Client/issues/1184
2024-01-14 01:45:38 +08:00
oldkingOK
22cf7a046b 添加支持 Fml3 ,并暂时设置force forge时为fml3 2024-01-12 13:28:03 +08:00
Anon
480f0d85f0 Fixed merge conflicts 2023-12-02 13:34:11 +01:00
mcflurrybaby
e19de8eb0b refactored session checks for better readability 2023-12-02 13:15:46 +02:00
mcflurrybaby
ceff78a821 Restore ability to login with microsoft broken after yggdrasil login implementation 2023-12-02 12:39:52 +02:00
Anon
2fb5c163d5 Formatting 2023-11-27 00:03:20 +01:00
Anon
0ad892ef50 Chunk Batch error should be fixed now 2023-11-27 00:00:57 +01:00
Anon
549f39fab1 Fixed division with a 0 error 2023-11-25 14:02:06 +01:00
Polaris_Light
a08bfca4e5
Merge branch 'master' into master 2023-11-25 17:23:06 +08:00
Anon
782481816d Implemented TabListHeaderAndFooter packet 2023-11-20 18:08:09 +01:00
Anon
93112d2c02 Implemented 1.20.2 fully, needs more testing 2023-11-17 18:21:57 +01:00
Polaris_Light
a97096cddf ImplPlayerSection 2023-11-16 00:04:56 +08:00
Anon
4f957cee7e 1.20.2 Implementation, not tested 2023-11-15 15:42:27 +01:00
Polaris_Light
3c97193b70 AddYggdrasilLogin 2023-11-12 21:04:20 +08:00
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
Anon
599c6aac09 Fixed entity object data not being read, this should fix the Auto Fishing bot 2023-05-10 19:07:42 +02:00