From ef39e8329c3ae1ed982acb855c76154d4c1d5283 Mon Sep 17 00:00:00 2001 From: BruceChen Date: Mon, 28 Nov 2022 13:55:05 +0800 Subject: [PATCH] [SKIP_BUILD] Change file encoding to UTF-8 with BOM --- .github/ISSUE_TEMPLATE/bug_report_form.yaml | 2 +- .github/ISSUE_TEMPLATE/feature_request_form.yaml | 2 +- .github/workflows/build-and-release.yml | 2 +- .github/workflows/deploy-doc-only.yml | 2 +- .github/workflows/sync-translations-only.yml | 2 +- .gitignore | 2 +- .gitmodules | 2 +- .idea/.gitignore | 2 +- DebugTools/MinecraftClientProxy/Compression/CRC32.cs | 2 +- DebugTools/MinecraftClientProxy/Compression/Deflate.cs | 2 +- DebugTools/MinecraftClientProxy/Compression/GZipStream.cs | 2 +- DebugTools/MinecraftClientProxy/Compression/InfTree.cs | 2 +- DebugTools/MinecraftClientProxy/Compression/Inflate.cs | 2 +- DebugTools/MinecraftClientProxy/Compression/Tree.cs | 2 +- DebugTools/MinecraftClientProxy/Compression/Zlib.cs | 2 +- .../MinecraftClientProxy/Compression/ZlibBaseStream.cs | 2 +- DebugTools/MinecraftClientProxy/Compression/ZlibCodec.cs | 2 +- DebugTools/MinecraftClientProxy/Compression/ZlibStream.cs | 2 +- DebugTools/README.txt | 2 +- Docker/Dockerfile | 4 ++-- Docker/docker-compose.yml | 2 +- Docker/start-latest.sh | 2 +- MinecraftClient/ChatBots/Mailer.cs | 2 +- MinecraftClient/Commands/Bots.cs | 2 +- MinecraftClient/Commands/Entitycmd.cs | 2 +- MinecraftClient/Commands/Health.cs | 2 +- MinecraftClient/Commands/Inventory.cs | 2 +- MinecraftClient/Commands/List.cs | 2 +- MinecraftClient/Commands/Move.cs | 2 +- MinecraftClient/Commands/Reload.cs | 2 +- MinecraftClient/Commands/SetRnd.cs | 2 +- MinecraftClient/Commands/Useblock.cs | 2 +- MinecraftClient/Inventory/Effects.cs | 2 +- MinecraftClient/Inventory/Hand.cs | 2 +- MinecraftClient/Inventory/ItemPalettes/ItemPalette115.cs | 2 +- MinecraftClient/Inventory/ItemPalettes/ItemPalette1161.cs | 2 +- MinecraftClient/Inventory/ItemPalettes/ItemPalette1162.cs | 2 +- MinecraftClient/Inventory/ItemPalettes/ItemPalette117.cs | 2 +- MinecraftClient/Inventory/ItemPalettes/ItemPalette118.cs | 2 +- MinecraftClient/Inventory/ItemPalettes/ItemPalette119.cs | 2 +- MinecraftClient/Inventory/ItemType.cs | 2 +- MinecraftClient/Mapping/BlockPalettes/Palette112.cs | 2 +- MinecraftClient/Mapping/BlockPalettes/Palette113.cs | 2 +- MinecraftClient/Mapping/BlockPalettes/Palette114.cs | 2 +- MinecraftClient/Mapping/BlockPalettes/Palette115.cs | 2 +- MinecraftClient/Mapping/BlockPalettes/Palette116.cs | 2 +- MinecraftClient/Mapping/BlockPalettes/Palette117.cs | 2 +- MinecraftClient/Mapping/BlockPalettes/Palette119.cs | 2 +- MinecraftClient/Mapping/CommandBlockFlags.cs | 2 +- MinecraftClient/Mapping/CommandBlockMode.cs | 2 +- MinecraftClient/Mapping/Entity.cs | 2 +- MinecraftClient/Mapping/EntityPalettes/EntityPalette113.cs | 2 +- MinecraftClient/Mapping/EntityPalettes/EntityPalette114.cs | 2 +- MinecraftClient/Mapping/EntityPalettes/EntityPalette115.cs | 2 +- MinecraftClient/Mapping/EntityPalettes/EntityPalette1161.cs | 2 +- MinecraftClient/Mapping/EntityPalettes/EntityPalette1162.cs | 2 +- MinecraftClient/Mapping/EntityPalettes/EntityPalette117.cs | 2 +- MinecraftClient/Mapping/EntityPalettes/EntityPalette119.cs | 2 +- MinecraftClient/Mapping/EntityPose.cs | 2 +- MinecraftClient/Mapping/EntityType.cs | 2 +- MinecraftClient/McClient.cs | 4 ++-- MinecraftClient/Protocol/EntityActionType.cs | 2 +- .../Protocol/Handlers/PacketPalettes/PacketPalette110.cs | 2 +- .../Protocol/Handlers/PacketPalettes/PacketPalette112.cs | 2 +- .../Protocol/Handlers/PacketPalettes/PacketPalette1122.cs | 2 +- .../Protocol/Handlers/PacketPalettes/PacketPalette113.cs | 2 +- .../Protocol/Handlers/PacketPalettes/PacketPalette114.cs | 2 +- .../Protocol/Handlers/PacketPalettes/PacketPalette115.cs | 2 +- .../Protocol/Handlers/PacketPalettes/PacketPalette116.cs | 2 +- .../Protocol/Handlers/PacketPalettes/PacketPalette1162.cs | 2 +- .../Protocol/Handlers/PacketPalettes/PacketPalette117.cs | 4 ++-- .../Protocol/Handlers/PacketPalettes/PacketPalette118.cs | 4 ++-- .../Protocol/Handlers/PacketPalettes/PacketPalette119.cs | 4 ++-- .../Protocol/Handlers/PacketPalettes/PacketPalette17.cs | 2 +- MinecraftClient/Protocol/Handlers/Protocol16.cs | 2 +- MinecraftClient/Protocol/Handlers/Protocol18.cs | 2 +- MinecraftClient/Protocol/IMinecraftCom.cs | 2 +- MinecraftClient/Protocol/IMinecraftComHandler.cs | 2 +- MinecraftClient/Scripting/CSharpRunner.cs | 4 ++-- MinecraftClient/Scripting/ChatBot.cs | 2 +- MinecraftClient/Scripting/DynamicRun/Builder/Compiler.cs | 4 ++-- MinecraftClient/config/ChatBots/AutoLeaveOnLowHp.cs | 4 ++-- MinecraftClient/config/ChatBots/AutoTree.cs | 4 ++-- MinecraftClient/config/ChatBots/DiscordWebhook.cs | 2 +- MinecraftClient/config/ChatBots/EntityCount.cs | 4 ++-- MinecraftClient/config/ChatBots/MineCube.cs | 4 ++-- MinecraftClient/config/ChatBots/PayKassa.cs | 2 +- MinecraftClient/config/ChatBots/QIWIAPI.cs | 2 +- MinecraftClient/config/ChatBots/SugarCaneFarmer.cs | 2 +- MinecraftClient/config/ChatBots/SugarCaneMiner.cs | 2 +- MinecraftClient/config/ChatBots/TreeFarmer.cs | 2 +- MinecraftClient/config/ChatBots/VkMessager.cs | 2 +- MinecraftClient/config/sample-matches.ini | 4 ++-- MinecraftClient/config/sample-script-extended.cs | 4 ++-- MinecraftClient/config/sample-script-pm-forwarder.cs | 4 ++-- MinecraftClient/config/sample-script-random-command.cs | 4 ++-- MinecraftClient/config/sample-script-with-chatbot.cs | 4 ++-- MinecraftClient/config/sample-script-with-http-request.cs | 4 ++-- MinecraftClient/config/sample-script-with-task.cs | 4 ++-- MinecraftClient/config/sample-script-with-world-access.cs | 4 ++-- MinecraftClient/config/sample-script.cs | 4 ++-- MinecraftClientGUI/Form1.resx | 2 +- README.md | 2 +- crowdin.yml | 2 +- docs/.vuepress/config.ts | 2 +- docs/.vuepress/configs/gen_configs.py | 2 +- docs/.vuepress/configs/head.ts | 2 +- docs/.vuepress/configs/l10n_configs/config_templete.ts | 2 +- docs/.vuepress/configs/locales_config.ts | 2 +- docs/README.md | 2 +- docs/guide/README.md | 2 +- docs/guide/chat-bots.md | 2 +- docs/guide/configuration.md | 2 +- docs/guide/contibuting.md | 2 +- docs/guide/creating-bots.md | 2 +- docs/guide/installation.md | 6 +++--- docs/guide/usage.md | 2 +- docs/package.json | 2 +- docs/yarn.lock | 2 +- 119 files changed, 141 insertions(+), 141 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report_form.yaml b/.github/ISSUE_TEMPLATE/bug_report_form.yaml index 27281bdc..3f88e306 100644 --- a/.github/ISSUE_TEMPLATE/bug_report_form.yaml +++ b/.github/ISSUE_TEMPLATE/bug_report_form.yaml @@ -1,4 +1,4 @@ -name: Bug Report +name: Bug Report description: Create a report to help us improve title: "[BUG] " labels: diff --git a/.github/ISSUE_TEMPLATE/feature_request_form.yaml b/.github/ISSUE_TEMPLATE/feature_request_form.yaml index a29caf7c..7ff46d00 100644 --- a/.github/ISSUE_TEMPLATE/feature_request_form.yaml +++ b/.github/ISSUE_TEMPLATE/feature_request_form.yaml @@ -1,4 +1,4 @@ -name: Feature Request +name: Feature Request description: Suggest an idea for this project title: "[Idea] " labels: diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index 918d9d0d..39e0c041 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -1,4 +1,4 @@ -name: Build MCC and Documents +name: Build MCC and Documents on: push: diff --git a/.github/workflows/deploy-doc-only.yml b/.github/workflows/deploy-doc-only.yml index 52707f29..879058b8 100644 --- a/.github/workflows/deploy-doc-only.yml +++ b/.github/workflows/deploy-doc-only.yml @@ -1,4 +1,4 @@ -name: Build Documents +name: Build Documents on: schedule: diff --git a/.github/workflows/sync-translations-only.yml b/.github/workflows/sync-translations-only.yml index c468f1bf..6280d253 100644 --- a/.github/workflows/sync-translations-only.yml +++ b/.github/workflows/sync-translations-only.yml @@ -1,4 +1,4 @@ -name: Sync Translations +name: Sync Translations on: workflow_dispatch: diff --git a/.gitignore b/.gitignore index 45f6cef2..c2669354 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -/DebugTools/MinecraftClientProxy.suo +/DebugTools/MinecraftClientProxy.suo /DebugTools/MinecraftClientProxy.v11.suo /MinecraftClient.v11.suo /MinecraftClient.suo diff --git a/.gitmodules b/.gitmodules index 5ef4ed0f..95246689 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,4 +1,4 @@ -[submodule "ConsoleInteractive"] +[submodule "ConsoleInteractive"] path = ConsoleInteractive url = https://github.com/breadbyte/ConsoleInteractive branch = main diff --git a/.idea/.gitignore b/.idea/.gitignore index a05f1bcc..fd6eca64 100644 --- a/.idea/.gitignore +++ b/.idea/.gitignore @@ -1,2 +1,2 @@ -# Default ignored files +# Default ignored files /.idea.MinecraftClient/.idea/workspace.xml diff --git a/DebugTools/MinecraftClientProxy/Compression/CRC32.cs b/DebugTools/MinecraftClientProxy/Compression/CRC32.cs index 97593b91..c2416052 100644 --- a/DebugTools/MinecraftClientProxy/Compression/CRC32.cs +++ b/DebugTools/MinecraftClientProxy/Compression/CRC32.cs @@ -811,4 +811,4 @@ namespace Ionic.Crc } -} \ No newline at end of file +} diff --git a/DebugTools/MinecraftClientProxy/Compression/Deflate.cs b/DebugTools/MinecraftClientProxy/Compression/Deflate.cs index 96722507..040d6102 100644 --- a/DebugTools/MinecraftClientProxy/Compression/Deflate.cs +++ b/DebugTools/MinecraftClientProxy/Compression/Deflate.cs @@ -1876,4 +1876,4 @@ namespace Ionic.Zlib } } -} \ No newline at end of file +} diff --git a/DebugTools/MinecraftClientProxy/Compression/GZipStream.cs b/DebugTools/MinecraftClientProxy/Compression/GZipStream.cs index 745e0963..7f6b9248 100644 --- a/DebugTools/MinecraftClientProxy/Compression/GZipStream.cs +++ b/DebugTools/MinecraftClientProxy/Compression/GZipStream.cs @@ -1,4 +1,4 @@ -// GZipStream.cs +// GZipStream.cs // ------------------------------------------------------------------ // // Copyright (c) 2009 Dino Chiesa and Microsoft Corporation. diff --git a/DebugTools/MinecraftClientProxy/Compression/InfTree.cs b/DebugTools/MinecraftClientProxy/Compression/InfTree.cs index 416b143a..0ddb30e4 100644 --- a/DebugTools/MinecraftClientProxy/Compression/InfTree.cs +++ b/DebugTools/MinecraftClientProxy/Compression/InfTree.cs @@ -433,4 +433,4 @@ namespace Ionic.Zlib } } } -} \ No newline at end of file +} diff --git a/DebugTools/MinecraftClientProxy/Compression/Inflate.cs b/DebugTools/MinecraftClientProxy/Compression/Inflate.cs index b0e07404..655f7c3b 100644 --- a/DebugTools/MinecraftClientProxy/Compression/Inflate.cs +++ b/DebugTools/MinecraftClientProxy/Compression/Inflate.cs @@ -1792,4 +1792,4 @@ namespace Ionic.Zlib return blocks.SyncPoint(); } } -} \ No newline at end of file +} diff --git a/DebugTools/MinecraftClientProxy/Compression/Tree.cs b/DebugTools/MinecraftClientProxy/Compression/Tree.cs index 1db8c4f4..88eaa4ba 100644 --- a/DebugTools/MinecraftClientProxy/Compression/Tree.cs +++ b/DebugTools/MinecraftClientProxy/Compression/Tree.cs @@ -420,4 +420,4 @@ namespace Ionic.Zlib return res >> 1; } } -} \ No newline at end of file +} diff --git a/DebugTools/MinecraftClientProxy/Compression/Zlib.cs b/DebugTools/MinecraftClientProxy/Compression/Zlib.cs index dcfe7252..b5604d4a 100644 --- a/DebugTools/MinecraftClientProxy/Compression/Zlib.cs +++ b/DebugTools/MinecraftClientProxy/Compression/Zlib.cs @@ -543,4 +543,4 @@ namespace Ionic.Zlib } -} \ No newline at end of file +} diff --git a/DebugTools/MinecraftClientProxy/Compression/ZlibBaseStream.cs b/DebugTools/MinecraftClientProxy/Compression/ZlibBaseStream.cs index 700ab7ba..b085c0cb 100644 --- a/DebugTools/MinecraftClientProxy/Compression/ZlibBaseStream.cs +++ b/DebugTools/MinecraftClientProxy/Compression/ZlibBaseStream.cs @@ -1,4 +1,4 @@ -// ZlibBaseStream.cs +// ZlibBaseStream.cs // ------------------------------------------------------------------ // // Copyright (c) 2009 Dino Chiesa and Microsoft Corporation. diff --git a/DebugTools/MinecraftClientProxy/Compression/ZlibCodec.cs b/DebugTools/MinecraftClientProxy/Compression/ZlibCodec.cs index 76d1535a..c8fdd7fd 100644 --- a/DebugTools/MinecraftClientProxy/Compression/ZlibCodec.cs +++ b/DebugTools/MinecraftClientProxy/Compression/ZlibCodec.cs @@ -714,4 +714,4 @@ namespace Ionic.Zlib } } -} \ No newline at end of file +} diff --git a/DebugTools/MinecraftClientProxy/Compression/ZlibStream.cs b/DebugTools/MinecraftClientProxy/Compression/ZlibStream.cs index 88ddca9d..4d01f8fd 100644 --- a/DebugTools/MinecraftClientProxy/Compression/ZlibStream.cs +++ b/DebugTools/MinecraftClientProxy/Compression/ZlibStream.cs @@ -722,4 +722,4 @@ namespace Ionic.Zlib } -} \ No newline at end of file +} diff --git a/DebugTools/README.txt b/DebugTools/README.txt index 17a2f92d..7acbc0fa 100644 --- a/DebugTools/README.txt +++ b/DebugTools/README.txt @@ -3,4 +3,4 @@ This part of the repository contains tools that may be useful for debugging MinecraftClientProxy A proxy between a MCC/Vanilla client and an offline-mode server which can intercept packets Useful to dump packets sent by a Vanilla minecraft client and compare them with packets from MCC - Example of use case: https://github.com/MCCTeam/Minecraft-Console-Client/issues/195 \ No newline at end of file + Example of use case: https://github.com/MCCTeam/Minecraft-Console-Client/issues/195 diff --git a/Docker/Dockerfile b/Docker/Dockerfile index ab1c6a91..df37cce8 100644 --- a/Docker/Dockerfile +++ b/Docker/Dockerfile @@ -1,4 +1,4 @@ -# Using the .NET official image for .NET 6.0 +# Using the .NET official image for .NET 6.0 FROM mcr.microsoft.com/dotnet/sdk:6.0 # If you want to use a specific build, un-comment the ENV MCC_VERSION line (remove the # from the start) @@ -13,4 +13,4 @@ RUN apt-get update && \ apt-get install -y unzip && \ mkdir /opt/data -ENTRYPOINT ["/bin/sh", "-c", "/opt/start-latest.sh"] \ No newline at end of file +ENTRYPOINT ["/bin/sh", "-c", "/opt/start-latest.sh"] diff --git a/Docker/docker-compose.yml b/Docker/docker-compose.yml index 2bc25fac..d69731ab 100644 --- a/Docker/docker-compose.yml +++ b/Docker/docker-compose.yml @@ -1,4 +1,4 @@ -version: '2' +version: '2' services: MCC: diff --git a/Docker/start-latest.sh b/Docker/start-latest.sh index 6f158287..2f3f7e7a 100644 --- a/Docker/start-latest.sh +++ b/Docker/start-latest.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/sh cd /opt/data || exit 1 diff --git a/MinecraftClient/ChatBots/Mailer.cs b/MinecraftClient/ChatBots/Mailer.cs index b6f2ee12..2eb20db5 100644 --- a/MinecraftClient/ChatBots/Mailer.cs +++ b/MinecraftClient/ChatBots/Mailer.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Data; using System.IO; diff --git a/MinecraftClient/Commands/Bots.cs b/MinecraftClient/Commands/Bots.cs index b721eeb5..09e9d8b9 100644 --- a/MinecraftClient/Commands/Bots.cs +++ b/MinecraftClient/Commands/Bots.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Text; diff --git a/MinecraftClient/Commands/Entitycmd.cs b/MinecraftClient/Commands/Entitycmd.cs index 9d2e0468..695dbabf 100644 --- a/MinecraftClient/Commands/Entitycmd.cs +++ b/MinecraftClient/Commands/Entitycmd.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Globalization; using System.Text; diff --git a/MinecraftClient/Commands/Health.cs b/MinecraftClient/Commands/Health.cs index 052eb3e2..9632d3f1 100644 --- a/MinecraftClient/Commands/Health.cs +++ b/MinecraftClient/Commands/Health.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Commands { diff --git a/MinecraftClient/Commands/Inventory.cs b/MinecraftClient/Commands/Inventory.cs index 94b14211..1a616ba9 100644 --- a/MinecraftClient/Commands/Inventory.cs +++ b/MinecraftClient/Commands/Inventory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Globalization; using System.Linq; diff --git a/MinecraftClient/Commands/List.cs b/MinecraftClient/Commands/List.cs index 4adc8eaa..6678fa16 100644 --- a/MinecraftClient/Commands/List.cs +++ b/MinecraftClient/Commands/List.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; namespace MinecraftClient.Commands diff --git a/MinecraftClient/Commands/Move.cs b/MinecraftClient/Commands/Move.cs index 67f8f4ec..52760ba1 100644 --- a/MinecraftClient/Commands/Move.cs +++ b/MinecraftClient/Commands/Move.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using MinecraftClient.Mapping; diff --git a/MinecraftClient/Commands/Reload.cs b/MinecraftClient/Commands/Reload.cs index 4761ce43..e41e3f96 100644 --- a/MinecraftClient/Commands/Reload.cs +++ b/MinecraftClient/Commands/Reload.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Commands { diff --git a/MinecraftClient/Commands/SetRnd.cs b/MinecraftClient/Commands/SetRnd.cs index dfd3969b..5d7a1a20 100644 --- a/MinecraftClient/Commands/SetRnd.cs +++ b/MinecraftClient/Commands/SetRnd.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; namespace MinecraftClient.Commands diff --git a/MinecraftClient/Commands/Useblock.cs b/MinecraftClient/Commands/Useblock.cs index a187999a..d885bec6 100644 --- a/MinecraftClient/Commands/Useblock.cs +++ b/MinecraftClient/Commands/Useblock.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using MinecraftClient.Mapping; namespace MinecraftClient.Commands diff --git a/MinecraftClient/Inventory/Effects.cs b/MinecraftClient/Inventory/Effects.cs index 5ab62ee4..7b5df3bd 100644 --- a/MinecraftClient/Inventory/Effects.cs +++ b/MinecraftClient/Inventory/Effects.cs @@ -1,4 +1,4 @@ -namespace MinecraftClient.Inventory +namespace MinecraftClient.Inventory { /// /// Represents a Minecraft effects diff --git a/MinecraftClient/Inventory/Hand.cs b/MinecraftClient/Inventory/Hand.cs index c78ded7f..a150fbc5 100644 --- a/MinecraftClient/Inventory/Hand.cs +++ b/MinecraftClient/Inventory/Hand.cs @@ -1,4 +1,4 @@ -namespace MinecraftClient.Inventory +namespace MinecraftClient.Inventory { /// /// Represents a Minecraft hand diff --git a/MinecraftClient/Inventory/ItemPalettes/ItemPalette115.cs b/MinecraftClient/Inventory/ItemPalettes/ItemPalette115.cs index 0ca43415..8c67fff8 100644 --- a/MinecraftClient/Inventory/ItemPalettes/ItemPalette115.cs +++ b/MinecraftClient/Inventory/ItemPalettes/ItemPalette115.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Inventory.ItemPalettes { diff --git a/MinecraftClient/Inventory/ItemPalettes/ItemPalette1161.cs b/MinecraftClient/Inventory/ItemPalettes/ItemPalette1161.cs index a953ec2a..20dae2ad 100644 --- a/MinecraftClient/Inventory/ItemPalettes/ItemPalette1161.cs +++ b/MinecraftClient/Inventory/ItemPalettes/ItemPalette1161.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Inventory.ItemPalettes { diff --git a/MinecraftClient/Inventory/ItemPalettes/ItemPalette1162.cs b/MinecraftClient/Inventory/ItemPalettes/ItemPalette1162.cs index b2094614..bdacf33a 100644 --- a/MinecraftClient/Inventory/ItemPalettes/ItemPalette1162.cs +++ b/MinecraftClient/Inventory/ItemPalettes/ItemPalette1162.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Inventory.ItemPalettes { diff --git a/MinecraftClient/Inventory/ItemPalettes/ItemPalette117.cs b/MinecraftClient/Inventory/ItemPalettes/ItemPalette117.cs index 92715541..f21c9465 100644 --- a/MinecraftClient/Inventory/ItemPalettes/ItemPalette117.cs +++ b/MinecraftClient/Inventory/ItemPalettes/ItemPalette117.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Inventory.ItemPalettes { diff --git a/MinecraftClient/Inventory/ItemPalettes/ItemPalette118.cs b/MinecraftClient/Inventory/ItemPalettes/ItemPalette118.cs index a37a61a6..8db51826 100644 --- a/MinecraftClient/Inventory/ItemPalettes/ItemPalette118.cs +++ b/MinecraftClient/Inventory/ItemPalettes/ItemPalette118.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Inventory.ItemPalettes { diff --git a/MinecraftClient/Inventory/ItemPalettes/ItemPalette119.cs b/MinecraftClient/Inventory/ItemPalettes/ItemPalette119.cs index 48a9a6ea..a47104e7 100644 --- a/MinecraftClient/Inventory/ItemPalettes/ItemPalette119.cs +++ b/MinecraftClient/Inventory/ItemPalettes/ItemPalette119.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Inventory.ItemPalettes { diff --git a/MinecraftClient/Inventory/ItemType.cs b/MinecraftClient/Inventory/ItemType.cs index 50966bf0..0e487d5b 100644 --- a/MinecraftClient/Inventory/ItemType.cs +++ b/MinecraftClient/Inventory/ItemType.cs @@ -1,4 +1,4 @@ -namespace MinecraftClient.Inventory +namespace MinecraftClient.Inventory { /// /// Generated using the --generator flag on the client diff --git a/MinecraftClient/Mapping/BlockPalettes/Palette112.cs b/MinecraftClient/Mapping/BlockPalettes/Palette112.cs index 02dde423..023d1c05 100644 --- a/MinecraftClient/Mapping/BlockPalettes/Palette112.cs +++ b/MinecraftClient/Mapping/BlockPalettes/Palette112.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Mapping.BlockPalettes { diff --git a/MinecraftClient/Mapping/BlockPalettes/Palette113.cs b/MinecraftClient/Mapping/BlockPalettes/Palette113.cs index 55be9672..847728bd 100644 --- a/MinecraftClient/Mapping/BlockPalettes/Palette113.cs +++ b/MinecraftClient/Mapping/BlockPalettes/Palette113.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Mapping.BlockPalettes { diff --git a/MinecraftClient/Mapping/BlockPalettes/Palette114.cs b/MinecraftClient/Mapping/BlockPalettes/Palette114.cs index b21e0830..97c12231 100644 --- a/MinecraftClient/Mapping/BlockPalettes/Palette114.cs +++ b/MinecraftClient/Mapping/BlockPalettes/Palette114.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Mapping.BlockPalettes { diff --git a/MinecraftClient/Mapping/BlockPalettes/Palette115.cs b/MinecraftClient/Mapping/BlockPalettes/Palette115.cs index b43a1ce9..aabe901b 100644 --- a/MinecraftClient/Mapping/BlockPalettes/Palette115.cs +++ b/MinecraftClient/Mapping/BlockPalettes/Palette115.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Mapping.BlockPalettes { diff --git a/MinecraftClient/Mapping/BlockPalettes/Palette116.cs b/MinecraftClient/Mapping/BlockPalettes/Palette116.cs index 3b2524f5..abc31d57 100644 --- a/MinecraftClient/Mapping/BlockPalettes/Palette116.cs +++ b/MinecraftClient/Mapping/BlockPalettes/Palette116.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Mapping.BlockPalettes { diff --git a/MinecraftClient/Mapping/BlockPalettes/Palette117.cs b/MinecraftClient/Mapping/BlockPalettes/Palette117.cs index ff0358d1..34cccd75 100644 --- a/MinecraftClient/Mapping/BlockPalettes/Palette117.cs +++ b/MinecraftClient/Mapping/BlockPalettes/Palette117.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Mapping.BlockPalettes { diff --git a/MinecraftClient/Mapping/BlockPalettes/Palette119.cs b/MinecraftClient/Mapping/BlockPalettes/Palette119.cs index ab276fee..d8e9d760 100644 --- a/MinecraftClient/Mapping/BlockPalettes/Palette119.cs +++ b/MinecraftClient/Mapping/BlockPalettes/Palette119.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Mapping.BlockPalettes { diff --git a/MinecraftClient/Mapping/CommandBlockFlags.cs b/MinecraftClient/Mapping/CommandBlockFlags.cs index 9241fa61..d9e08595 100644 --- a/MinecraftClient/Mapping/CommandBlockFlags.cs +++ b/MinecraftClient/Mapping/CommandBlockFlags.cs @@ -1,4 +1,4 @@ -namespace MinecraftClient.Mapping +namespace MinecraftClient.Mapping { /// /// Represents a unit movement in the world diff --git a/MinecraftClient/Mapping/CommandBlockMode.cs b/MinecraftClient/Mapping/CommandBlockMode.cs index 9dd492ce..d7e4220c 100644 --- a/MinecraftClient/Mapping/CommandBlockMode.cs +++ b/MinecraftClient/Mapping/CommandBlockMode.cs @@ -1,4 +1,4 @@ -namespace MinecraftClient.Mapping +namespace MinecraftClient.Mapping { /// /// Represents a unit movement in the world diff --git a/MinecraftClient/Mapping/Entity.cs b/MinecraftClient/Mapping/Entity.cs index fa7646b7..3da9542a 100644 --- a/MinecraftClient/Mapping/Entity.cs +++ b/MinecraftClient/Mapping/Entity.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using MinecraftClient.Inventory; diff --git a/MinecraftClient/Mapping/EntityPalettes/EntityPalette113.cs b/MinecraftClient/Mapping/EntityPalettes/EntityPalette113.cs index cc1b1654..d78a7240 100644 --- a/MinecraftClient/Mapping/EntityPalettes/EntityPalette113.cs +++ b/MinecraftClient/Mapping/EntityPalettes/EntityPalette113.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Mapping.EntityPalettes { diff --git a/MinecraftClient/Mapping/EntityPalettes/EntityPalette114.cs b/MinecraftClient/Mapping/EntityPalettes/EntityPalette114.cs index a908cc1f..403fcc00 100644 --- a/MinecraftClient/Mapping/EntityPalettes/EntityPalette114.cs +++ b/MinecraftClient/Mapping/EntityPalettes/EntityPalette114.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Mapping.EntityPalettes { diff --git a/MinecraftClient/Mapping/EntityPalettes/EntityPalette115.cs b/MinecraftClient/Mapping/EntityPalettes/EntityPalette115.cs index d8f67560..bd4887be 100644 --- a/MinecraftClient/Mapping/EntityPalettes/EntityPalette115.cs +++ b/MinecraftClient/Mapping/EntityPalettes/EntityPalette115.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Mapping.EntityPalettes { diff --git a/MinecraftClient/Mapping/EntityPalettes/EntityPalette1161.cs b/MinecraftClient/Mapping/EntityPalettes/EntityPalette1161.cs index 7aa83ea4..4de8bdca 100644 --- a/MinecraftClient/Mapping/EntityPalettes/EntityPalette1161.cs +++ b/MinecraftClient/Mapping/EntityPalettes/EntityPalette1161.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Mapping.EntityPalettes { diff --git a/MinecraftClient/Mapping/EntityPalettes/EntityPalette1162.cs b/MinecraftClient/Mapping/EntityPalettes/EntityPalette1162.cs index fcb00cd6..606e2d94 100644 --- a/MinecraftClient/Mapping/EntityPalettes/EntityPalette1162.cs +++ b/MinecraftClient/Mapping/EntityPalettes/EntityPalette1162.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Mapping.EntityPalettes { diff --git a/MinecraftClient/Mapping/EntityPalettes/EntityPalette117.cs b/MinecraftClient/Mapping/EntityPalettes/EntityPalette117.cs index ce292066..1658aa33 100644 --- a/MinecraftClient/Mapping/EntityPalettes/EntityPalette117.cs +++ b/MinecraftClient/Mapping/EntityPalettes/EntityPalette117.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Mapping.EntityPalettes { diff --git a/MinecraftClient/Mapping/EntityPalettes/EntityPalette119.cs b/MinecraftClient/Mapping/EntityPalettes/EntityPalette119.cs index 51f87e18..f4e352d5 100644 --- a/MinecraftClient/Mapping/EntityPalettes/EntityPalette119.cs +++ b/MinecraftClient/Mapping/EntityPalettes/EntityPalette119.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Mapping.EntityPalettes { diff --git a/MinecraftClient/Mapping/EntityPose.cs b/MinecraftClient/Mapping/EntityPose.cs index 28af6e3a..1690b089 100644 --- a/MinecraftClient/Mapping/EntityPose.cs +++ b/MinecraftClient/Mapping/EntityPose.cs @@ -1,4 +1,4 @@ -namespace MinecraftClient.Mapping +namespace MinecraftClient.Mapping { public enum EntityPose { diff --git a/MinecraftClient/Mapping/EntityType.cs b/MinecraftClient/Mapping/EntityType.cs index 43bb89da..ddb8a6b2 100644 --- a/MinecraftClient/Mapping/EntityType.cs +++ b/MinecraftClient/Mapping/EntityType.cs @@ -1,4 +1,4 @@ -namespace MinecraftClient.Mapping +namespace MinecraftClient.Mapping { /// /// Represents Minecraft Entity Types diff --git a/MinecraftClient/McClient.cs b/MinecraftClient/McClient.cs index d29187f8..de92a500 100644 --- a/MinecraftClient/McClient.cs +++ b/MinecraftClient/McClient.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Net.Sockets; @@ -2966,7 +2966,7 @@ namespace MinecraftClient /// Called on Entity Equipment /// /// Entity ID - /// Equipment slot. 0: main hand, 1: off hand, 2–5: armor slot (2: boots, 3: leggings, 4: chestplate, 5: helmet) + /// Equipment slot. 0: main hand, 1: off hand, 2-5: armor slot (2: boots, 3: leggings, 4: chestplate, 5: helmet) /// Item) public void OnEntityEquipment(int entityid, int slot, Item? item) { diff --git a/MinecraftClient/Protocol/EntityActionType.cs b/MinecraftClient/Protocol/EntityActionType.cs index b7191ded..88005de4 100644 --- a/MinecraftClient/Protocol/EntityActionType.cs +++ b/MinecraftClient/Protocol/EntityActionType.cs @@ -1,4 +1,4 @@ -namespace MinecraftClient.Protocol +namespace MinecraftClient.Protocol { public enum EntityActionType { diff --git a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette110.cs b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette110.cs index cff2b2ef..5b514ab4 100644 --- a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette110.cs +++ b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette110.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Protocol.Handlers.PacketPalettes { diff --git a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette112.cs b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette112.cs index 9ceb58b2..4aa74ef0 100644 --- a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette112.cs +++ b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette112.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Protocol.Handlers.PacketPalettes { diff --git a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette1122.cs b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette1122.cs index 6bfc613c..1c32571e 100644 --- a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette1122.cs +++ b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette1122.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Protocol.Handlers.PacketPalettes { diff --git a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette113.cs b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette113.cs index 7dbeac89..cee9407a 100644 --- a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette113.cs +++ b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette113.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Protocol.Handlers.PacketPalettes { diff --git a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette114.cs b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette114.cs index 0ef512c2..5a30a16b 100644 --- a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette114.cs +++ b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette114.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Protocol.Handlers.PacketPalettes { diff --git a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette115.cs b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette115.cs index 445c4c82..ce50911b 100644 --- a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette115.cs +++ b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette115.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Protocol.Handlers.PacketPalettes { diff --git a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette116.cs b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette116.cs index 1e54c3aa..0a160cc8 100644 --- a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette116.cs +++ b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette116.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Protocol.Handlers.PacketPalettes { diff --git a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette1162.cs b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette1162.cs index 260ad360..aa6b97a8 100644 --- a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette1162.cs +++ b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette1162.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Protocol.Handlers.PacketPalettes { diff --git a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette117.cs b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette117.cs index a28ec53a..b1919827 100644 --- a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette117.cs +++ b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette117.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Protocol.Handlers.PacketPalettes { @@ -173,4 +173,4 @@ namespace MinecraftClient.Protocol.Handlers.PacketPalettes return typeOut; } } -} \ No newline at end of file +} diff --git a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette118.cs b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette118.cs index a1badb81..dd984047 100644 --- a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette118.cs +++ b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette118.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Protocol.Handlers.PacketPalettes { @@ -174,4 +174,4 @@ namespace MinecraftClient.Protocol.Handlers.PacketPalettes return typeOut; } } -} \ No newline at end of file +} diff --git a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette119.cs b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette119.cs index 256a8692..6ec16097 100644 --- a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette119.cs +++ b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette119.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Protocol.Handlers.PacketPalettes { @@ -177,4 +177,4 @@ namespace MinecraftClient.Protocol.Handlers.PacketPalettes return typeOut; } } -} \ No newline at end of file +} diff --git a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette17.cs b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette17.cs index 279e7fc6..5d7c8fdc 100644 --- a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette17.cs +++ b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette17.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Protocol.Handlers.PacketPalettes { diff --git a/MinecraftClient/Protocol/Handlers/Protocol16.cs b/MinecraftClient/Protocol/Handlers/Protocol16.cs index 9db07050..76309c52 100644 --- a/MinecraftClient/Protocol/Handlers/Protocol16.cs +++ b/MinecraftClient/Protocol/Handlers/Protocol16.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Globalization; using System.Linq; diff --git a/MinecraftClient/Protocol/Handlers/Protocol18.cs b/MinecraftClient/Protocol/Handlers/Protocol18.cs index e03d5578..98707239 100644 --- a/MinecraftClient/Protocol/Handlers/Protocol18.cs +++ b/MinecraftClient/Protocol/Handlers/Protocol18.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; diff --git a/MinecraftClient/Protocol/IMinecraftCom.cs b/MinecraftClient/Protocol/IMinecraftCom.cs index afe5b1ba..babd004e 100644 --- a/MinecraftClient/Protocol/IMinecraftCom.cs +++ b/MinecraftClient/Protocol/IMinecraftCom.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using MinecraftClient.Inventory; using MinecraftClient.Mapping; diff --git a/MinecraftClient/Protocol/IMinecraftComHandler.cs b/MinecraftClient/Protocol/IMinecraftComHandler.cs index 1ac38a39..eab385c3 100644 --- a/MinecraftClient/Protocol/IMinecraftComHandler.cs +++ b/MinecraftClient/Protocol/IMinecraftComHandler.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using MinecraftClient.Inventory; using MinecraftClient.Logger; diff --git a/MinecraftClient/Scripting/CSharpRunner.cs b/MinecraftClient/Scripting/CSharpRunner.cs index 026a29fa..0d433595 100644 --- a/MinecraftClient/Scripting/CSharpRunner.cs +++ b/MinecraftClient/Scripting/CSharpRunner.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; @@ -399,4 +399,4 @@ namespace MinecraftClient return CSharpRunner.Run(this, lines, args, localVars, scriptName: script); } } -} \ No newline at end of file +} diff --git a/MinecraftClient/Scripting/ChatBot.cs b/MinecraftClient/Scripting/ChatBot.cs index e7ab3cde..2b6598d4 100644 --- a/MinecraftClient/Scripting/ChatBot.cs +++ b/MinecraftClient/Scripting/ChatBot.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.IO; using System.Linq; diff --git a/MinecraftClient/Scripting/DynamicRun/Builder/Compiler.cs b/MinecraftClient/Scripting/DynamicRun/Builder/Compiler.cs index 4bb02b07..42760bea 100644 --- a/MinecraftClient/Scripting/DynamicRun/Builder/Compiler.cs +++ b/MinecraftClient/Scripting/DynamicRun/Builder/Compiler.cs @@ -1,4 +1,4 @@ -/* +/* MIT License Copyright (c) 2019 Laurent Kempé https://github.com/laurentkempe/DynamicRun/blob/master/LICENSE @@ -174,4 +174,4 @@ namespace DynamicRun.Builder } } } -} \ No newline at end of file +} diff --git a/MinecraftClient/config/ChatBots/AutoLeaveOnLowHp.cs b/MinecraftClient/config/ChatBots/AutoLeaveOnLowHp.cs index f60453e4..1e5dfacc 100644 --- a/MinecraftClient/config/ChatBots/AutoLeaveOnLowHp.cs +++ b/MinecraftClient/config/ChatBots/AutoLeaveOnLowHp.cs @@ -1,4 +1,4 @@ -//MCCScript 1.0 +//MCCScript 1.0 MCC.LoadBot(new AutoLeaveOnLowHp()); @@ -19,4 +19,4 @@ namespace MinecraftClient.ChatBots } } } -} \ No newline at end of file +} diff --git a/MinecraftClient/config/ChatBots/AutoTree.cs b/MinecraftClient/config/ChatBots/AutoTree.cs index 89b26c6e..9b4aa849 100644 --- a/MinecraftClient/config/ChatBots/AutoTree.cs +++ b/MinecraftClient/config/ChatBots/AutoTree.cs @@ -1,4 +1,4 @@ -//MCCScript 1.0 +//MCCScript 1.0 MCC.LoadBot(new AutoTree()); @@ -177,4 +177,4 @@ public class AutoTree : ChatBot default: return "Available commands: toggle, set, type"; } } -} \ No newline at end of file +} diff --git a/MinecraftClient/config/ChatBots/DiscordWebhook.cs b/MinecraftClient/config/ChatBots/DiscordWebhook.cs index 47092783..778dbeed 100644 --- a/MinecraftClient/config/ChatBots/DiscordWebhook.cs +++ b/MinecraftClient/config/ChatBots/DiscordWebhook.cs @@ -1,4 +1,4 @@ -//MCCScript 1.0 +//MCCScript 1.0 //using System.Collections.Specialized; //using MinecraftClient.Protocol; diff --git a/MinecraftClient/config/ChatBots/EntityCount.cs b/MinecraftClient/config/ChatBots/EntityCount.cs index 38375367..a41d5d75 100644 --- a/MinecraftClient/config/ChatBots/EntityCount.cs +++ b/MinecraftClient/config/ChatBots/EntityCount.cs @@ -1,4 +1,4 @@ -//MCCScript 1.0 +//MCCScript 1.0 MCC.LoadBot(new EntityCount()); @@ -46,4 +46,4 @@ class EntityCount : ChatBot return $"Found {counter} of entity type: {args[0]}"; } -} \ No newline at end of file +} diff --git a/MinecraftClient/config/ChatBots/MineCube.cs b/MinecraftClient/config/ChatBots/MineCube.cs index 43f1e20d..b8a04736 100644 --- a/MinecraftClient/config/ChatBots/MineCube.cs +++ b/MinecraftClient/config/ChatBots/MineCube.cs @@ -1,4 +1,4 @@ -//MCCScript 1.0 +//MCCScript 1.0 MCC.LoadBot(new MineCube()); @@ -490,4 +490,4 @@ class MineCube : ChatBot return "Invalid command syntax.\n" + getHelpPage(); } -} \ No newline at end of file +} diff --git a/MinecraftClient/config/ChatBots/PayKassa.cs b/MinecraftClient/config/ChatBots/PayKassa.cs index 95a56b98..b225ae4a 100644 --- a/MinecraftClient/config/ChatBots/PayKassa.cs +++ b/MinecraftClient/config/ChatBots/PayKassa.cs @@ -1,4 +1,4 @@ -//MCCScript 1.0 +//MCCScript 1.0 //using System.Threading.Tasks; //==== CONFIG START ==== diff --git a/MinecraftClient/config/ChatBots/QIWIAPI.cs b/MinecraftClient/config/ChatBots/QIWIAPI.cs index 251385cb..a70dd74c 100644 --- a/MinecraftClient/config/ChatBots/QIWIAPI.cs +++ b/MinecraftClient/config/ChatBots/QIWIAPI.cs @@ -1,4 +1,4 @@ -//MCCScript 1.0 +//MCCScript 1.0 //using System.Threading.Tasks; MCC.LoadBot(new QIWI_DonationBot()); diff --git a/MinecraftClient/config/ChatBots/SugarCaneFarmer.cs b/MinecraftClient/config/ChatBots/SugarCaneFarmer.cs index 6ccda760..18ca6d9c 100644 --- a/MinecraftClient/config/ChatBots/SugarCaneFarmer.cs +++ b/MinecraftClient/config/ChatBots/SugarCaneFarmer.cs @@ -1,4 +1,4 @@ -//MCCScript 1.0 +//MCCScript 1.0 MCC.LoadBot(new SugarCaneFarmer()); diff --git a/MinecraftClient/config/ChatBots/SugarCaneMiner.cs b/MinecraftClient/config/ChatBots/SugarCaneMiner.cs index 7e37a7a0..7ec809a1 100644 --- a/MinecraftClient/config/ChatBots/SugarCaneMiner.cs +++ b/MinecraftClient/config/ChatBots/SugarCaneMiner.cs @@ -1,4 +1,4 @@ -//MCCScript 1.0 +//MCCScript 1.0 MCC.LoadBot(new SugarCaneMiner()); diff --git a/MinecraftClient/config/ChatBots/TreeFarmer.cs b/MinecraftClient/config/ChatBots/TreeFarmer.cs index 801b0b8c..a1555e23 100644 --- a/MinecraftClient/config/ChatBots/TreeFarmer.cs +++ b/MinecraftClient/config/ChatBots/TreeFarmer.cs @@ -1,4 +1,4 @@ -//MCCScript 1.0 +//MCCScript 1.0 MCC.LoadBot(new TreeFarmer()); diff --git a/MinecraftClient/config/ChatBots/VkMessager.cs b/MinecraftClient/config/ChatBots/VkMessager.cs index b9fe4f6e..9af37ee2 100644 --- a/MinecraftClient/config/ChatBots/VkMessager.cs +++ b/MinecraftClient/config/ChatBots/VkMessager.cs @@ -1,4 +1,4 @@ -//MCCScript 1.0 +//MCCScript 1.0 //using System.Threading.Tasks; //dll Newtonsoft.Json.dll //using Newtonsoft.Json; diff --git a/MinecraftClient/config/sample-matches.ini b/MinecraftClient/config/sample-matches.ini index f950c4c4..523e17d7 100644 --- a/MinecraftClient/config/sample-matches.ini +++ b/MinecraftClient/config/sample-matches.ini @@ -1,4 +1,4 @@ -# Minecraft Console Client +# Minecraft Console Client # AutoRespond matches # Example config file @@ -71,4 +71,4 @@ match=§ahello action=send Hello back! # Enjoy! -# - ORelio \ No newline at end of file +# - ORelio diff --git a/MinecraftClient/config/sample-script-extended.cs b/MinecraftClient/config/sample-script-extended.cs index b8751f0b..bf5e7c32 100644 --- a/MinecraftClient/config/sample-script-extended.cs +++ b/MinecraftClient/config/sample-script-extended.cs @@ -1,4 +1,4 @@ -//MCCScript 1.0 +//MCCScript 1.0 /* This script demonstrates how to use methods and arguments */ @@ -28,4 +28,4 @@ void SleepBetweenSends() { MCC.LogToConsole("Sleeping for 5 seconds..."); Thread.Sleep(5000); -} \ No newline at end of file +} diff --git a/MinecraftClient/config/sample-script-pm-forwarder.cs b/MinecraftClient/config/sample-script-pm-forwarder.cs index ce8f3e51..c131e11c 100644 --- a/MinecraftClient/config/sample-script-pm-forwarder.cs +++ b/MinecraftClient/config/sample-script-pm-forwarder.cs @@ -1,4 +1,4 @@ -//MCCScript 1.0 +//MCCScript 1.0 MCC.LoadBot(new PMForwarder()); @@ -36,4 +36,4 @@ public class PMForwarder : ChatBot } } } -} \ No newline at end of file +} diff --git a/MinecraftClient/config/sample-script-random-command.cs b/MinecraftClient/config/sample-script-random-command.cs index 506f7e65..a6cced52 100644 --- a/MinecraftClient/config/sample-script-random-command.cs +++ b/MinecraftClient/config/sample-script-random-command.cs @@ -1,4 +1,4 @@ -//MCCScript 1.0 +//MCCScript 1.0 string[] commands = new[] { "send command1", @@ -8,4 +8,4 @@ string[] commands = new[] { int randomIndex = new Random().Next(0, commands.Length); string randomCommand = commands[randomIndex]; -MCC.PerformInternalCommand(randomCommand); \ No newline at end of file +MCC.PerformInternalCommand(randomCommand); diff --git a/MinecraftClient/config/sample-script-with-chatbot.cs b/MinecraftClient/config/sample-script-with-chatbot.cs index 25cb13eb..19a23e9b 100644 --- a/MinecraftClient/config/sample-script-with-chatbot.cs +++ b/MinecraftClient/config/sample-script-with-chatbot.cs @@ -1,4 +1,4 @@ -//MCCScript 1.0 +//MCCScript 1.0 /* This is a sample script that will load a ChatBot into Minecraft Console Client * Simply execute the script once with /script or the script scheduler to load the bot */ @@ -32,4 +32,4 @@ public class ExampleBot : ChatBot LogToConsole("Private message from " + username + ": " + message); } } -} \ No newline at end of file +} diff --git a/MinecraftClient/config/sample-script-with-http-request.cs b/MinecraftClient/config/sample-script-with-http-request.cs index 94ac61b4..9b24fe34 100644 --- a/MinecraftClient/config/sample-script-with-http-request.cs +++ b/MinecraftClient/config/sample-script-with-http-request.cs @@ -1,4 +1,4 @@ -//MCCScript 1.0 +//MCCScript 1.0 string mojangStatus = PerformHttpRequest("https://status.mojang.com/check"); MCC.LogToConsole(mojangStatus); @@ -31,4 +31,4 @@ void SendHttpPostAsync(string uri, string text) responseString = reader.ReadToEnd(); //LogToConsole(responseString); }).Start(); -} \ No newline at end of file +} diff --git a/MinecraftClient/config/sample-script-with-task.cs b/MinecraftClient/config/sample-script-with-task.cs index 8feb6c6c..2e3e8c2e 100644 --- a/MinecraftClient/config/sample-script-with-task.cs +++ b/MinecraftClient/config/sample-script-with-task.cs @@ -1,4 +1,4 @@ -//MCCScript 1.0 +//MCCScript 1.0 MCC.LoadBot(new PeriodicTask()); @@ -29,4 +29,4 @@ public class PeriodicTask : ChatBot nextTaskRun = dateNow.AddSeconds(60); } } -} \ No newline at end of file +} diff --git a/MinecraftClient/config/sample-script-with-world-access.cs b/MinecraftClient/config/sample-script-with-world-access.cs index cfa5f915..65e06385 100644 --- a/MinecraftClient/config/sample-script-with-world-access.cs +++ b/MinecraftClient/config/sample-script-with-world-access.cs @@ -1,4 +1,4 @@ -//MCCScript 1.0 +//MCCScript 1.0 MCC.LoadBot(new WatchLamp()); @@ -58,4 +58,4 @@ class WatchLamp : ChatBot } else checkCount++; } -} \ No newline at end of file +} diff --git a/MinecraftClient/config/sample-script.cs b/MinecraftClient/config/sample-script.cs index 34d3354a..9884986f 100644 --- a/MinecraftClient/config/sample-script.cs +++ b/MinecraftClient/config/sample-script.cs @@ -1,4 +1,4 @@ -//MCCScript 1.0 +//MCCScript 1.0 /* This is a sample script for Minecraft Console Client * The code provided in this file will be compiled at runtime and executed @@ -11,4 +11,4 @@ for (int i = 0; i < 5; i++) MCC.SendText("Hello World no. " + count); MCC.LogToConsole("Sleeping for 5 seconds..."); Thread.Sleep(5000); -} \ No newline at end of file +} diff --git a/MinecraftClientGUI/Form1.resx b/MinecraftClientGUI/Form1.resx index 6c4db660..b45be6ec 100644 --- a/MinecraftClientGUI/Form1.resx +++ b/MinecraftClientGUI/Form1.resx @@ -6290,4 +6290,4 @@ //////////////////////////////////////////////////////////////////8= - \ No newline at end of file + diff --git a/README.md b/README.md index 76db9675..2fba59d8 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -
+
Logo diff --git a/crowdin.yml b/crowdin.yml index 6be7ee2d..fa8a46a3 100644 --- a/crowdin.yml +++ b/crowdin.yml @@ -1,4 +1,4 @@ -"project_id_env": "CROWDIN_PROJECT_ID" +"project_id_env": "CROWDIN_PROJECT_ID" "api_token_env": "CROWDIN_PERSONAL_TOKEN" "base_path": "/" "preserve_hierarchy": true diff --git a/docs/.vuepress/config.ts b/docs/.vuepress/config.ts index 187a7957..272044da 100644 --- a/docs/.vuepress/config.ts +++ b/docs/.vuepress/config.ts @@ -1,4 +1,4 @@ -import process from 'node:process' +import process from 'node:process' import { viteBundler } from '@vuepress/bundler-vite' import { webpackBundler } from '@vuepress/bundler-webpack' import { defineUserConfig } from '@vuepress/cli' diff --git a/docs/.vuepress/configs/gen_configs.py b/docs/.vuepress/configs/gen_configs.py index 2d7f2cdb..4bbd3eb8 100644 --- a/docs/.vuepress/configs/gen_configs.py +++ b/docs/.vuepress/configs/gen_configs.py @@ -1,4 +1,4 @@ -import os +import os LangNameMap = { "af": "Afrikaans", diff --git a/docs/.vuepress/configs/head.ts b/docs/.vuepress/configs/head.ts index 2873428d..0e253a9a 100644 --- a/docs/.vuepress/configs/head.ts +++ b/docs/.vuepress/configs/head.ts @@ -1,4 +1,4 @@ -import type { HeadConfig } from '@vuepress/core' +import type { HeadConfig } from '@vuepress/core' export const headConfig: HeadConfig[] = [ [ diff --git a/docs/.vuepress/configs/l10n_configs/config_templete.ts b/docs/.vuepress/configs/l10n_configs/config_templete.ts index 67425741..20045fb7 100644 --- a/docs/.vuepress/configs/l10n_configs/config_templete.ts +++ b/docs/.vuepress/configs/l10n_configs/config_templete.ts @@ -1,4 +1,4 @@ -import type { SiteLocaleData } from '@vuepress/shared' +import type { SiteLocaleData } from '@vuepress/shared' import type { DefaultThemeLocaleData } from '@vuepress/theme-default' import { headConfig } from '../head.js' diff --git a/docs/.vuepress/configs/locales_config.ts b/docs/.vuepress/configs/locales_config.ts index 4aae0a8e..e6c21a64 100644 --- a/docs/.vuepress/configs/locales_config.ts +++ b/docs/.vuepress/configs/locales_config.ts @@ -1,4 +1,4 @@ -/* This file is automatically generated by "gen_configs.py" */ +/* This file is automatically generated by "gen_configs.py" */ import type { SiteLocaleConfig } from '@vuepress/shared' import type { LocaleConfig } from '@vuepress/shared' diff --git a/docs/README.md b/docs/README.md index 9f08b4f5..7274b49e 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,4 +1,4 @@ ---- +--- title: Home home: true heroImage: /images/MCC_logo_with_edge.png diff --git a/docs/guide/README.md b/docs/guide/README.md index c031659c..f8419bba 100644 --- a/docs/guide/README.md +++ b/docs/guide/README.md @@ -1,4 +1,4 @@ ---- +--- title: About & Features --- diff --git a/docs/guide/chat-bots.md b/docs/guide/chat-bots.md index 7678b41d..ef76604e 100644 --- a/docs/guide/chat-bots.md +++ b/docs/guide/chat-bots.md @@ -1,4 +1,4 @@ ---- +--- title: Chat Bots redirectFrom: - "/g/bots/index.html" diff --git a/docs/guide/configuration.md b/docs/guide/configuration.md index 0f218fdb..e79ece99 100644 --- a/docs/guide/configuration.md +++ b/docs/guide/configuration.md @@ -1,4 +1,4 @@ ---- +--- title: Configuration redirectFrom: - "/g/conf/index.html" diff --git a/docs/guide/contibuting.md b/docs/guide/contibuting.md index 5d4c6711..e20edcc4 100644 --- a/docs/guide/contibuting.md +++ b/docs/guide/contibuting.md @@ -1,4 +1,4 @@ ---- +--- title: Contributing --- diff --git a/docs/guide/creating-bots.md b/docs/guide/creating-bots.md index b5012a3b..53afcd53 100644 --- a/docs/guide/creating-bots.md +++ b/docs/guide/creating-bots.md @@ -1,4 +1,4 @@ ---- +--- title: Creating Chat Bots --- diff --git a/docs/guide/installation.md b/docs/guide/installation.md index f343e012..83878bd6 100644 --- a/docs/guide/installation.md +++ b/docs/guide/installation.md @@ -1,4 +1,4 @@ ---- +--- title: Installation --- @@ -69,10 +69,10 @@ git clone https://github.com/MCCTeam/Minecraft-Console-Client.git --recursive 2. You will need to log in to your Crowdin account in order to download. 3. Click on the language you want to download the translation for. 4. Find `MinecraftClient` -> `Resources` -> `Translations` -> `MCC in-app text and settings file comments` -5. Click the button `¡¤¡¤¡¤` at the end of the line. +5. Click the button `•••` at the end of the line. 6. Click Download and save the file to folder `/MinecraftClient/Resources/Translations/`. 7. Find `MinecraftClient` -> `Resources` -> `AsciiArt` -> `ASCII Arts (Please use fixed-width fonts for editing)` -8. Click the button `¡¤¡¤¡¤` at the end of the line. +8. Click the button `•••` at the end of the line. 9. Click Download and save the file to folder `/MinecraftClient/Resources/AsciiArt/`. 10. If you need to download a translation in another language, go to step 3 to continue. diff --git a/docs/guide/usage.md b/docs/guide/usage.md index de7683e3..e44a9eb8 100644 --- a/docs/guide/usage.md +++ b/docs/guide/usage.md @@ -1,4 +1,4 @@ ---- +--- title: Usage --- diff --git a/docs/package.json b/docs/package.json index ef9d0f81..0cbec20b 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,4 +1,4 @@ -{ +{ "name": "docs", "version": "1.0.0", "description": "Documentation website for Minecraft Console Client (MCC)", diff --git a/docs/yarn.lock b/docs/yarn.lock index eeb37755..64321fe2 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -1,4 +1,4 @@ -# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. # yarn lockfile v1