Picraft
Nonograms for your Paper server!
Picraft
Picraft
Picraft is a plugin for PaperMC 1.21.11 that adds nonograms to Minecraft for players to work together to solve.
Commands
``/picraft:buildRandom dimension x y z width height``</br> Creates a new fully random nonogram with width * height at the dimension and location. </br> Very fast, but will likely create a nonogram with multiple solutions. </br> The nonogram will be considered solved if any solution is input, </br> but these problems can be more tedious to try solve.
``/picraft:buildUnique dimension x y z width height``</br> Creates a new random nonogram with width * height at the dimension and location. </br> Quite slow, but creates a nonogram with a unique solution. </br> Runs asynchronously, so shouldn't cause hitching even if it takes a while
``/picraft:buildExisting dimension x y z width height encoding``</br> Creates a nonogram copy using the encoding with width * height at the dimension and location. </br> Very fast, but the existence of multiple solutions depends on using a good encoding. </br> Encodings are strings that represent the solution in hexidecimal. </br> ``buildRandom`` and ``buildUnique`` will output the encoding they create, but you can also generate an encoding using this p5.js project
``/picraft:buildRepeat dimension x y z``</br> Creates a copy of the last nonogram created </br> Very fast, ideal for repeating a `buildRandom` for competitions etc </br>
``/picraft:remove dimension x y z``</br> Removes any placement at the location </br> Can also remove any entities that remain if something went wrong </br>
``/picraft:forceSolve dimension x y z``</br> Solve the placement at the location </br> Solves according to the encoding, so will work on multi-solution problems </br> Locks you from modifying the nonogram afterward, akin to giving up </br>
Credits
</br></br>
AI Disclaimer
The code for generating single-solution nonograms was generated by AI