Skip to content

DandelionBold/BlockCore-SDK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

BlockCore-SDK

License .NET Status

Official developer toolkit for building engine-level extensions for BlockCore.

BlockCore-SDK provides CLI tools, schemas, templates, and documentation for creating plugins, resource packs, data packs, and shader extensions that work across all BlockCore-based games.


🎯 What is BlockCore-SDK?

BlockCore-SDK is the dev-time toolkit for extending the BlockCore engine. It helps you:

  • Scaffold plugins and packs with official templates
  • Validate your extensions against engine versions
  • Package distributable .zip files with correct manifests
  • Test compatibility across BlockCore versions

Think of it as: The official "mod tools" for BlockCore engine itself.


πŸš€ Quick Start

Installation

# Install globally via dotnet tool
dotnet tool install -g BlockCore.SDK

# Or download standalone binary
# Windows: blockcore-sdk-win-x64.zip
# Linux: blockcore-sdk-linux-x64.tar.gz
# macOS: blockcore-sdk-osx-x64.tar.gz

Create Your First Plugin

# Scaffold a new Lua plugin
blockcore new plugin MyPlugin --lang lua

# Validate against engine version
blockcore validate ./MyPlugin --engine ^0.5

# Package for distribution
blockcore pack ./MyPlugin --out MyPlugin-1.0.0.zip

πŸ“¦ What Can You Build?

1. Engine Plugins

Extend engine behavior with scripted logic:

  • Custom commands
  • Event handlers (onTick, onBlockPlace, etc.)
  • Gameplay systems

Example: Teleport plugin, custom worldgen rules

2. Resource Packs

Override visual and audio assets:

  • Textures
  • Models
  • Sounds
  • UI layouts
  • Localization strings

Example: HD texture pack, custom UI theme

3. Data Packs

Define data-driven content:

  • Block definitions
  • Item definitions
  • Recipe configurations
  • Biome settings

Example: New block types, custom biomes

4. Shader Packs

Custom rendering profiles:

  • Material definitions
  • Shader parameters
  • Post-processing effects

Example: Toon shading, cinematic mode


πŸ“š Documentation


πŸ› οΈ CLI Commands

Command Description
blockcore new <type> <name> Scaffold plugin, pack, or extension
blockcore validate <path> Validate manifests and schemas
blockcore pack <path> Create distributable .zip
blockcore install <zip> Install to local game
blockcore dev --watch Auto-repack on file changes

Examples

# Create a Lua plugin
blockcore new plugin HomeTP --lang lua

# Create a resource pack
blockcore new resource HiResPack

# Create a data pack
blockcore new data CustomBlocks

# Validate against specific engine version
blockcore validate ./HomeTP --engine ^0.6

# Package for release
blockcore pack ./HomeTP --out HomeTP-1.0.0.zip

# Install to MineWorld for testing
blockcore install HomeTP-1.0.0.zip --game-path ~/Games/MineWorld

πŸ“‹ Extension Types

Plugin Manifest

{
  "id": "author:plugin_name",
  "name": "My Plugin",
  "version": "1.0.0",
  "type": "plugin",
  "engine": "^0.6",
  "entry": "main.lua",
  "side": "server",
  "permissions": ["commands.register", "world.read"],
  "capabilities": ["chat", "events.tick"]
}

Resource Pack Manifest

{
  "id": "author:pack_name",
  "name": "My Resource Pack",
  "version": "1.0.0",
  "type": "resource",
  "engine": "^0.4",
  "capabilities": ["textures", "models", "sounds"]
}

πŸŽ“ Tutorials


🌟 Example Extensions

  • Teleport Plugin - /home and /sethome commands
  • HD Texture Pack - High-resolution block textures
  • New Ores Data Pack - Custom ore generation
  • Toon Shader Pack - Cell-shaded rendering

(All examples coming with v0.1 release)


🀝 Contributing

We welcome contributions to the SDK toolkit itself!

Development Setup

# Clone the SDK repository
git clone https://github.com/DandelionBold/BlockCore-SDK.git
cd BlockCore-SDK

# Build the CLI tool
dotnet build

# Run tests
dotnet test

# Install locally for testing
dotnet pack
dotnet tool install --global --add-source ./nupkg BlockCore.SDK

πŸ”— Related Projects


πŸ“„ License

BlockCore-SDK is licensed under MIT License.

Example assets and templates are licensed under CC BY 4.0.


🌟 Related Projects

Core Engine

Game Implementation

Game-Specific Tools


πŸ’¬ Community

  • GitHub Issues: Bug reports and feature requests
  • Discussions: SDK questions and feedback

Build extensions. Power games. Welcome to BlockCore-SDK.

About

Official developer toolkit for building engine-level extensions, plugins, and content packs for the BlockCore engine. CLI (blockcore), schemas, and templates; built on .NET.

Topics

Resources

License

Unknown, CC-BY-4.0 licenses found

Licenses found

Unknown
LICENSE
CC-BY-4.0
LICENSE-CC-BY-4.0

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors