minecraft-pi-reborn/example-mods/README.md

20 lines
783 B
Markdown
Raw Normal View History

2022-06-27 01:17:52 +00:00
# Example Mods
2022-08-06 00:08:13 +00:00
This is an example of a mod that can be built using the modding SDK.
2022-06-25 21:30:08 +00:00
2022-06-27 01:17:52 +00: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 18:47:55 +00:00
* **Recipes Mod**: This specific mod demos custom recipes.
2022-06-25 21:30:08 +00: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 21:49:09 +00: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
```