mirror of
				https://github.com/MCCTeam/Minecraft-Console-Client
				synced 2025-10-14 21:22:49 +00:00 
			
		
		
		
	[SKIP_BUILD] Change file encoding to UTF-8 with BOM
This commit is contained in:
		
							parent
							
								
									a4e55e8a93
								
							
						
					
					
						commit
						ef39e8329c
					
				
					 119 changed files with 141 additions and 141 deletions
				
			
		
							
								
								
									
										2
									
								
								.github/ISSUE_TEMPLATE/bug_report_form.yaml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/ISSUE_TEMPLATE/bug_report_form.yaml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
name: Bug Report
 | 
			
		||||
name: Bug Report
 | 
			
		||||
description: Create a report to help us improve
 | 
			
		||||
title: "[BUG] "
 | 
			
		||||
labels: 
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
name: Feature Request
 | 
			
		||||
name: Feature Request
 | 
			
		||||
description: Suggest an idea for this project
 | 
			
		||||
title: "[Idea] "
 | 
			
		||||
labels: 
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										2
									
								
								.github/workflows/build-and-release.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/build-and-release.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
name: Build MCC and Documents
 | 
			
		||||
name: Build MCC and Documents
 | 
			
		||||
 | 
			
		||||
on:
 | 
			
		||||
  push:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										2
									
								
								.github/workflows/deploy-doc-only.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/deploy-doc-only.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
name: Build Documents
 | 
			
		||||
name: Build Documents
 | 
			
		||||
 | 
			
		||||
on:
 | 
			
		||||
  schedule:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										2
									
								
								.github/workflows/sync-translations-only.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/sync-translations-only.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
name: Sync Translations
 | 
			
		||||
name: Sync Translations
 | 
			
		||||
 | 
			
		||||
on:
 | 
			
		||||
  workflow_dispatch:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										2
									
								
								.gitignore
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.gitignore
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/DebugTools/MinecraftClientProxy.suo
 | 
			
		||||
/DebugTools/MinecraftClientProxy.suo
 | 
			
		||||
/DebugTools/MinecraftClientProxy.v11.suo
 | 
			
		||||
/MinecraftClient.v11.suo
 | 
			
		||||
/MinecraftClient.suo
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										2
									
								
								.gitmodules
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.gitmodules
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
[submodule "ConsoleInteractive"]
 | 
			
		||||
[submodule "ConsoleInteractive"]
 | 
			
		||||
	path = ConsoleInteractive
 | 
			
		||||
	url = https://github.com/breadbyte/ConsoleInteractive
 | 
			
		||||
	branch = main
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										2
									
								
								.idea/.gitignore
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.idea/.gitignore
									
										
									
										generated
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -1,2 +1,2 @@
 | 
			
		|||
# Default ignored files
 | 
			
		||||
# Default ignored files
 | 
			
		||||
/.idea.MinecraftClient/.idea/workspace.xml
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -811,4 +811,4 @@ namespace Ionic.Crc
 | 
			
		|||
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1876,4 +1876,4 @@ namespace Ionic.Zlib
 | 
			
		|||
        }
 | 
			
		||||
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
// GZipStream.cs
 | 
			
		||||
// GZipStream.cs
 | 
			
		||||
// ------------------------------------------------------------------
 | 
			
		||||
//
 | 
			
		||||
// Copyright (c) 2009 Dino Chiesa and Microsoft Corporation.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -433,4 +433,4 @@ namespace Ionic.Zlib
 | 
			
		|||
                        }
 | 
			
		||||
                }
 | 
			
		||||
        }
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1792,4 +1792,4 @@ namespace Ionic.Zlib
 | 
			
		|||
            return blocks.SyncPoint();
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -420,4 +420,4 @@ namespace Ionic.Zlib
 | 
			
		|||
            return res >> 1;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -543,4 +543,4 @@ namespace Ionic.Zlib
 | 
			
		|||
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
// ZlibBaseStream.cs
 | 
			
		||||
