Litematica

Litematica

8M Downloads

easy place blocks not working in servers

BigMan2o opened this issue ยท 1 comments

commented

i wanted to use easyplace on a server but it isnt working. i tried more then one fix and isnt working. is it maybe the server or litematica?
can u please look in to that?

commented

Easy Place mode block rotations on a server

The Easy Place mode uses the so called Carpet mod "accurate block placement" protocol to request the correct block rotation (and possible other properties) from the server.
This means that if you are on a server, then for the Easy Place to be able to request the correct orientation of blocks, the server needs to have the CarpetExtra mod installed, with the accurateBlockPlacement rule enabled.

Without the above mentioned server-side support Easy Place will not rotate any blocks in multiplayer.

In some cases you may need to also set the Generic -> easyPlaceProtocolVersion config to Version 2, if Litematica can't detect Carpet mod on the server otherwise.
Note that you should not keep that config hard coded to Version 2 (or Version 3 for that matter) on servers that don't have CarpetExtra, see below.

If the server doesn't and can't have CarpetExtra, then set the Generic -> easyPlaceProtocolVersion config to Auto or Slabs Only (or None), or otherwise you will just get ghost blocks with any blocks that have a rotation property, when you try to place those via the Easy Place mode. This is because vanilla 1.18.2 added a new check to the item use packet handling that basically rejects the item use packets entirely if they have been modified by the accurate block placement protocol, if the server hasn't been modded to bypass that check.

The protocol version 3 is currently only supported by Litematica itself in single player, plus when Earth's https://modrinth.com/mod/litemoretica mod is both on the server and the client.

Summary:

  • Single player: Should just work, unless you have disabled some configs or there is a mod conflict
  • Multiplayer (Fabric server): Server needs CarpetExtra and accurateBlockPlacement true rule
  • Other servers: No rotations will work.
    • Use protocol Auto, None or Slabs Only or you will only get client-side ghost blocks with any blocks that have a rotation or a top/bottom property etc.
  • Some servers or plugins may also prevent clicking on air blocks, which is what the easy place mode currently always does (even when the block is next to another block) in the MC 1.13+ mod versions. This would mean that you can't place any blocks with easy place, because you will just either get client side ghost blocks, or the block simply won't be placed at all.