This is the official CraftTweaker Examples repository! Ideally, this will become updated with every CraftTweaker release.
The goal of this repository is to provide examples of features, both simple and complex, with comments if possible.
The Version of this Branch is 1.21.1. The repository attempts to provide scripts that work in all loaders without errors, by either providing scripts that work in both the same way or by using preprocessors to disable scripts when required.
If you have any issues with the examples provided here, please feel free to drop by our Discord and ask in the #documentation channel!
Feel free to copy anything from this repository! We appreciate linking back and a comment for attribution, but it's not necessary.