minecraft-pi-reborn/example-mods
2022-06-26 21:17:52 -04:00
..
chat-commands Better Examples 2022-06-26 21:17:52 -04:00
expanded-creative Better Examples 2022-06-26 21:17:52 -04:00
README.md Better Examples 2022-06-26 21:17:52 -04:00

Example Mods

This is an example of a mod that cane 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.

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