minecraft-pi-reborn/example-mods
TheBrokenRail 4523935d62
All checks were successful
CI / Build (AMD64, Server) (push) Successful in 12m25s
CI / Build (AMD64, Client) (push) Successful in 12m48s
CI / Build (ARM64, Server) (push) Successful in 12m48s
CI / Build (ARM64, Client) (push) Successful in 13m18s
CI / Build (ARMHF, Server) (push) Successful in 9m15s
CI / Build (ARMHF, Client) (push) Successful in 12m53s
CI / Test (Client) (push) Successful in 15m7s
CI / Test (Server) (push) Successful in 12m23s
CI / Release (push) Has been skipped
CI / Build Example Mods (push) Successful in 7m44s
Fix Example Mod (Again)
2024-05-05 02:17:46 -04:00
..
chat-commands Fix Example Mod (Again) 2024-05-05 02:17:46 -04:00
expanded-creative Simplify Some Code 2024-01-23 21:58:18 -05:00
recipes Simplify Some Code 2024-01-23 21:58:18 -05:00
build.sh Bug Fixes & Low-Level Improvements 2024-02-12 00:44:38 -05:00
README.md More CMake Tweaks 2022-08-05 20:08:13 -04:00

Example Mods

This is an example of a mod that can be built using the modding SDK.

  • Expanded Creative Mod: This specific mod adds even more items and blocks to the Creative Inventory. It was originally by @Bigjango13.
  • Chat Commands Mod: This specific mod makes an chat message starting with a / handled by the MCPI API.
  • Recipes Mod: This specific mod demos custom recipes.

The SDK

The modding SDK is a collection of exported CMake targets that allows anyone to create their own MCPI mod!

The SDK is copied to ~/.minecraft-pi/sdk/lib/minecraft-pi-reborn-client/sdk/sdk.cmake whenever MCPI-Reborn is started.

How do I use this?

mkdir build
cd build
cmake ..
cp libexpanded-creative.so ~/.minecraft-pi/mods