Skip to content

Instantly share code, notes, and snippets.

@maruohon
Created February 1, 2020 23:08
Show Gist options
  • Save maruohon/0fcfa9b5a6900f174bc2503ef2c63444 to your computer and use it in GitHub Desktop.
Save maruohon/0fcfa9b5a6900f174bc2503ef2c63444 to your computer and use it in GitHub Desktop.
Tweakeroo block placement features

Block rotations and offsets in Tweakeroo:

  • Tweakeroo has two separate tweaks for rotations: Flexible Block Placement and Accurate Block Placement.
  • In both cases you need to enable the feature in the Tweak Toggles category (or using a hotkey in Tweak Hotkeys)
  • Then you need to set the activation keys in the Generic Hotkeys category, which you will hold when you want to place a block in a certain way.
  • Flexible Placement gives you the 5-way overlay that you may have seen in some videos. Using the offset activation key, it will place the block either diagonally or with a one block gap from the clicked block. With the rotation key it will rotate the block to "face to the direction indicated by the overlay" (play with it to get a feel for it).
  • The Accurate Placement feature is what you usually want for pistons/observers/droppers/dispensers. It has two activation keys, accurateBlockPlacementInto and accurateBlockPlacementReverse. The into key will make the placed block face into the clicked block side. The reverse key will reverse the direction from whatever it would be otherwise. You can use the reverse key either alone or together with the into key.
  • Accurate Placement is basically the same feature that Carpet Client + Carpet mod offer in 1.12 with the Accurate Placement protocol.
  • For these rotations to work for anything other than blocks that are placed based on the block side you click on (those being things like Logs, Quartz Pillars etc.), you need to either be in single player or on a server that has either the QuickCarpet mod, or Fabric Carpet + Carpet-Extra installed and the accuratePlacement rule enabled.
  • You also need to have the carpetAccuratePlacementProtocol option enabled in Tweakeroo (currently in the Tweak Toggles category, but will move to Generic soon).
  • In single player you additionally need to have the clientPlacementRotation option enabled in the Generic category.
@x3MasTerOrlov
Copy link

I enabled all the functions as indicated in the instructions, but Flexible Block Placement still does not work.
huge_2024-11-27_12 19 15
huge_2024-11-27_12 19 22
huge_2024-11-27_12 19 28
huge_2024-11-27_12 19 43

@maruohon
Copy link
Author

What does "doesn't work" mean exactly? Do you see the 5-way overlay when you hold the keys? How does the block get placed or what happens? And are you in single player or on a server? If on a server, what type of server, an does it have the required mod to handle the protocol?

I also see that the above text has a typo, I believe the Carpet rule is actually called accurateBlockPlacement. And in 1.21+ instead of Carpet Extra, Servux 0.3+ can be used instead on the server side.

@x3MasTerOrlov
Copy link

I see 5-way overlay but I can't place block in other rotations or diagonally in single player.

@maruohon
Copy link
Author

If even diagonal placement doesn't work in single player, then I'd first suspect a conflict with some other mod.

@x3MasTerOrlov
Copy link

Thank you very much, the problem really was that it conflicted with another mod.

@maruohon
Copy link
Author

Which mod was it in this case?

@x3MasTerOrlov
Copy link

I'll find out now. I just have a big list of mods.

@x3MasTerOrlov
Copy link

It's CleanCut mod 6.0 version

@x3MasTerOrlov
Copy link

Maybe cleancut perceives the overlay as grass, which is why even with the overlay shown it is not possible to place the block differently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment