ReinforceZwei
073458f5f2
Improve inventory command output ( #1582 )
...
* Improve inventory command output
* Remove unused code
* Sort item list before printing
* Fix incorrect container slot count
* Update Container.IsHotbar method
2021-05-11 14:02:47 +08:00
ReinforceZwei
1cd7c098c3
Add command for dropping items from inventory ( #1581 )
...
* Add command for dropping items from inventory
* Allow other container to be used
2021-05-10 20:27:18 +02:00
ORelio
8aee0cb731
Fix Entity Z not correctly shown (2nd fix #1370 )
2020-12-12 22:48:21 +01:00
ORelio
372c59cdbc
Fix Entity location Z not correctly shown ( #1370 )
2020-12-07 19:01:32 +01: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
Рома Данилов
02e294e3e8
Fix entity handling crash ( #1241 )
...
Fix #1237
* Fix crash
* Update Entity.cs
* Update Entitycmd.cs
* Update McClient.cs
2020-08-27 19:33:45 +02:00
Рома Данилов
896cabb6ce
Improve /entity, add entity equipment and item lore ( #1238 )
...
* Update Entitycmd.cs
* Update Entitycmd.cs
* Update Entitycmd.cs
* Update Entitycmd.cs
* Update Entitycmd.cs
* Update Entitycmd.cs
* Update Entitycmd.cs
* Color fix
* Update Entitycmd.cs
* Update Entitycmd.cs
* Entities list CustomName fix
* Update Entity.cs
* Update McClient.cs
* Update Entity.cs
* Update Entity.cs
* Update Entitycmd.cs
* Crash fixes
* Update Entitycmd.cs
* Update McClient.cs
* Update Entitycmd.cs
* Remove extra space
* Space add
* Update Item.cs
* Update McClient.cs
* Update Entitycmd.cs
* Replace item slot if already set
2020-08-26 18:58:45 +02:00
ORelio
70c991cd30
Calulate dig range using eyes location ( #1228 )
2020-08-24 00:06:52 +02:00
ORelio
676c6a68a7
Allow digging up to 5 blocks away ( #1228 )
...
Current calculation was limiting to >= 4 blocks away, but vanilla Minecraft can dig up to 5 blocks away.
2020-08-23 20:35:54 +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
Рома Данилов
33781c5de5
Inventory: Show item Damage ( #1213 )
...
* /inventory add show item Damage
* Removing unnecessary using
* Upgrade
* Fix
* Update Inventory.cs
* add Damage
* Done
* Done, Fix
* Remove extra space, Fix documentation
2020-08-17 12:27:15 +02:00
ReinforceZwei
236e077e44
Add TPS command and improve the calculation of TPS ( #1210 )
...
* Add tps command
* Improve tps calculation and tps command
* Remove debug log line
* Improve if-else statement
2020-08-17 11:40:06 +02:00
ReinforceZwei
ca1e902307
Add help information for inventory command ( #1170 )
...
* Add help information for inventory command
* Change optional parameter representation
2020-08-03 14:13:07 +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
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
ORelio
2add4030f4
Rename McTcpClient to McClient for clarity
...
+ Fix compile error in #1071
2020-06-20 15:01:17 +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
Рома Данилов
87302bafab
Keep track of current game mode ( #1053 )
...
* GetGamemode()
* GetGamemode()
* ChangeGamemode()
* GetGamemode()
* Update ChatBot.cs
code refractor
* Update Inventory.cs
Gamemode check added
* Update Protocol18.cs
* Update Protocol18.cs
* Update Protocol18.cs
code refractor
* Update IMinecraftComHandler.cs
code refractor
* Update IMinecraftComHandler.cs
* Update McTcpClient.cs
fix
* Update McTcpClient.cs
fix
* Fix duplicate gamemode event
Co-authored-by: ORelio <oreliogitantispam.l0gin@spamgourmet.com>
2020-06-13 15:00:30 +02:00
Рома Данилов
cf9bc4c3d5
Add SendPlaceBlock, PlayerDigging, OnExplosion, OnGamemodeUpdate, OnSetExperience ( #1027 )
...
* Update ChatBot.cs
+ PlaceBlock
* Update AutoAttack.cs
+ HitAnimation
* Update PacketIncomingType.cs
+ Explosion,
* Update McTcpClient.cs
+ OnExplosion
* Update ChatBot.cs
+ OnExplosion
* Update IMinecraftComHandler.cs
+ OnExplosion
* Update Protocol18PacketTypes.cs
+ PacketIncomingType.Explosion
* Update ChatBot.cs
+ Fix
* Update AutoAttack.cs
+ Fix
* Update ChatBot.cs
+ Fix
* Update Protocol18PacketTypes.cs
+ Old versions
* Update Protocol18PacketTypes.cs
+ 1.7 - 1.8 Explosion ID
* Update Protocol18PacketTypes.cs
+ Fix
* Update McTcpClient.cs
+ int ExplosionRecordCount
* Update ChatBot.cs
+ recordcount
* Update IMinecraftComHandler.cs
+ ExplosionRecordCount
* Update Protocol18.cs
* Update CSharpRunner.cs
+ using MinecraftClient.Inventory;
* add OnGamemodeUpdate
+ OnGamemodeUpdate
* + OnGamemodeUpdate(playername, uuid, gamemode)
+ OnGamemodeUpdate
* Update Protocol18.cs
* Update IMinecraftComHandler.cs
* Update McTcpClient.cs
Fix
* Update McTcpClient.cs
* Update Protocol18.cs
+ Location explodelocation
* Update McTcpClient.cs
+ Location explode
* Update ChatBot.cs
+ Fix
* Update ChatBot.cs
Remove excess +
* Update Plays animation
* Improve documentation
* ItemType fix
* OnExplosion(Location explod);
* Update PacketIncomingType.cs add SetExperience,
* + Old versions
* Update IMinecraftComHandler.cs
* Update McTcpClient.cs
* Update Protocol18.cs
* add GetLevel & GetTotalExperience
* Fix
* add GetLevel & GetTotalExperience
* OnSetExpience
* Update ChatBot.cs
Fix
* Update McTcpClient.cs
+ bot.OnSetExperience
* Update Protocol18.cs
+ Fix
* Update McTcpClient.cs
+ PlayerDigging
* Update PacketOutgoingType.cs
+ PlayerDigging
* Update Protocol18PacketTypes.cs
+ case PacketOutgoingType.PlayerDigging
* Update Protocol18.cs
+ SendPlayerDigging
* Update IMinecraftCom.cs
+ SendPlayerDigging
* Update McTcpClient.cs
+ PlayerDigging
* Update Protocol16.cs
+ SendPlayerDigging
* Update ChatBot.cs
+ PlayerDigging
* Update ChatBot.cs
+ Fix
* Update McTcpClient.cs
+ Fix
* Update ChatBot.cs
Add WindowAction
* ChatBot.cs Fixes
* Further ChatBot.cs fixes
* Further ChatBot.cs fixes
* Protocol Handler fixes
* Protocol Handler fixes
* IMinecraftCom fixes
* documentation fixes
Co-authored-by: ORelio <oreliogitantispam.l0gin@spamgourmet.com>
2020-05-29 20:18:34 +02:00
ORelio
efb49fd05d
Improve documentation, fix file encoding ( #1026 )
2020-05-26 11:20:12 +02:00
Рома Данилов
87b2d3bf4a
new command /animation ( #1026 )
2020-05-26 11:02:09 +02:00
ORelio
23870711a0
Code refactoring (related to #1024 )
2020-05-25 21:39:24 +02:00
Рома Данилов
d120001d70
Add Entity.Name & /inventory 0 creative <slot> <itemtype> <count> ( #1024 )
...
* Update Program.cs
* Update Entity.cs
Add Entity.Name
* Update Program.cs
* Update Entity.cs
Add break;
* Update Entity.cs
* Update Inventory.cs
Add /inventory 0 creative <slot> <item> <count>
* Update PacketOutgoingType.cs
+ CreativeInventoryAction
* Update Protocol16.cs
+ SendCreativeInventorAction
* Update Protocol18.cs
+ SendCreativeInventorAction
* Update IMinecraftCom.cs
+ SendCreativeInventorAction
* Update McTcpClient.cs
+ DoCreativeInventorAction
* Update ChatBot.cs
+ CreativeInventorAction
* Update McTcpClient.cs
* Update ChatBot.cs
* Update Inventory.cs
Add show count
* Update ChatBot.cs
+ ChatBot fix
* Update Inventory.cs
Inventory update and Fix
* Update Entity.cs
* Update McTcpClient.cs
* Update Program.cs
* Update Protocol16.cs
* Update Protocol18.cs
* Update IMinecraftCom.cs
* Update Entity.cs
2020-05-25 21:16:53 +02:00
ORelio
5b0b0c9cc3
Inventory drop 1/all + message
2020-05-24 15:17:05 +02:00
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
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
ff92aeab85
Add some features of command logging
2020-05-01 09:26:51 -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
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
ReinforceZwei
31d45b0950
Update Inventory.cs
2020-04-09 20:50:34 +02:00
ReinforceZwei
2e1e79bcef
Add AutoEat
...
#923
2020-04-09 20:50:34 +02:00
ReinforceZwei
70e5ae85d7
Fix command Health command name not changed
2020-04-09 20:50:34 +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
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
ReinforceZwei
0b31f70d7b
Fix console froze if inventory do not exist
...
issues #908
2020-03-30 20:22:40 +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
bc3d6aba00
Implement item types
...
Github discussion on commit 6929ae236a
2020-03-28 23:30:42 +01:00
ORelio
6929ae236a
Add code documentation for inventories
2020-03-28 15:01:08 +01:00