Skip to content

Yellow-Dog-Man/Substrate

 
 

Repository files navigation

Substrate
Copyright (C) 2011 Justin Aquadro
Copyright (C) 2025 leha-code

This fork of Substrate adds support for little-endian integers and MCPE NBT file headers.
The output DLL can be used as a drop-in for anything that uses Substrate (e.g. NBTexplorer). It will write with the same header (None, MCPE, ENT) as read, provided the same NBT tree object is used for both operations.
A precompiled DLL should be in the releases section.
Locally I upgraded the projects to framework 4.6-ish but the code should work, if not, please open an issue or pull request.

LICENSE:
   
Substrate is licensed under the MIT License.  See LICENSE.txt.

ABOUT:

Substrate is a fully-developed .NET SDK for editing Minecraft worlds. Substrate
provides high- and low-level APIs for manipulating Alpha and Beta-compatible 
maps and player data. Substrate is developed in C# as a CLS-compliant assembly,
and example code is provided for both C# and VB.NET. A brief list of 
Substrate's capabilities are:

    * Alpha and Beta map compatibility
    * Separate block, chunk, and region views
    * Global and local coordinate systems
    * Automatic and manual light recalculation
    * Automatic and manual fluid recalculation
    * Automatic chunk cache management
    * Automatic TileEntity? and Heightmap consistency
    * Entity editing support
    * Player editing support
    * Level data editing support
    * Edit existing worlds or create new ones
    * Schematic import and export
    * Low-level APIs for NBT reading, writing, and validation 

Most of the Substrate APIs are fully documented, including a compiled API 
reference document and XML documentation for Intellisense. A number of 
different example projects are provided in C# and VB.NET.

Substrate is compatible with .NET Framework 2.0 or higher and Mono, and should 
be compatible with any CLI language. All feedback is welcome: open an Issue or 
respond in our Minecraft Forums thread. 

About

Comprehensive .NET SDK for reading and writing Minecraft worlds and data

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 96.3%
  • Visual Basic .NET 3.5%
  • C++ 0.2%