Git Product home page Git Product logo

litematica-printer's Introduction

Litematica-Printer

Setup

To set this up just add the latest litematica version to your mods folder as well as this, it will replace easy place with printer. If carpet extra /quickcarpet enabled accurateblockplacement, you can turn on option, and... here goes the overpowered printer.

Install guide

Install fabric (well, use MultiMC), litematica, malilib, and put this into mods folder. then you can just use easyplace. Bedrock breaking is highly dependent on your ping, so you should set up delay higher than ping. for example if your ping is 200ms, then set delay to upper than 0.2. in singleplayer, ping is 0 so whatever.

Caution

(WON'T FIX) paper, spigot or other types can have their own anti cheat to prevent 'not-looking' placement, which means you can't do anything with this. There's some option to nerf printing action at https://github.com/jensvh/litematica-printer/releases/tag/v1.0.4, but still we can't assure if it would work or not. Use this if you are sure about it.

Issue tracker

Mainly 1.17 is supported, 1.16.5 is being supported only partially (without some recent updates) since I'm not really good at java. 1.18 version might be there if I learn how to use gradlew properly... Feel free to clean up my code or improve things, or use at some other mods, like separating functionalities. I'm not doing it because I don't know how to.

Settings

Printer settings:

easyPlaceModeRange (x,y,z):  "X,Y,Z Range for EasyPlace"
easyPlaceModeMaxBlocks:  "Max block interactions per cycle"
easyPlaceModeBreakBlocks:  "Automatically breaks blocks."
easyPlaceModeDelay:  "Delay between printing blocks.Do not set to 0 if you are playing on a server."
easyPlaceModeHotbarOnly:  "Only place blocks from your hotbar. This bypasses some anti-cheats."
easyPlaceModeFlippincactus:  "Allows Rotating incorrect blocks when carpet option is enabled and holding cactus on your mainhand"
easyPlaceModeClearArea:  "Remove nearby fluids, within easyplace range, to prevent errors. uses slime block to remove lava, sponges for water. WILL STOP OTHER ACTIONS"
easyPlaceModeClearAreaCobblestone:  "Use cobblestones instead of slime block to remove lava
REQUIRES : easyPlaceModeClearArea TRUE"
ClearSnowLayer:  "It will place string where snow layer exists, ignores placement boxes, Only use if you need to. DEFAULT : FALSE"
AccurateBlockPlacement:  "If carpet mod AccurateBlockPlacement is enabled (from extra or quickcarpet), you can turn on and printer will be rotation-free"
easyPlaceModeUsePumpkinPie:  "If composter Level filling is needed, printer will use pumpkin pie to adjust its level"
CarpetExtraFixedVersion:  "Carpet extra currently not supports some blocks, if its updated or server is using Quickcarpet, test this."
easyPlaceModeObserverAvoidAll:  " Observer will avoid being placed when its watching state(not block) is not correct"
BedrockBreaking:  "Removes bedrock when it needs to, will stop other actions, it needs BreakBlocks TRUE and haste 2, eff 5 pickaxe, works more well with accurateblockplacement.
REQUIRES : easyPlaceModeBreakBlocks TRUE"
BedrockBreakingUseSlimeBlocks:  "Places slime block to easily remove it"

Handy litematica settings:

easyPlaceMode:  "When enabled, then simply trying to use an item/place a block on schematic blocks will place that block in that position."
easyPlaceModeHoldEnabled:  "When enabled, then simply holding down the use key and looking at different schematic blocks will place them"
easyPlaceClickAdjacent:  "If enabled, then the Easy Place mode will try to click on existing adjacent blocks. This may help on Spigot or similar servers, which don't allow clicking on air blocks."
pickBlockAuto:  "Automatically pick block before every placed block"
pickBlockEnabled:  "Enables the schematic world pick block hotkeys. There is also a hotkey for toggling this option to toggle those hotkeys... o.o", "Pick Block Hotkeys"
pickBlockIgnoreNBT:  "Ignores the NBT data on the expected vs. found items for pick block. Allows the pick block to work for example with renamed items."
pickBlockableSlots:  "The hotbar slots that are allowed to be used for the schematic pick block. Can use comma separated individual slots and dash separated slot ranges (no spaces anywhere). Example: 2,4-6,9"
placementInfrontOfPlayer:  "When enabled, created placements or moved placements are positioned so that they are fully infront of the player, instead of the placement's origin point being at the player's location"
renderMaterialListInGuis:  "Whether or not the material list should be rendered inside GUIs"
signTextPaste:  "Automatically set the text in the sign GUIs from the schematic"

easyPlaceActivation:  "When the easyPlaceMode is enabled, this key must be held to enable placing the blocks when using the vanilla Use key"
easyPlaceToggle:  "Allows quickly toggling on/off the Easy Place mode"

Support

If you have any issues with this mod DO NOT contact and bother masa with it. Please message me in discord, I am usually around Scicraft, Mechanists, and Hekate.

Credits

Masa is the writer of the actual litematica mod and allowed all of this to be possible. Andrews is the one who made the litematica printer implimentation, I just converted it to mixin.

License

This template is available under the CC0 license. Feel free to learn from it and incorporate it in your own projects.

TODO List (most possible to least possible)

Water placement - should be done with ice placement and request breaking.

Waterlogged block placement - will be placed when water source is there because it will automatically waterlog it

Fix block "face" rounding(rotation) issue, due to player rotation while using right click.

Sorter item filling - not likely

litematica-printer's People

Contributors

13rac1 avatar aria1th avatar asiekierka avatar dragoneggbedrockbreaking avatar eatmyvenom avatar i509vcb avatar jensvh avatar modmuss50 avatar nikkyai avatar pannoniae avatar prospector avatar selebrator avatar shnupbups avatar technici4n avatar upcraftlp avatar venomsother avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.