MiNET 1.26.34.2309
dotnet add package MiNET --version 1.26.34.2309
NuGet\Install-Package MiNET -Version 1.26.34.2309
<PackageReference Include="MiNET" Version="1.26.34.2309" />
<PackageVersion Include="MiNET" Version="1.26.34.2309" />
<PackageReference Include="MiNET" />
paket add MiNET --version 1.26.34.2309
#r "nuget: MiNET, 1.26.34.2309"
#:package MiNET@1.26.34.2309
#addin nuget:?package=MiNET&version=1.26.34.2309
#tool nuget:?package=MiNET&version=1.26.34.2309
MiNET
A Minecraft: Bedrock Edition server written in C#, targeting .NET 10. This package is the server library: the RakNet transport, the Bedrock protocol, worlds, entities, and the plugin host.
Current target is protocol 1001, game version 1.26.34.
Running a server
using MiNET;
var server = new MiNetServer();
server.StartServer();
Console.WriteLine("MiNET running. Press <enter> to stop.");
Console.ReadLine();
server.StopServer();
Configuration is read from server.conf in the working directory as key=value
pairs, through MiNET.Utils.Config. Listening port, world provider, game mode, view
distance and the plugin directory all come from there.
Worlds
World storage is pluggable through IWorldProvider. In the box:
LevelDbProviderreads and writes the Bedrock LevelDB format.AnvilWorldProviderreads Java Anvil worlds, converting blocks on load.SuperflatGeneratorand friends generate in memory, taking the same preset string as Java:minecraft:bedrock,2*minecraft:dirt,minecraft:grass_block;minecraft:plains.
Plugins
A plugin is a class carrying [Plugin] or implementing IPlugin. Assemblies in the
configured plugin directory are scanned at startup.
[Plugin(PluginName = "HelloWorld")]
public class HelloWorld : Plugin
{
[Command(Description = "Says hello")]
public string Hello(Player player)
{
return $"Hello {player.Username}";
}
[PacketHandler, Receive]
public Packet OnMovement(McpeMovePlayer message, Player player)
{
return message;
}
}
[Command] methods become server commands, with parameters typed as Target,
BlockPos, BlockStates and the rest so the client offers the right picker.
[Authorize] gates them by permission. [PacketHandler] intercepts packets in either
direction.
Blocks
Blocks are addressed by name and by runtime id, not by the pre-flattening numeric id:
Block log = BlockFactory.GetBlockByName("minecraft:oak_log");
((OakLog) log).PillarAxis = "x";
level.SetBlock(log);
Links
Licensed under the Common Public Attribution License 1.0. See LICENSE.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- jose-jwt (>= 3.1.1)
- LibNoise.NetStandart (>= 0.2.0)
- log4net (>= 2.0.14)
- Microsoft.IO.RecyclableMemoryStream (>= 2.2.0)
- Microsoft.TestPlatform.ObjectModel (>= 17.0.0)
- MiNET.astar (>= 1.0.14)
- MiNET.fnbt (>= 1.0.22)
- MiNET.LevelDB (>= 1.0.36)
- Newtonsoft.Json (>= 13.0.1)
- Portable.BouncyCastle (>= 1.9.0)
- SharpAvi (>= 3.0.0)
- SixLabors.ImageSharp (>= 2.1.0)
- SixLabors.ImageSharp.Drawing (>= 1.0.0-beta14)
- System.IO.Hashing (>= 10.0.10)
- System.Security.Cryptography.ProtectedData (>= 6.0.0)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on MiNET:
| Package | Downloads |
|---|---|
|
OpenMiNET.OpenAPI.Locale
Add locale support to OpenMiNET.OpenAPI |
|
|
OpenMiNET.OpenAPI
A Powerful MiNET Plugin API - Making it easier for multiple plugins to work together nicely. |
|
|
miop
MiNET에서 권한 기능을 사용할 수 있습니다. (Only Korean) |
|
|
HuHelper
工具类,包括crc校验,HEX格式转换成float,int类型,转换成字符串,保存和读取AppSettings格式配置文件,保存和读取Json格式的配置文件 |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.26.34.2309 | 0 | 8/5/2026 |
| 1.26.34.2308 | 0 | 8/5/2026 |
| 1.0.2307 | 0 | 8/5/2026 |
| 1.0.2304 | 379,868 | 4/21/2022 |
| 1.0.2303 | 3,689 | 4/1/2022 |
| 1.0.2302 | 3,115 | 3/31/2022 |
| 1.0.2301 | 2,263 | 3/31/2022 |
| 1.0.2300 | 2,259 | 3/31/2022 |
| 1.0.2299 | 2,488 | 3/31/2022 |
| 1.0.2298 | 2,539 | 3/31/2022 |
| 1.0.2297 | 2,835 | 3/29/2022 |
| 1.0.2296 | 3,848 | 1/24/2022 |
| 1.0.2295 | 2,381 | 1/18/2022 |
| 1.0.2294 | 2,351 | 1/17/2022 |
| 1.0.2293 | 2,382 | 1/2/2022 |
| 1.0.2292 | 2,164 | 12/30/2021 |
| 1.0.2291 | 2,246 | 12/19/2021 |
| 1.0.2290 | 2,359 | 12/5/2021 |
| 1.0.2287 | 3,480 | 11/5/2021 |
| 1.0.2286 | 2,297 | 11/5/2021 |