// ZlibBaseStream.cs
 | 
			
		||||
// ------------------------------------------------------------------
 | 
			
		||||
//
 | 
			
		||||
// Copyright (c) 2009 Dino Chiesa and Microsoft Corporation.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -714,4 +714,4 @@ namespace Ionic.Zlib
 | 
			
		|||
        }
 | 
			
		||||
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -722,4 +722,4 @@ namespace Ionic.Zlib
 | 
			
		|||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
 Example of use case: https://github.com/MCCTeam/Minecraft-Console-Client/issues/195
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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"]
 | 
			
		||||
ENTRYPOINT ["/bin/sh", "-c", "/opt/start-latest.sh"]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
version: '2'
 | 
			
		||||
version: '2'
 | 
			
		||||
 | 
			
		||||
services:
 | 
			
		||||
  MCC:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
#!/bin/sh
 | 
			
		||||
#!/bin/sh
 | 
			
		||||
 | 
			
		||||
cd /opt/data || exit 1
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
using System;
 | 
			
		||||
using System;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
using System.Data;
 | 
			
		||||
using System.IO;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
using System;
 | 
			
		||||
using System;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
using System.Text;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
using System;
 | 
			
		||||
using System;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
using System.Globalization;
 | 
			
		||||
using System.Text;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
using System.Collections.Generic;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
 | 
			
		||||
namespace MinecraftClient.Commands
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
using System;
 | 
			
		||||
using System;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
using System.Globalization;
 | 
			
		||||
using System.Linq;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
using System;
 | 
			
		||||
using System;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
 | 
			
		||||
namespace MinecraftClient.Commands
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
using System;
 | 
			
		||||
using System;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
using System.Linq;
 | 
			
		||||
using MinecraftClient.Mapping;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
using System.Collections.Generic;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
 | 
			
		||||
namespace MinecraftClient.Commands
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
using System;
 | 
			
		||||
using System;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
 | 
			
		||||
namespace MinecraftClient.Commands
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
using System.Collections.Generic;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
using MinecraftClient.Mapping;
 | 
			
		||||
 | 
			
		||||
namespace MinecraftClient.Commands
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
namespace MinecraftClient.Inventory
 | 
			
		||||
namespace MinecraftClient.Inventory
 | 
			
		||||
{
 | 
			
		||||
    /// <summary>
 | 
			
		||||
    /// Represents a Minecraft effects
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
namespace MinecraftClient.Inventory
 | 
			
		||||
namespace MinecraftClient.Inventory
 | 
			
		||||
{
 | 
			
		||||
    /// <summary>
 | 
			
		||||
    /// Represents a Minecraft hand
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
using System.Collections.Generic;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
 | 
			
		||||
namespace MinecraftClient.Inventory.ItemPalettes
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
using System.Collections.Generic;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
 | 
			
		||||
namespace MinecraftClient.Inventory.ItemPalettes
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
using System.Collections.Generic;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
 | 
			
		||||
namespace MinecraftClient.Inventory.ItemPalettes
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
using System.Collections.Generic;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
 | 
			
		||||
namespace MinecraftClient.Inventory.ItemPalettes
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
using System.Collections.Generic;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
 | 
			
		||||
namespace MinecraftClient.Inventory.ItemPalettes
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
using System.Collections.Generic;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
 | 
			
		||||
namespace MinecraftClient.Inventory.ItemPalettes
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
namespace MinecraftClient.Inventory
 | 
			
		||||
namespace MinecraftClient.Inventory
 | 
			
		||||
{
 | 
			
		||||
    /// <summary>
 | 
			
		||||
    /// Generated using the --generator flag on the client
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
using System.Collections.Generic;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
 | 
			
		||||
namespace MinecraftClient.Mapping.BlockPalettes
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
using System.Collections.Generic;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
 | 
			
		||||
namespace MinecraftClient.Mapping.BlockPalettes
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
using System.Collections.Generic;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
 | 
			
		||||
namespace MinecraftClient.Mapping.BlockPalettes
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
using System.Collections.Generic;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
 | 
			
		||||
namespace MinecraftClient.Mapping.BlockPalettes
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
using System.Collections.Generic;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
 | 
			
		||||
namespace MinecraftClient.Mapping.BlockPalettes
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
using System.Collections.Generic;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
 | 
			
		||||
namespace MinecraftClient.Mapping.BlockPalettes
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
using System.Collections.Generic;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
 | 
			
		||||
namespace MinecraftClient.Mapping.BlockPalettes
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
namespace MinecraftClient.Mapping
 | 
			
		||||
namespace MinecraftClient.Mapping
 | 
			
		||||
{
 | 
			
		||||
    /// <summary>
 | 
			
		||||
    /// Represents a unit movement in the world
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
namespace MinecraftClient.Mapping
 | 
			
		||||
namespace MinecraftClient.Mapping
 | 
			
		||||
{
 | 
			
		||||
    /// <summary>
 | 
			
		||||
    /// Represents a unit movement in the world
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
using System;
 | 
			
		||||
using System;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
using MinecraftClient.Inventory;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
using System.Collections.Generic;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
 | 
			
		||||
namespace MinecraftClient.Mapping.EntityPalettes
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
using System.Collections.Generic;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
 | 
			
		||||
namespace MinecraftClient.Mapping.EntityPalettes
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
using System.Collections.Generic;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
 | 
			
		||||
namespace MinecraftClient.Mapping.EntityPalettes
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
using System.Collections.Generic;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
 | 
			
		||||
namespace MinecraftClient.Mapping.EntityPalettes
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
using System.Collections.Generic;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
 | 
			
		||||
namespace MinecraftClient.Mapping.EntityPalettes
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
using System.Collections.Generic;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
 | 
			
		||||
namespace MinecraftClient.Mapping.EntityPalettes
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
using System.Collections.Generic;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
 | 
			
		||||
namespace MinecraftClient.Mapping.EntityPalettes
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
namespace MinecraftClient.Mapping
 | 
			
		||||
namespace MinecraftClient.Mapping
 | 
			
		||||
{
 | 
			
		||||
    public enum EntityPose
 | 
			
		||||
    {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
namespace MinecraftClient.Mapping
 | 
			
		||||
namespace MinecraftClient.Mapping
 | 
			
		||||
{
 | 
			
		||||
    /// <summary>
 | 
			
		||||
    /// Represents Minecraft Entity Types
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
        /// </summary>
 | 
			
		||||
        /// <param name="entityid"> Entity ID</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="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>
 | 
			
		||||
        public void OnEntityEquipment(int entityid, int slot, Item? item)
 | 
			
		||||
        {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
namespace MinecraftClient.Protocol
 | 
			
		||||
namespace MinecraftClient.Protocol
 | 
			
		||||
{
 | 
			
		||||
    public enum EntityActionType
 | 
			
		||||
    {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
using System.Collections.Generic;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
 | 
			
		||||
namespace MinecraftClient.Protocol.Handlers.PacketPalettes
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
using System.Collections.Generic;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
 | 
			
		||||
namespace MinecraftClient.Protocol.Handlers.PacketPalettes
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
using System.Collections.Generic;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
 | 
			
		||||
namespace MinecraftClient.Protocol.Handlers.PacketPalettes
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
using System.Collections.Generic;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
 | 
			
		||||
namespace MinecraftClient.Protocol.Handlers.PacketPalettes
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
using System.Collections.Generic;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
 | 
			
		||||
namespace MinecraftClient.Protocol.Handlers.PacketPalettes
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
using System.Collections.Generic;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
 | 
			
		||||
namespace MinecraftClient.Protocol.Handlers.PacketPalettes
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
using System.Collections.Generic;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
 | 
			
		||||
namespace MinecraftClient.Protocol.Handlers.PacketPalettes
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
using System.Collections.Generic;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
 | 
			
		||||
namespace MinecraftClient.Protocol.Handlers.PacketPalettes
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
using System.Collections.Generic;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
 | 
			
		||||
namespace MinecraftClient.Protocol.Handlers.PacketPalettes
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
using System;
 | 
			
		||||
using System;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
using System.Globalization;
 | 
			
		||||
using System.Linq;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
using System;
 | 
			
		||||
using System;
 | 
			
		||||
using System.Collections.Concurrent;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
using System.Diagnostics;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
using System;
 | 
			
		||||
using System;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
using MinecraftClient.Inventory;
 | 
			
		||||
using MinecraftClient.Mapping;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
using System;
 | 
			
		||||
using System;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
using MinecraftClient.Inventory;
 | 
			
		||||
using MinecraftClient.Logger;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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);
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
using System;
 | 
			
		||||
using System;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
using System.IO;
 | 
			
		||||
using System.Linq;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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
 | 
			
		|||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
//MCCScript 1.0
 | 
			
		||||
//MCCScript 1.0
 | 
			
		||||
 | 
			
		||||
MCC.LoadBot(new AutoLeaveOnLowHp());
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -19,4 +19,4 @@ namespace MinecraftClient.ChatBots
 | 
			
		|||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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";
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
//MCCScript 1.0
 | 
			
		||||
//MCCScript 1.0
 | 
			
		||||
//using System.Collections.Specialized;
 | 
			
		||||
//using MinecraftClient.Protocol;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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]}";
 | 
			
		||||
        }
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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();
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
//MCCScript 1.0
 | 
			
		||||
//MCCScript 1.0
 | 
			
		||||
//using System.Threading.Tasks;
 | 
			
		||||
 | 
			
		||||
//==== CONFIG START ====
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
//MCCScript 1.0
 | 
			
		||||
//MCCScript 1.0
 | 
			
		||||
//using System.Threading.Tasks;
 | 
			
		||||
 | 
			
		||||
MCC.LoadBot(new QIWI_DonationBot());
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
//MCCScript 1.0
 | 
			
		||||
//MCCScript 1.0
 | 
			
		||||
 | 
			
		||||
MCC.LoadBot(new SugarCaneFarmer());
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
//MCCScript 1.0
 | 
			
		||||
//MCCScript 1.0
 | 
			
		||||
 | 
			
		||||
MCC.LoadBot(new SugarCaneMiner());
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
//MCCScript 1.0
 | 
			
		||||
//MCCScript 1.0
 | 
			
		||||
 | 
			
		||||
MCC.LoadBot(new TreeFarmer());
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
//MCCScript 1.0
 | 
			
		||||
//MCCScript 1.0
 | 
			
		||||
//using System.Threading.Tasks;
 | 
			
		||||
//dll Newtonsoft.Json.dll
 | 
			
		||||
//using Newtonsoft.Json;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
# - ORelio
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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);
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
//MCCScript 1.0
 | 
			
		||||
//MCCScript 1.0
 | 
			
		||||
 | 
			
		||||
MCC.LoadBot(new PMForwarder());
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -36,4 +36,4 @@ public class PMForwarder : ChatBot
 | 
			
		|||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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);
 | 
			
		||||
MCC.PerformInternalCommand(randomCommand);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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);
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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();
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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);
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
//MCCScript 1.0
 | 
			
		||||
//MCCScript 1.0
 | 
			
		||||
 | 
			
		||||
MCC.LoadBot(new WatchLamp());
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -58,4 +58,4 @@ class WatchLamp : ChatBot
 | 
			
		|||
        }
 | 
			
		||||
        else checkCount++;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
Some files were not shown because too many files have changed in this diff Show more
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue