20 lines
783 B
Markdown
Raw Normal View History

2022-06-26 21:17:52 -04:00
# Example Mods
2022-08-05 20:08:13 -04:00
This is an example of a mod that can be built using the modding SDK.
2022-06-25 17:30:08 -04:00
2022-06-26 21:17:52 -04:00
* **Expanded Creative Mod**: This specific mod adds even more items and blocks to the Creative Inventory. It was originally by [@Bigjango13](https://github.com/bigjango13).
* **Chat Commands Mod**: This specific mod makes an chat message starting with a ``/`` handled by the MCPI API.
2022-06-27 14:47:55 -04:00
* **Recipes Mod**: This specific mod demos custom recipes.
2022-06-25 17:30:08 -04:00
## The SDK
The modding SDK is a collection of exported CMake targets that allows anyone to create their own MCPI mod!
2022-06-25 17:49:09 -04:00
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?
```sh
mkdir build
cd build
cmake ..
cp libexpanded-creative.so ~/.minecraft-pi/mods
```