GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - SmokeyStack/adk: Create add-ons using C++. No more using JSON

BranchesTags
Open more actions menu

Latest commit

 

History

339 Commits
339 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
adk
adk
 
 
docs/html
docs/html
 
 
test
test
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
CMakeLists.txt
CMakeLists.txt
 
 
CMakeLists.txt.in
CMakeLists.txt.in
 
 
README.md
README.md
 
 
SetupTests.cpp
SetupTests.cpp
 
 
compile.bat
compile.bat
 
 
config.yaml
config.yaml
 
 

Repository files navigation

Add-on Development Kit

This Add-on Development Kit(ADK) allows you to create add-ons without writing JSON! It is similar to Forge's MDK for Minecraft: Java Edition

Usage

ADK can be used in two ways, as a standalone or as a regolith filter. The difference between the two is the way you import ADK and how you export your add-on. As a standalone, you will need to manually copy the files to your com.mojang folder. As a regolith filter, you just need to set up your config.json and regolith will do the rest.

Installing ADK

Common Steps

  • Install Visual Studio Build Tools
  • Install CMake
  • Install vcpkg and set up command line integration as described in the Vcpkg docs. Remember the location of vcpkg's CMAKE_TOOLCHAIN_FILE
  • Run vcpkg install spdlog:x64-windows

Standalone

  • Clone this repository
  • Copy the contents of the adk/data folder to your project

Regolith Filter

  • Install Regolith
  • Run regolith init in your directory of choice
  • Run regolith install adk

How to use

After you have installed ADK, you can start creating add-ons. Create a BP and RP folder in your project directory. Create your manifest.json like you would normally do for any add-on.

Getting Started

In the Main.cpp file, edit the custom_namespace to your liking. These will be used as your add-on's namespace. The main files which you will be using is the Data.cpp, Language.cpp, Object.cpp and Recipe.cpp files.

What are these files?

  • Object.cpp is where you will be adding your blocks and items.
  • Data.cpp is where you will be adding your textures to your blocks and items.
  • Recipe.cpp is where you will be adding your recipes.
  • Language.cpp is where you will be adding your translations.

See the files in the data folder for examples.

Building

Standalone

  • Run compile-standalone.bat to build your add-on

Regolith Filter

  • Run regolith run default(or whichever profile you're using) to build your add-on

Third Party Software

This project uses the following third party software:

  • gabime/spdlog
  • nlohmann/json

About

Create add-ons using C++. No more using JSON

Topics

bedrock-editionminecraftregolith-filter

Resources

Readme
Activity

Stars

9 stars

Watchers

2 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.