[SKIP_BUILD] Change file encoding to UTF-8 with BOM

This commit is contained in:
BruceChen 2022-11-28 13:55:05 +08:00
parent a4e55e8a93
commit ef39e8329c
119 changed files with 141 additions and 141 deletions

View file

@ -1,4 +1,4 @@
name: Bug Report name: Bug Report
description: Create a report to help us improve description: Create a report to help us improve
title: "[BUG] " title: "[BUG] "
labels: labels:

View file

@ -1,4 +1,4 @@
name: Feature Request name: Feature Request
description: Suggest an idea for this project description: Suggest an idea for this project
title: "[Idea] " title: "[Idea] "
labels: labels:

View file

@ -1,4 +1,4 @@
name: Build MCC and Documents name: Build MCC and Documents
on: on:
push: push:

View file

@ -1,4 +1,4 @@
name: Build Documents name: Build Documents
on: on:
schedule: schedule:

View file

@ -1,4 +1,4 @@
name: Sync Translations name: Sync Translations
on: on:
workflow_dispatch: workflow_dispatch:

2
.gitignore vendored
View file

@ -1,4 +1,4 @@
/DebugTools/MinecraftClientProxy.suo /DebugTools/MinecraftClientProxy.suo
/DebugTools/MinecraftClientProxy.v11.suo /DebugTools/MinecraftClientProxy.v11.suo
/MinecraftClient.v11.suo /MinecraftClient.v11.suo
/MinecraftClient.suo /MinecraftClient.suo

2
.gitmodules vendored
View file

@ -1,4 +1,4 @@
[submodule "ConsoleInteractive"] [submodule "ConsoleInteractive"]
path = ConsoleInteractive path = ConsoleInteractive
url = https://github.com/breadbyte/ConsoleInteractive url = https://github.com/breadbyte/ConsoleInteractive
branch = main branch = main

2
.idea/.gitignore generated vendored
View file

@ -1,2 +1,2 @@
# Default ignored files # Default ignored files
/.idea.MinecraftClient/.idea/workspace.xml /.idea.MinecraftClient/.idea/workspace.xml

View file

@ -1,4 +1,4 @@
// GZipStream.cs // GZipStream.cs
// ------------------------------------------------------------------ // ------------------------------------------------------------------
// //
// Copyright (c) 2009 Dino Chiesa and Microsoft Corporation. // Copyright (c) 2009 Dino Chiesa and Microsoft Corporation.

View file

@ -1,4 +1,4 @@
// ZlibBaseStream.cs // ZlibBaseStream.cs
// ------------------------------------------------------------------ // ------------------------------------------------------------------
// //
// Copyright (c) 2009 Dino Chiesa and Microsoft Corporation. // Copyright (c) 2009 Dino Chiesa and Microsoft Corporation.

View file

@ -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 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) # If you want to use a specific build, un-comment the ENV MCC_VERSION line (remove the # from the start)

View file

@ -1,4 +1,4 @@
version: '2' version: '2'
services: services:
MCC: MCC:

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh
cd /opt/data || exit 1 cd /opt/data || exit 1

View file

@ -1,4 +1,4 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Data; using System.Data;
using System.IO; using System.IO;

View file

@ -1,4 +1,4 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;

View file

@ -1,4 +1,4 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Globalization; using System.Globalization;
using System.Text; using System.Text;

View file

