This is a template PistonLib Mod. It allows you to quickly setup your own piston mod using PistonLib.
Setting up the template is pretty straightforward. Everything's been automated!
- Open the
setup.configfile and change the following values:mod_id- Changepistonmodtemplateto your new mod idmod_name- ChangePistonModTemplateto your mod name/archive base name (without spaces)maven_group- Changeca.fxcoto your packageaccess_widener- Set totrueif you want to use access widenersmixin- Set totrueif you want to use mixinuse_pistonlib_config- Set totrueif you want to use pistonlib's config system- Make sure there's a new line at the end of the config
- Now run the setup file
- On Windows, run
setup.bat - On Mac/Linux, run
setup.sh
- On Windows, run
- You're done.
- The setup file changes the structure of the template mod, to use your values!
- Now you can start working on your piston mod
📦 ca.fxco.pistonmodtemplate
┣ 📂 base
┃ ┣ ModBlockEntities
┃ ┣ ModBlocks
┃ ┣ ModItems
┃ ┣ ModPistonFamilies
┃ ┗ ModStickyGroups
┣ 📂 client
┃ ┗ PistonModTemplateClient
┗ PistonModTemplate
This template mod provides a couple base template examples for different types of implementations.
You can find all of them by searching for TODO-TEMPLATE.
These templates should be replaced with your own implementations!