Commit graph

218 commits

Author SHA1 Message Date
ReinforceZwei
2e1e79bcef Add AutoEat
#923
2020-04-09 20:50:34 +02:00
ORelio
80ae600b39 Reset action number on inventory close
Fix for #928
2020-04-06 23:52:52 +02:00
ReinforceZwei
bf86259b4b Rename command Status to Health 2020-04-04 15:39:05 +02:00
ReinforceZwei
975e6d4daa Add command to check player health and saturation 2020-04-04 15:39:05 +02:00
ORelio
fe020c74c7 Catch exceptions from ChatBots for new API events 2020-04-02 23:31:00 +02:00
ORelio
c5b0f447c9 AutoRelog: Allow any kick message
Set ignorekickmessage=true in config
See issues #880 #921
2020-04-02 18:27:18 +02:00
ORelio
dbe02c063c Inventory handling improvements
Fix click issue for item with NBT
Show custom display names in inventory
See issues #910 #912 #914
2020-04-01 22:05:44 +02:00
ORelio
b01c50b792 Improve logging, auto respawn
See discussion in GitHub issue #918
2020-04-01 21:15:35 +02:00
ReinforceZwei
e93f03bd4e Add auto repsawn if player was dead 2020-04-01 20:53:40 +02:00
ReinforceZwei
ddcc9ee8e6 Fix EntityHandling not disabled when version unsupported 2020-03-31 15:40:41 +02:00
ReinforceZwei
ef9064c91e Fix EntityHandling not disabled when version unsupported 2020-03-31 15:40:41 +02:00
ReinforceZwei
5d0172a1f9 Fix Console Client crashes when using the /inventory click command
issues #912
2020-03-31 11:06:59 +02:00
ORelio
e04f06cece Interact with inventories
The /inventory command allow listing inventory and clicking on items
Should be enough for operating GUI menus such as Server chooser/teleporter
2020-03-29 18:41:26 +02:00
ORelio
03023c8059 Fix unspecified Item slot ID
Item must have a slot ID when created
2020-03-28 17:56:19 +01:00
ORelio
6929ae236a Add code documentation for inventories 2020-03-28 15:01:08 +01:00
ORelio
195e162c7d Add code documentation, move and rename a few methods 2020-03-28 00:48:41 +01:00
ReinforceZwei
137855a71d Add GetShort() method in dataTypes 2020-03-27 13:10:37 +01:00
ReinforceZwei
311815be9f Fix backwards support for entity, inventory handling
Seems AutoAttack not work in 1.12.2
Entity handling currently only support 1.13 or higher
2020-03-27 13:10:37 +01:00
ReinforceZwei
13206614c4 Add inventory type convert 2020-03-27 13:10:37 +01:00
ReinforceZwei
e9613ad366 Delete Inventory related code from Protocol Namespace
New Inventory Handling have their own namespace Inventory
2020-03-27 13:10:37 +01:00
ReinforceZwei
bc449b404e Inventory handling 2020-03-27 13:10:37 +01:00
ReinforceZwei
4b08912407 Made Open Window to only parse packet before MC1.14 2020-03-24 19:23:59 +01:00
ReinforceZwei
364afdfc72 Update Inventory support version to 1.15.2 and Remove GetInventoryEnabled condition bypass 2020-03-24 19:23:59 +01:00
ReinforceZwei
dbf5334758 Moved Auto attack and auto fishing to ChatBots and added ChatBotAPI for entity handling 2020-03-24 19:23:59 +01:00
ReinforceZwei
8b8f3a719b Implemented basic player inventory items handle 2020-03-24 19:23:59 +01:00
ReinforceZwei
51d03b9ced Added basic auto fishing 2020-03-24 19:23:59 +01:00
ReinforceZwei
833de25110 auto attack added MC1.8-1.15 packet support 2020-03-24 19:23:59 +01:00
ReinforceZwei
fa51d9632d update to newest version 2020-03-24 19:23:59 +01:00
ReinforceZwei
6ee16513e0 Final code clean up and adding summary 2020-03-24 19:23:59 +01:00
ReinforceZwei
0b0e3c334e auto attack 2020-03-24 19:23:59 +01:00
ORelio
c19802725f Allow null NBT tag (#883, #752)
ReadNextNBT() now returns an empty dictionary if the NBT tag is 0x00
As per https://wiki.vg/Slot_Data 0x00 being a placeholder for "no NBT"
2020-03-08 14:29:06 +01:00
ORelio
981bae184a Fix GetLocation() endianness (#881) 2020-03-05 21:38:09 +01:00
ORelio
2e52bdea39 Fix SessionCache.ini (Mojang now uses JWT)
Session IDs from Mojang are now JWT instead of UUID
2020-03-01 19:59:35 +01:00
ORelio
9b9d4023bb Remind in config that inventory is not implemented yet 2020-02-11 21:33:22 +01:00
rvankammen
921ec5aaf5 Added the 1.15.2 protocol 2020-02-09 14:27:26 +01:00
Mhowser
7df98a96b5 Added 1.15.1 protocol 2019-12-25 10:12:18 +00:00
ORelio
aba2ec79d1 Add 1.15.1 (1/2) 2019-12-25 11:11:55 +01:00
ORelio
c6f00ce686 Add support for Minecraft 1.15
See #834
2019-12-14 14:22:24 +01:00
ORelio
94e96b11dd Better handling of SocketException variants
See #817
2019-12-08 21:44:25 +01:00
ORelio
96eda73dce Mark Terrain & Movement as supported for 1.14.4
See #794 #820 #822
2019-11-01 12:07:57 +01:00
Pokechu22
6ac3cd90ee Fix VarInt too big for player position and look 2019-10-29 19:53:28 +01:00
TheSnoozer
1f53845841 fix some doc strings 2019-10-03 09:48:40 +02:00
TheSnoozer
d4aa63d1d3 fix some doc strings 2019-10-03 09:46:08 +02:00
TheSnoozer
851f634fae https://github.com/ORelio/Minecraft-Console-Client/issues/811: report the raw packet data whenever we get a VarInt too big 2019-10-03 09:38:49 +02:00
ORelio
877e50579d Add connection timeout using server keepalives
Vanilla client will consider that connection has been lost
when no server keepalive was received during the last 30 seconds.
This commit implements a similar mechanism in MCC. See #802
2019-09-15 17:01:53 +02:00
ORelio
1406c00abd Fix SocketException causing InvalidDataException
See #788
2019-08-20 12:44:45 +02:00
0Jumpero
10790f2982 Changed the protocol version
I got the wrong protocol version previously. Got the right one from https://wiki.vg/Protocol_version_numbers for the live version on Minecraft
2019-07-20 20:40:57 +02:00
0Jumpero
84e790e9ce Add 1.14.4 support 2019-07-20 20:40:57 +02:00
Sheldon Rupp
81261c96f2 Add 1.14.3 support 2019-07-16 17:12:42 +02:00
ORelio
5b28179444 Auto-disable inventories when not supported
See #738
2019-05-30 11:34:08 +02:00