An extension for Litematica that adds the missing printer functionality for 1.19, 1.18 and 1.17
AGPL-3.0 License
This extension adds printing functionality for Litematica fabric 1.20, 1.19, 1.18 and 1.17 versions. Printer allows players to build big structures more quickly by automatically placing the correct blocks around you.
mods/
folder.Using the printer is straightforward: You can toggle the feature by pressing CAPS_LOCK
by default. To configure
variables such as
printing speed and range, open Litematica's settings by pressing M + C
and navigate to "Generic" tab. Printer's
configuration can be
found at the bottom of the page. You can also rebind the printing toggle under "Hotkeys" tab. Holding down V
by
default will also
print regardless if the printer is toggled on or off.
If you have issues with the printer, do not bother the original creator of Litematica (maruohon) with them. Contact me instead. Feature requests or bugs can be reported via GitHub issues, or in Discord. I'll try to keep a todo list of things I'm planning to implement and fix, so please look for duplicates there first.
Before creating an issue, make sure you are using the latest version of the mod. To make fixing bugs easier, include the following information in your issue:
Currently, the following features are still broken or missing:
Also, I have decided that features that fix existing builds, such as automatic excavation or correcting incorrectly placed blocks are out of the scope of this mod.
Each Minecraft version has its own submodule, that has the default fabric mod development tasks
and contains the version-specific code. To reduce the amount of work I have to do to make
it work for multiple Minecraft versions, I created this hacky gradle script that copies the
common code over to the other version implementations. Currently, the script copies everything,
except implementation/
folder, which should therefore be the only places containing any
version specific code.
If you want to make changes to the mod, I would recommend you to first implement them for
the latest Minecraft version (1.19), and then running the syncImplementations
gradle task,
found in the same subproject as your changes, to copy the common code of that submodule
to the other implementations. After that you will only have to write / copy manually
the version-specific code (found in the implementation
folder) to the other versions and do some testing to ensure
everything works.
Contributions are welcome and appreciated! I have recently rewritten the whole project, so that it would be much easier to work with.
Also, if you know a better way to develop for multiple Minecraft versions that doesn't involve multiple git branches or hacky gradle scripts (perhaps a way to share common code between the implementations?), please let me know.
Useful gradle tasks:
[v1_19/v1_18/v1_17]:syncImplementations
buildAll
build/
directory for easy distribution.[v1_19/v1_18/v1_17]:runClient