@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace MinecraftClient.Commands namespace MinecraftClient.Commands
{ {

View file

@ -1,4 +1,4 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Globalization; using System.Globalization;
using System.Linq; using System.Linq;

View file

@ -1,4 +1,4 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace MinecraftClient.Commands namespace MinecraftClient.Commands

View file

@ -1,4 +1,4 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using MinecraftClient.Mapping; using MinecraftClient.Mapping;

View file

@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace MinecraftClient.Commands namespace MinecraftClient.Commands
{ {

View file

@ -1,4 +1,4 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace MinecraftClient.Commands namespace MinecraftClient.Commands

View file

@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
using MinecraftClient.Mapping; using MinecraftClient.Mapping;
namespace MinecraftClient.Commands namespace MinecraftClient.Commands

View file

@ -1,4 +1,4 @@
namespace MinecraftClient.Inventory namespace MinecraftClient.Inventory
{ {
/// <summary> /// <summary>
/// Represents a Minecraft effects /// Represents a Minecraft effects

View file

@ -1,4 +1,4 @@
namespace MinecraftClient.Inventory namespace MinecraftClient.Inventory
{ {
/// <summary> /// <summary>
/// Represents a Minecraft hand /// Represents a Minecraft hand

View file

@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace MinecraftClient.Inventory.ItemPalettes namespace MinecraftClient.Inventory.ItemPalettes
{ {

View file

@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace MinecraftClient.Inventory.ItemPalettes namespace MinecraftClient.Inventory.ItemPalettes
{ {

View file

@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace MinecraftClient.Inventory.ItemPalettes namespace MinecraftClient.Inventory.ItemPalettes
{ {

View file

@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace MinecraftClient.Inventory.ItemPalettes namespace MinecraftClient.Inventory.ItemPalettes
{ {

View file

@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace MinecraftClient.Inventory.ItemPalettes namespace MinecraftClient.Inventory.ItemPalettes
{ {

View file

@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace MinecraftClient.Inventory.ItemPalettes namespace MinecraftClient.Inventory.ItemPalettes
{ {

View file

@ -1,4 +1,4 @@
namespace MinecraftClient.Inventory namespace MinecraftClient.Inventory
{ {
/// <summary> /// <summary>
/// Generated using the --generator flag on the client /// Generated using the --generator flag on the client

View file

@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace MinecraftClient.Mapping.BlockPalettes namespace MinecraftClient.Mapping.BlockPalettes
{ {

View file

@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace MinecraftClient.Mapping.BlockPalettes namespace MinecraftClient.Mapping.BlockPalettes
{ {

View file

@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace MinecraftClient.Mapping.BlockPalettes namespace MinecraftClient.Mapping.BlockPalettes
{ {

View file

@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace MinecraftClient.Mapping.BlockPalettes namespace MinecraftClient.Mapping.BlockPalettes
{ {

View file

@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace MinecraftClient.Mapping.BlockPalettes namespace MinecraftClient.Mapping.BlockPalettes
{ {

View file

@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace MinecraftClient.Mapping.BlockPalettes namespace MinecraftClient.Mapping.BlockPalettes
{ {

View file

@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace MinecraftClient.Mapping.BlockPalettes namespace MinecraftClient.Mapping.BlockPalettes
{ {

View file

@ -1,4 +1,4 @@
namespace MinecraftClient.Mapping namespace MinecraftClient.Mapping
{ {
/// <summary> /// <summary>
/// Represents a unit movement in the world /// Represents a unit movement in the world

View file

@ -1,4 +1,4 @@
namespace MinecraftClient.Mapping namespace MinecraftClient.Mapping
{ {
/// <summary> /// <summary>
/// Represents a unit movement in the world /// Represents a unit movement in the world

View file

@ -1,4 +1,4 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using MinecraftClient.Inventory; using MinecraftClient.Inventory;

View file

@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace MinecraftClient.Mapping.EntityPalettes namespace MinecraftClient.Mapping.EntityPalettes
{ {

View file

@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace MinecraftClient.Mapping.EntityPalettes namespace MinecraftClient.Mapping.EntityPalettes
{ {

View file

@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace MinecraftClient.Mapping.EntityPalettes namespace MinecraftClient.Mapping.EntityPalettes
{ {

View file

@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace MinecraftClient.Mapping.EntityPalettes namespace MinecraftClient.Mapping.EntityPalettes
{ {

View file

@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace MinecraftClient.Mapping.EntityPalettes namespace MinecraftClient.Mapping.EntityPalettes
{ {

View file

@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace MinecraftClient.Mapping.EntityPalettes namespace MinecraftClient.Mapping.EntityPalettes
{ {

View file

@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace MinecraftClient.Mapping.EntityPalettes namespace MinecraftClient.Mapping.EntityPalettes
{ {

View file

@ -1,4 +1,4 @@
namespace MinecraftClient.Mapping namespace MinecraftClient.Mapping
{ {
public enum EntityPose public enum EntityPose
{ {

View file

@ -1,4 +1,4 @@
namespace MinecraftClient.Mapping namespace MinecraftClient.Mapping
{ {
/// <summary> /// <summary>
/// Represents Minecraft Entity Types /// Represents Minecraft Entity Types

View file

@ -1,4 +1,4 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Net.Sockets; using System.Net.Sockets;
@ -2966,7 +2966,7 @@ namespace MinecraftClient
/// Called on Entity Equipment /// Called on Entity Equipment
/// </summary> /// </summary>
/// <param name="entityid"> Entity ID</param> /// <param name="entityid"> Entity ID</param>
/// <param name="slot"> Equipment slot. 0: main hand, 1: off hand, 25: armor slot (2: boots, 3: leggings, 4: chestplate, 5: helmet)</param> /// <param name="slot"> Equipment slot. 0: main hand, 1: off hand, 2-5: armor slot (2: boots, 3: leggings, 4: chestplate, 5: helmet)</param>
/// <param name="item"> Item)</param> /// <param name="item"> Item)</param>
public void OnEntityEquipment(int entityid, int slot, Item? item) public void OnEntityEquipment(int entityid, int slot, Item? item)
{ {

View file

@ -1,4 +1,4 @@
namespace MinecraftClient.Protocol namespace MinecraftClient.Protocol
{ {
public enum EntityActionType public enum EntityActionType
{ {

View file

@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace MinecraftClient.Protocol.Handlers.PacketPalettes namespace MinecraftClient.Protocol.Handlers.PacketPalettes
{ {

View file

@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace MinecraftClient.Protocol.Handlers.PacketPalettes namespace MinecraftClient.Protocol.Handlers.PacketPalettes
{ {

View file

@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace MinecraftClient.Protocol.Handlers.PacketPalettes namespace MinecraftClient.Protocol.Handlers.PacketPalettes
{ {

View file

@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace MinecraftClient.Protocol.Handlers.PacketPalettes namespace MinecraftClient.Protocol.Handlers.PacketPalettes
{ {

View file

@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace MinecraftClient.Protocol.Handlers.PacketPalettes namespace MinecraftClient.Protocol.Handlers.PacketPalettes
{ {

View file

@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace MinecraftClient.Protocol.Handlers.PacketPalettes namespace MinecraftClient.Protocol.Handlers.PacketPalettes
{ {

View file

@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace MinecraftClient.Protocol.Handlers.PacketPalettes namespace MinecraftClient.Protocol.Handlers.PacketPalettes
{ {

View file

@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace MinecraftClient.Protocol.Handlers.PacketPalettes namespace MinecraftClient.Protocol.Handlers.PacketPalettes
{ {

View file

@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace MinecraftClient.Protocol.Handlers.PacketPalettes namespace MinecraftClient.Protocol.Handlers.PacketPalettes
{ {

View file

@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace MinecraftClient.Protocol.Handlers.PacketPalettes namespace MinecraftClient.Protocol.Handlers.PacketPalettes
{ {

View file

@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace MinecraftClient.Protocol.Handlers.PacketPalettes namespace MinecraftClient.Protocol.Handlers.PacketPalettes
{ {

View file

@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace MinecraftClient.Protocol.Handlers.PacketPalettes namespace MinecraftClient.Protocol.Handlers.PacketPalettes
{ {

View file

@ -1,4 +1,4 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Globalization; using System.Globalization;
using System.Linq; using System.Linq;

View file

@ -1,4 +1,4 @@
using System; using System;
using System.Collections.Concurrent; using System.Collections.Concurrent;
using System.Collections.Generic; using System.Collections.Generic;
using System.Diagnostics; using System.Diagnostics;

View file

@ -1,4 +1,4 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using MinecraftClient.Inventory; using MinecraftClient.Inventory;
using MinecraftClient.Mapping; using MinecraftClient.Mapping;

View file

@ -1,4 +1,4 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using MinecraftClient.Inventory; using MinecraftClient.Inventory;
using MinecraftClient.Logger; using MinecraftClient.Logger;

View file

@ -1,4 +1,4 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.ComponentModel; using System.ComponentModel;
using System.IO; using System.IO;

View file

@ -1,4 +1,4 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.IO; using System.IO;
using System.Linq; using System.Linq;

View file

@ -1,4 +1,4 @@
/* /*
MIT License MIT License
Copyright (c) 2019 Laurent Kempé Copyright (c) 2019 Laurent Kempé
https://github.com/laurentkempe/DynamicRun/blob/master/LICENSE https://github.com/laurentkempe/DynamicRun/blob/master/LICENSE

View file

@ -1,4 +1,4 @@
//MCCScript 1.0 //MCCScript 1.0
MCC.LoadBot(new AutoLeaveOnLowHp()); MCC.LoadBot(new AutoLeaveOnLowHp());

View file

@ -1,4 +1,4 @@
//MCCScript 1.0 //MCCScript 1.0
MCC.LoadBot(new AutoTree()); MCC.LoadBot(new AutoTree());

View file

@ -1,4 +1,4 @@
//MCCScript 1.0 //MCCScript 1.0
//using System.Collections.Specialized; //using System.Collections.Specialized;
//using MinecraftClient.Protocol; //using MinecraftClient.Protocol;

View file

@ -1,4 +1,4 @@
//MCCScript 1.0 //MCCScript 1.0
MCC.LoadBot(new EntityCount()); MCC.LoadBot(new EntityCount());

View file

@ -1,4 +1,4 @@
//MCCScript 1.0 //MCCScript 1.0
MCC.LoadBot(new MineCube()); MCC.LoadBot(new MineCube());

View file

@ -1,4 +1,4 @@
//MCCScript 1.0 //MCCScript 1.0
//using System.Threading.Tasks; //using System.Threading.Tasks;
//==== CONFIG START ==== //==== CONFIG START ====

View file

@ -1,4 +1,4 @@
//MCCScript 1.0 //MCCScript 1.0
//using System.Threading.Tasks; //using System.Threading.Tasks;
MCC.LoadBot(new QIWI_DonationBot()); MCC.LoadBot(new QIWI_DonationBot());

View file

@ -1,4 +1,4 @@
//MCCScript 1.0 //MCCScript 1.0
MCC.LoadBot(new SugarCaneFarmer()); MCC.LoadBot(new SugarCaneFarmer());

View file

@ -1,4 +1,4 @@
//MCCScript 1.0 //MCCScript 1.0
MCC.LoadBot(new SugarCaneMiner()); MCC.LoadBot(new SugarCaneMiner());

View file

@ -1,4 +1,4 @@
//MCCScript 1.0 //MCCScript 1.0
MCC.LoadBot(new TreeFarmer()); MCC.LoadBot(new TreeFarmer());

View file

@ -1,4 +1,4 @@
//MCCScript 1.0 //MCCScript 1.0
//using System.Threading.Tasks; //using System.Threading.Tasks;
//dll Newtonsoft.Json.dll //dll Newtonsoft.Json.dll
//using Newtonsoft.Json; //using Newtonsoft.Json;

View file

@ -1,4 +1,4 @@
# Minecraft Console Client # Minecraft Console Client
# AutoRespond matches # AutoRespond matches
# Example config file # Example config file

View file

@ -1,4 +1,4 @@
//MCCScript 1.0 //MCCScript 1.0
/* This script demonstrates how to use methods and arguments */ /* This script demonstrates how to use methods and arguments */

View file

@ -1,4 +1,4 @@
//MCCScript 1.0 //MCCScript 1.0
MCC.LoadBot(new PMForwarder()); MCC.LoadBot(new PMForwarder());

View file

@ -1,4 +1,4 @@
//MCCScript 1.0 //MCCScript 1.0
string[] commands = new[] { string[] commands = new[] {
"send command1", "send command1",

View file

@ -1,4 +1,4 @@
//MCCScript 1.0 //MCCScript 1.0
/* This is a sample script that will load a ChatBot into Minecraft Console Client /* 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 */ * Simply execute the script once with /script or the script scheduler to load the bot */

View file

@ -1,4 +1,4 @@
//MCCScript 1.0 //MCCScript 1.0
string mojangStatus = PerformHttpRequest("https://status.mojang.com/check"); string mojangStatus = PerformHttpRequest("https://status.mojang.com/check");
MCC.LogToConsole(mojangStatus); MCC.LogToConsole(mojangStatus);

View file

@ -1,4 +1,4 @@
//MCCScript 1.0 //MCCScript 1.0
MCC.LoadBot(new PeriodicTask()); MCC.LoadBot(new PeriodicTask());

View file

@ -1,4 +1,4 @@
//MCCScript 1.0 //MCCScript 1.0
MCC.LoadBot(new WatchLamp()); MCC.LoadBot(new WatchLamp());

View file

@ -1,4 +1,4 @@
//MCCScript 1.0 //MCCScript 1.0
/* This is a sample script for Minecraft Console Client /* This is a sample script for Minecraft Console Client
* The code provided in this file will be compiled at runtime and executed * The code provided in this file will be compiled at runtime and executed

View file

@ -1,4 +1,4 @@
<div align="center"> <div align="center">
<img src="https://i.pics.rs/LLDhE.png" alt="Logo"/> <img src="https://i.pics.rs/LLDhE.png" alt="Logo"/>

View file

@ -1,4 +1,4 @@
"project_id_env": "CROWDIN_PROJECT_ID" "project_id_env": "CROWDIN_PROJECT_ID"
"api_token_env": "CROWDIN_PERSONAL_TOKEN" "api_token_env": "CROWDIN_PERSONAL_TOKEN"
"base_path": "/" "base_path": "/"
"preserve_hierarchy": true "preserve_hierarchy": true

View file

@ -1,4 +1,4 @@
import process from 'node:process' import process from 'node:process'
import { viteBundler } from '@vuepress/bundler-vite' import { viteBundler } from '@vuepress/bundler-vite'
import { webpackBundler } from '@vuepress/bundler-webpack' import { webpackBundler } from '@vuepress/bundler-webpack'
import { defineUserConfig } from '@vuepress/cli' import { defineUserConfig } from '@vuepress/cli'

View file

@ -1,4 +1,4 @@
import os import os
LangNameMap = { LangNameMap = {
"af": "Afrikaans", "af": "Afrikaans",

View file

@ -1,4 +1,4 @@
import type { HeadConfig } from '@vuepress/core' import type { HeadConfig } from '@vuepress/core'
export const headConfig: HeadConfig[] = [ export const headConfig: HeadConfig[] = [
[ [

View file

@ -1,4 +1,4 @@
import type { SiteLocaleData } from '@vuepress/shared' import type { SiteLocaleData } from '@vuepress/shared'
import type { DefaultThemeLocaleData } from '@vuepress/theme-default' import type { DefaultThemeLocaleData } from '@vuepress/theme-default'
import { headConfig } from '../head.js' import { headConfig } from '../head.js'

View file

@ -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 { SiteLocaleConfig } from '@vuepress/shared'
import type { LocaleConfig } from '@vuepress/shared' import type { LocaleConfig } from '@vuepress/shared'

View file

@ -1,4 +1,4 @@
--- ---
title: Home title: Home
home: true home: true
heroImage: /images/MCC_logo_with_edge.png heroImage: /images/MCC_logo_with_edge.png

Some files were not shown because too many files have changed in this diff Show more