Commit graph

572 commits

Author SHA1 Message Date
ReinforceZwei
aaf6dca522 Add drop item for inventory 2020-05-24 14:44:33 +02:00
ReinforceZwei
902527502e start implement 2020-05-24 14:44:33 +02:00
ReinforceZwei
d6022d1ee9 Rename ClickWindow to WindowAction 2020-05-24 14:44:33 +02:00
ReinforceZwei
1e5b9fc94b Implement middle click 2020-05-24 14:44:33 +02:00
ReinforceZwei
02d393fe4d Small fixes 2020-05-24 14:44:33 +02:00
ReinforceZwei
4f96aa2081 Implement inventory right click 2020-05-24 14:44:33 +02:00
ReinforceZwei
5da55a2f9a tiny improve of sneak command 2020-05-23 18:07:19 +02:00
ReinforceZwei
d6a3ea0726 Fix EntityAction packet ID and tiny improve of sneak command 2020-05-23 18:07:19 +02:00
Reinforce Zwei
cdb217840d Remove unused using 2020-05-22 17:30:02 +02:00
Reinforce Zwei
06ed5c0a45 Fix #1006 2020-05-22 17:30:02 +02:00
5tanly
a018304f99
Strip Minecraft Color Codes (§) in BasicIO-NoColor mode (#995)
Strip Minecraft color codes and formatting (§) if in BasicIO mode by using BasicIO-NoColor.
2020-05-14 19:36:56 +02:00
CarbonNeuron
5a0f106884 Get Rid of AutoLook setting. 2020-05-03 11:23:41 -05:00
CarbonNeuron
04068cdb24 Return False for unimplemented actions 2020-05-03 11:22:41 -05:00
CarbonNeuron
0cd7f2043b Rename Action to EntityActionType, Apply Rename refactoring. 2020-05-03 11:21:34 -05:00
CarbonNeuron
222a552c88 Rename TSneak to Sneak 2020-05-03 11:19:22 -05:00
CarbonNeuron
5fdbff94c7 Rename Result to result to be compliant. 2020-05-03 11:18:18 -05:00
CarbonNeuron
bb5ea0280a Get rid of String interpolation, replace with string format. 2020-05-03 10:56:55 -05:00
CarbonNeuron
2fdb89c11a Change OnlyInternal to OnlyInternalCommands 2020-05-03 10:55:55 -05:00
CarbonNeuron
a78623bf84 Rename SendAction to SendEntityAction in ChatBot.cs 2020-05-03 10:52:58 -05:00
CarbonNeuron
add1dd2dcd Merge Unseak and sneak into one function 2020-05-03 10:51:50 -05:00
CarbonNeuron
c5a19f4b8b Get rid of UseItemOnHand in using chatbots, replace with UseItemInHand 2020-05-03 10:49:51 -05:00
CarbonNeuron
7207a9ea0e Get rid of UseItemOnHand, in ChatBot.cs, function called UseItemInHand already does this (Same function). 2020-05-03 10:48:02 -05:00
CarbonNeuron
799bc814c5 Add Chatbot API for Sneaking / Unsneaking without using SendAction 2020-05-02 03:55:23 -05:00
CarbonNeuron
b2075bb811 Add Chatbot API for accessing SendAction for things like Shift/Unshift 2020-05-02 03:53:39 -05:00
CarbonNeuron
89c97c794c Add Chatbot API for accessing Using Hand and changing slot 2020-05-02 03:52:17 -05:00
CarbonNeuron
2fb4a91252 Fix the PacketID on 1.13.2 2020-05-01 11:47:00 -05:00
CarbonNeuron
8b57b657e6 Add ChatBot methods to get inventories. 2020-05-01 10:52:43 -05:00
CarbonNeuron
02ebf067b9 Add Internal command logging. 2020-05-01 09:37:15 -05:00
CarbonNeuron
3e11d89ffd Merge branch 'master' into Staging 2020-05-01 09:29:41 -05:00
CarbonNeuron
cd3b6a0845 Add the EntityAction Outgoing type. 2020-05-01 09:28:33 -05:00
CarbonNeuron
ff92aeab85 Add some features of command logging 2020-05-01 09:26:51 -05:00
CarbonNeuron
16959d6e65 Remove AutoLook.cs Chatbot because it is not in main project. Also removes it in McTcpClient.cs, and gets rid of the Settings.cs and Default paramaters. 2020-05-01 09:02:15 -05:00
CarbonNeuron
384c804e54 Added Entity Action handling, and A TSneak command that will Toggle Sneak. 2020-05-01 08:28:22 -05:00
ORelio
9dae40153c Implement pull request #982
LookAtLocation and AutoLook
2020-05-01 14:02:23 +02:00
ORelio
c2dc483d36 Add /inventory player and /inventory container
Allow interacting with an inventory without specifying an ID
Useful for automated interactions when container has in incremental ID
Eg. /inventory container click 1
See #981
2020-05-01 13:41:26 +02:00
CarbonNeuron
2f1b99c064 Added UUID initializers for the functions that support it in McTcpClient.cs, Also Fixed some redundant Object creation. 2020-04-30 23:40:07 +02:00
CarbonNeuron
1c2e4ab6d8 Added UUID to spawning players. And UUID property to Entity.cs 2020-04-30 23:40:07 +02:00
ORelio
116efc5e78 Add additional error messages on login failures
See #976
2020-04-30 17:37:57 +02:00
OverHash
770a82e2d2 Check player is in range each entity attack
This commit should make it so that MCC will check that the player is in range before attacking entities each iteration of the cooldown.

This was problematic before, because, if the entities were still they would be added to the attack list, and then if they stayed still and the client teleported away, it would still attempt to attack the entities, even though it is now out of range.
2020-04-27 18:35:59 +02:00
ORelio
7f1ad036b1 AutoAttack coding style fixes 2020-04-27 18:35:59 +02:00
OverHash
83852511bc Don't attack entities whilst dead
MCC will now not attempt to attack entities if the client is dead
2020-04-27 18:35:59 +02:00
OverHash
a378089f1b Clean AutoAttack
A lot of this code is messy and has unused variables. Additionally, there are memory leaks as dead entities are not removed from meory.
2020-04-27 18:35:59 +02:00
CarbonNeuron
26a7db6f39 Fix "Failed to check session cache" Add range between 200-300 2020-04-19 17:09:11 +02:00
CarbonNeuron
3799d2062f Fix "Failed to check session cache" 2020-04-19 17:09:11 +02:00
CarbonNeuron
52248d1aba Fix "Failed to check session cache" 2020-04-19 17:09:11 +02:00
ORelio
e4cae97dd7 ConsoleIO: Rewrite backspace handling
Manually move the cursor instead of using the backspace character.
Should help when deleting characters requiring multiple keypresses
like Chinese characters. Fix attempt for #941
2020-04-15 14:54:36 +02:00
ReinforceZwei
0acb17e105 Make AutoEat not to use Threading 2020-04-13 17:49:24 +02:00
ReinforceZwei
3e76baeeb1 Fix AutoAttack stop working with AutoEat enabled and no food on hotbar
#934
2020-04-13 17:49:24 +02:00
ReinforceZwei
8e32c3747c Revert "Improve AutoEat"
This reverts commit 51f54979da.
2020-04-13 17:49:24 +02:00
ReinforceZwei
e9d91ce572 Improve AutoEat 2020-04-13 17:49:24 +02:00