ReinforceZwei
0c3f774c07
Fix interact entity not being correctly implemented 1.16+
2020-11-02 19:01:23 +01:00
ORelio
d3f150ba12
Allow force-enabling Forge support for 1.13+ ( #1184 )
...
Skip login step and join even when forge info is missing in server info.
However, this only works for 1.13+. Server info retrieval is required
for enabling Forge support on older Minecraft versions.
2020-10-18 13:09:49 +02:00
ReinforceZwei
2017d5d652
Add support of language files ( #1273 )
...
* Basic support of language file
Only mapped main part of MCC.
* Translations function imporve
* Change translation file naming
* Fix default translation file naming
* Complete translation file mapping for main part
Command and ChatBot not done yet
* Complete translation mapping for commands
Except Entitycmd
* Complete translation mapping for ChatBots
* Add new method for replacing translation key
Just for Entitycmd. Be proud of yourself. We have a convenient method now.
* Complete all translation mapping
* Add default config and translation file to resource
* Remove untranslatable messages from default translation file
2020-10-17 13:41:31 +02:00
Amber Alex
0c88c18ea0
Change color of "feature not handled" from gray to red ( #1265 )
...
Changing the color for the "terrain/inventories/entities not handled for that version" message from gray to red.
2020-09-26 16:09:34 +02:00
ReinforceZwei
c97f6f1945
Fix mistake made in upgrading 1.16.3
2020-09-14 19:05:45 +02:00
ReinforceZwei
9bfb2bf6c7
Update supported version to 1.16.3
...
Nothing got changed in 1.16.3
2020-09-11 23:00:48 +02:00
ReinforceZwei
7e20e409a8
Add support for creating replay mod capture files ( #1246 )
...
* Add test replay handler
* Fix incorrect built raw packet
* Fix incorrect built raw packet
* Add filter
* Add not working zip lib
* Add dotNetZip lib and complete basic function
* Update ReplayHandler.cs
* Complete Replay handler
Without client player handling
* Complete replay mod
- New ChatBot OnNetworkPacket event
* Add auto-backup and command for Replay Mod
* Add ReplayMod description to readme
* Small naming changes, fix compile error on .NET4.0
* ReplayHandler slight optimizations
Use Path.Combine to automatically use Windows '\' or Linux '/'
Move re-usable common parts outside the Replay handler
Small optimizations in building JSON strings
Co-authored-by: ORelio <oreliogitantispam.l0gin@spamgourmet.com>
2020-09-06 21:51:42 +02:00
ReinforceZwei
2649e61a88
Fix 1.13 packet palette duplicated packet type
2020-08-27 19:33:08 +02:00
ReinforceZwei
3434d95b81
Add packet palettes ( #1236 )
...
* Add packet type palette
* Fix
* test new palette
* Fix 1.16.2 palette
* Add packet ID dumper
* Add document
* Update naming
* Delete old implementation of packet type
* Rename PacketTypeHandler to PacketType18Handler
* Fix packet type namespace
* Add dump to file method for packet type
* Rename packet palette version number
* Replace unknown packet type to explicit type name
Prevent duplicated key while creating reverse mapping
* Include packets ID in packet palette
Add packet palette helper class
* Remove packet ID dumper methods
As packets ID are included in source code now
2020-08-26 19:19:59 +02:00
ReinforceZwei
9b8213eca5
Fix metadata optional blockID type
2020-08-25 20:43:37 +02:00
Рома Данилов
017d9b1840
Crash Fix, add Respawn method ( #1227 )
...
* Crashes Fix
* Add Respawn
* Crashes Fix
* Update McClient.cs
* Update McClient.cs
* Fix Air item count to 0
2020-08-22 11:17:31 +02:00
Рома Данилов
c2e2e85063
Add Entity.Item, Entity.CustomName, OnEntityMetadata event ( #1222 )
...
* Add New Event
* new Event
* Add OnEntityMetadaTa
* Update ChatBot.cs
* Update Protocol18.cs
* Update Entity.cs
* EntityCMD Update
* Update IMinecraftComHandler.cs
* Update Protocol18.cs
* Update IMinecraftComHandler.cs
* Update McClient.cs
* Update IMinecraftComHandler.cs
* Update McClient.cs
* Update McClient.cs
* Update McClient.cs
* Update McClient.cs
* Update ChatBot.cs
* Update McClient.cs
* Update Entity.cs
* Create EntityPose.cs
* Update MinecraftClient.csproj
* Update McClient.cs
* Update EntityPose.cs
* Update Entity.cs
* Update McClient.cs
* Remove debug line
* Update Entitycmd.cs
* Update Entity.cs
* Update McClient.cs
* Update Entity.cs
* Update McClient.cs
* Update McClient.cs
* Update Entity.cs
* Update McClient.cs
* Update Entitycmd.cs
* Update Entitycmd.cs
* Update McClient.cs
* Update Entitycmd.cs
* Update Entitycmd.cs
* Update Entity.cs
* Update McClient.cs
* Update Entitycmd.cs
* Update Entitycmd.cs
* Update Entitycmd.cs
* Update Entitycmd.cs
* Update Entitycmd.cs
* Update Entitycmd.cs
* Crash Fix on Item
* Crashes Fix
* Update McClient.cs
* Crashes fix
* Update McClient.cs
* Update Entity.cs
* Update Entity.cs
* Update McClient.cs
* Update McClient.cs
* Update McClient.cs
* Update McClient.cs
* Update McClient.cs
* Update McClient.cs
* Update McClient.cs
* Update ChatBot.cs
* Update IMinecraftComHandler.cs
* Update McClient.cs
* Update Protocol18.cs
* Update ChatBot.cs
* Update IMinecraftComHandler.cs
* Update Protocol18.cs
* Update McClient.cs
* Fix unaddressed issues
Co-authored-by: ORelio <oreliogitantispam.l0gin@spamgourmet.com>
2020-08-20 18:36:50 +02:00
ReinforceZwei
6bbb7236e3
Add support for Minecraft 1.16.2 ( #1214 )
...
* Implement MC version 1.16.2 basic support
All packets ID update done
Tested in 1.16.2 craftbukkit server
* Implement MC 1.16.2 entity handling
New EntityPalette
* Add back protocol version checking for entity handling
Was removed during testing and forgot to add it back
* Implement inventory handling for MC 1.16+
Item ID got changed in 1.16+ so a palette is needed.
* Fix ChangeSlot command
What a joke
* Handle 1.16 new entity properties name
Convert new naming style to old style
* Revert "Handle 1.16 new entity properties name"
This reverts commit 52c7d29062 .
* Update AutoAttack to use the new entity properties key
* Fix item type to ID conversion
* Sort item types by name
* Remove ZombiePigmanSpawnEgg
User ZombifiedPiglinSpawnEgg instead (new name for same item)
* Add missing 1.16.2 version strings
* Remove old ItemTypeGenerator
* Sort entity types by name
* Palette loading, instructions, NotImplemented err
Co-authored-by: ORelio <ORelio@users.noreply.github.com>
2020-08-17 17:08:50 +02:00
ReinforceZwei
08db87e5f6
Fix 1.16 entity metadata and equipment ( #1211 )
...
* Fix 1.16 Entity Equipment
* Fix #1209
Rename variable to meet naming rule
* Remove key checking
* Revert "Fix 1.16 Entity Equipment"
This reverts commit 6c46fc3ba4 .
* Remove comment related to `data[key] = value`
Comment is not needed anymore as the value is set or overwritten automatically (no catch)
2020-08-17 11:43:10 +02:00
ReinforceZwei
2c8ec4aa4a
Implemented entity metadata to keep track of entity health ( #1205 )
...
* Implement entity metadata protocol handling
* Add health information for entity
* Make AutoAttack check entity health
* LivingEntity: Default health is 1.0 as per https://wiki.vg/Entity_metadata#Living_Entity
* Fix entity metadata for lower MC versions
* Fix commit 888297d (1.0f instead of 1.0)
* Add OnEntityHealth ChatBot event (Remove protocol-dependant stuff from McClient (undo part of 85c32b9 ))
* Remove OnEntityMetadata in favor of OnEntityHealth
Co-authored-by: ORelio <ORelio@users.noreply.github.com>
2020-08-15 15:32:46 +02:00
ReinforceZwei
526dabd1e7
Implement inventory mouse item dragging ( #1208 )
...
* Implement inventory mouse item dragging
* SendWindowAction: Format switch/align statements
* Document window action types
Co-authored-by: ORelio <ORelio@users.noreply.github.com>
2020-08-15 14:17:18 +02:00
ORelio
c3ace103c6
Fix crash on MC 1.7 update score ( #1199 )
2020-08-13 23:05:23 +02:00
ORelio
59981c785b
Fix crash on MC 1.7 chat message ( #1199 )
2020-08-12 22:05:48 +02:00
ReinforceZwei
e6d34c3cf1
Add entity handling for 1.10 to 1.12.2 ( #1195 )
...
* Fix entity type data type for 1.13 below
* Add entity handling for 1.10 to 1.12.2
* Update comments for EntityPalette113
2020-08-11 13:44:18 +02:00
ORelio
a28409043c
Implement Forge FML2 protocol (MC 1.13+) ( #1184 )
...
Forge uses a different handshake scheme in FML2 protocol.
This handshake scheme uses LoginPluginRequest/Response packets.
2020-08-11 12:52:38 +02:00
ORelio
294d85d5e1
Fix joining Forge servers without mods ( #1189 )
...
Regression from 74151097ff
2020-08-09 18:41:13 +02:00
ORelio
74151097ff
Implement FML2 mod list in server ping ( #1184 )
2020-08-08 22:08:38 +02:00
ORelio
24b3dac2a3
Show server ping json in debug messages ( #1184 )
2020-08-08 14:30:39 +02:00
ReinforceZwei
beebe506d1
Add Window Confirmation
2020-07-31 20:22:35 +02:00
ORelio
61ac5bb3d1
Small fixes for ( #1149 )
2020-07-29 21:40:16 +02:00
Dusan Milutinovic
a58e975630
Updated the protocol for 1.16/1.16.1. Fixed Auto Attack (Added a new field (sneaking) to the Interact Entity event (Only 1.16 and above)). Added Entity Pallete for 1.16/1.16.1.
2020-07-29 21:40:16 +02:00
ReinforceZwei
9137fa59e7
Complete inventory shift click
...
Complete item stacking mechanism for left click
2020-07-23 19:19:32 +02:00
ReinforceZwei
97d7325939
Finish AutoCraft core functional part
2020-07-23 19:19:32 +02:00
Рома Данилов
835df9b1fc
Add /entity cmd ( #1129 )
...
* Update MinecraftClient.csproj
* Create Entitycmd.cs
* Update MinecraftClient.csproj
* Update Protocol18PacketTypes.cs
* Update Protocol18PacketTypes.cs
2020-07-13 19:01:24 +02:00
ReinforceZwei
93b72eb83e
Complete inventory clicking mechanism
...
Update player inventory and opened container after clicking on slots
2020-07-06 13:02:42 +02:00
ORelio
855bdade0b
Fixes following pull requests ( #1101 , #1097 )
...
Fix coding style issues and compile errors
2020-07-04 11:12:27 +02:00
Рома Данилов
fb50b0d5cb
ChatBot API: OnScoreboardObjective, OnEntityEffect, OnUpdateScore, EntityInteract, Hand list ( #1097 )
...
* Create Effect.cs
* Rename Effect.cs to Effects.cs
* Update MinecraftClient.csproj
* Update Effects.cs
* Update Effects.cs
* add EntityEffect
* Update McClient.cs
* Update Protocol18.cs + EntityEffect
* Update IMinecraftComHandler.cs
* Update Protocol18PacketTypes.cs + EntityEffect
* Update ChatBot.cs + OnEntityEquipment
* Update PacketIncomingType.cs + ScoreboardObjective
* Update Protocol18PacketTypes.cs
* Update Protocol18.cs
* Update IMinecraftComHandler.cs + OnScoreboardObjective
* Update McClient.cs + OnScoreboardObjective
* Update ChatBot.cs + OnScoreboardObjective event
* Update Protocol18.cs: fix scoreboard
* Update McClient.cs
* Update ChatBot.cs
* Update PacketIncomingType.cs
* Update ChatBot.cs + OnUpdateScore
* Update McClient.cs + OnUpdateScore
* Update IMinecraftComHandler.cs + OnUpdateScore
* Update Protocol18.cs
* Update Protocol18PacketTypes.cs
* Update Protocol18.cs + fix micro lags
* Update Protocol18.cs
* Update Protocol18.cs
* Update Protocol18.cs
* Update Protocol16.cs
* Update Protocol18.cs
* Update McClient.cs
* Update IMinecraftCom.cs
* Update McClient.cs
* Update McClient.cs
* Update McClient.cs
* Update ChatBot.cs + GetEntities()
* Create Hand.cs
* Update MinecraftClient.csproj
* Update McClient.cs
* Update ChatBot.cs
* Update Protocol18.cs
* Update ChatBot.cs
* Update ChatBot.cs
* Update ChatBot.cs
* Update ChatBot.cs
* Update ChatBot.cs: fix
* Update AutoAttack.cs: Fix
* Update McClient.cs: compile fix
* Update ChatBot.cs
* Update AutoAttack.cs
* Update ChatBot.cs
* Update Protocol18.cs
* Update IMinecraftComHandler.cs
* Update McClient.cs
* Update ChatBot.cs
* Update Protocol18.cs
* Update IMinecraftComHandler.cs
* Update ChatBot.cs
* Update McClient.cs
* Update McClient.cs: remove check distance
* Update EntityActionType.cs: more actions
* Create CommandBlockMode.cs
* Create CommandBlockFlags.cs
* Update IMinecraftCom.cs
* Update McClient.cs
* Update ChatBot.cs
* Update Protocol18.cs
* Update Protocol16.cs
* Update PacketOutgoingType.cs
* Update Protocol18PacketTypes.cs
* Update Protocol18.cs
2020-07-04 10:45:51 +02:00
ORelio
8b208c5520
Fix indenting in Protocol18.cs
2020-06-30 23:05:00 +02:00
ORelio
62745c1565
Fix check
2020-06-29 22:33:36 +02:00
ORelio
213c9ffc05
Fix compilation errors
2020-06-29 22:15:56 +02:00
ORelio
ff9ba2f2bb
Fix indentation level, 4
2020-06-29 22:04:32 +02:00
ORelio
2dfc08b45b
Fix indentation level, 3
2020-06-29 21:59:04 +02:00
ORelio
2752e0d21b
Fix indentation level, 2
2020-06-29 21:54:12 +02:00
ORelio
04fda88149
Attempt to fix indentation level
2020-06-29 21:52:17 +02:00
Bas950
627ad5aaf1
Remove VarIntArray because I cannot read wiki's correctly xD
2020-06-29 16:16:22 +02:00
Bas950
424eab29dd
Join Game and Respawn encoding/decoding & added ReadNextVarIntArray
2020-06-29 16:05:12 +02:00
Bas950
e0aba29b7a
Revert "Revert " ♻️ Undo Terrain Handling update""
...
This reverts commit 2d2b1e95cb .
2020-06-28 02:17:11 +02:00
Bas950
2d2b1e95cb
Revert " ♻️ Undo Terrain Handling update"
...
This reverts commit eb891cc91f .
2020-06-28 02:16:01 +02:00
Bas950
eb891cc91f
♻️ Undo Terrain Handling update
2020-06-28 02:15:54 +02:00
Bas950
d06f14d055
✨ Added 1.16(.1) support
2020-06-27 16:48:46 +02:00
ORelio
4cc29a6ee6
Adjust dig block API
...
Attempt to automate dig start and dig complete (#1077 )
2020-06-20 21:30:26 +02:00
ORelio
6df5076d19
DigBlock/PlaceBlock: Use Direction enum
...
Still work in progress (#1071 )
2020-06-20 16:07:59 +02:00
ORelio
f30dc4464c
Reorganize methods in McClient.cs
...
Tyding up the class as it is becoming quite large
2020-06-20 15:18:35 +02:00
Рома Данилов
b52435f0ce
Implement OnMapData, OnTitle, UpdateSign, OnEntityEquipment, Useblock ( #1071 )
...
* + Fix null PlayerInventory
+ Fix null PlayerInventory
* Update Protocol18.cs
* Update McTcpClient.cs
+ Fix https://github.com/ORelio/Minecraft-Console-Client/issues/1022
* Update Protocol18.cs
+ MapData
* Update PacketIncomingType.cs
+ MapData
* Update Protocol18PacketTypes.cs
* Update IMinecraftComHandler.cs
+ OnMapData
* Update McTcpClient.cs
+ OnMapData
* Update ChatBot.cs
+ OnMapData
* Update Protocol18.cs
* Update Protocol18PacketTypes.cs
+ Fix
* Update PacketIncomingType.cs
+ Title
* Update Protocol18PacketTypes.cs
* Update Protocol18.cs
* Update IMinecraftComHandler.cs
+ OnTitle
* Update McTcpClient.cs
* Update ChatBot.cs
+ OnTitle
* Update Protocol18.cs
Fix
* Update IMinecraftComHandler.cs
* Update McTcpClient.cs
* add ClearInventories()
* add ClearInventories()
* Update McTcpClient.cs
+ OnTitle
* Preparing to Add BlockAction
* Update PacketOutgoingType.cs
* Update PacketOutgoingType.cs
* Update Protocol18.cs
+ SendUpdateSign
* Update Protocol16.cs
+ SendUpdateSign
* Update IMinecraftCom.cs
+ SendUpdateSign
* Update McTcpClient.cs
+ UpdateSign
* Update ChatBot.cs
+ UpdateSign
* Update McTcpClient.cs
Update PlaceBlock
* Update ChatBot.cs
* Update McTcpClient.cs
* add SendCreativeInventoryAction nbt
add SendCreativeInventoryAction nbt
* Update Protocol18.cs
* Update Protocol16.cs
* Update McTcpClient.cs
* Update ChatBot.cs
* Update Inventory.cs
* Update Protocol18PacketTypes.cs
* Update PacketIncomingType.cs
* Update Protocol18PacketTypes.cs
* Update Protocol18PacketTypes.cs
Fix
* Update Protocol18PacketTypes.cs
Fix
* Update IMinecraftComHandler.cs
* Update IMinecraftComHandler.cs
* Update ChatBot.cs
* Update McTcpClient.cs
+ OnEntityEquipment
* Update Protocol18.cs
* Update McTcpClient.cs
* Update McTcpClient.cs
* Update McTcpClient.cs
* Update ChatBot.cs
* Update McTcpClient.cs
* Update McTcpClient.cs
* Update ChatBot.cs
* Update McTcpClient.cs
* Update McTcpClient.cs
* Update ChatBot.cs
* Update McTcpClient.cs
* Update McTcpClient.cs
* Update Protocol18.cs
* Update McTcpClient.cs
* Update ChatBot.cs
* Update ChatBot.cs
* Update McTcpClient.cs
* Update McTcpClient.cs
* Update McTcpClient.cs
* Update Protocol18.cs
* Create Useblock.cs
* Update MinecraftClient.csproj
* Update McTcpClient.cs
2020-06-20 14:57:07 +02:00
ORelio
09bfe92071
Fix Miner/Farmer addon scripts ( #1047 )
2020-06-13 23:47:53 +02:00