Litematica

Litematica

8M Downloads

Easy Place mode has some issues

Hurora opened this issue ยท 8 comments

commented
  • Minecraft version: 1.18.2

  • malilib-fabric-1.18.2-0.12.1 and litematica-fabric-1.18.2-0.11.1

  • When I use Easy Place mode on the server,placing Piston and Observer from schematic causes "ghost blocks" to be placed.I turned on the Carpet Accurate Block Placement protocol, and I set the easyPlaceProtocol to v2 and it's still the same.

commented

Ok, thanks for your answer

commented

There was a new check added in vanilla 1.18.2, which breaks the "accurate placement protocol" (which is used to request the specific block rotations) and trying to request rotations via the protocol just causes ghost blocks now, as the server rejects the item use packet.

Currently in single player you can fix this simply by having Tweakeroo 0.13.1 installed (and having the clientPlacementRotation option enabled, which it is by default). I'll add the same fix directly to Litematica in the next release, whenever I'll end up making one.

On a server the server would need to have a fixed version of CarpetExtra. The upstream/official CarpetExtra does not have that fix yet, my PR for the fix is still open (see gnembon/carpet-extra#250). There is a fixed build of CarpetExtra with the fix and also the improved accurate placement protocol implementation linked here: gnembon/carpet-extra#251 (comment)

commented

I tested this, and when using easy place mode and placing pistons, observers on my 1.18.2 fabric server it just becomes ghost blocks. I have the carpet extra that you made.

commented

@Caelitrum To clarify, the server has CarpetExtra 1.4.69 or later, and it also has the accurateBlockPlacement rule enabled? Those are a requirement for not making ghost blocks in 1.18.2+ on a server.

Without CarpetExtra on the server and that rule enabled, you can only use the Slabs Only Easy Place protocol version option in Litematica, without making ghost blocks of any block that has a rotation property.

commented

How do I activate the accurateBlockPlacement and how can I update the carpetextra? I have carpet extra 1.18.2 1.4.64 masa

commented

@Caelitrum You enable the rule by running the command:

/carpet accurateBlockPlacement true

or rather this, assuming you want it to also persist after a server restart:

/carpet setDefault accurateBlockPlacement true

And you update the mod by just downloading the latest 1.18.2 version that is available, which is 1.4.72, from here: https://github.com/gnembon/carpet-extra/releases and putting it to the server's mods/ directory, and removing the old CarpetExtra version you have in there.

commented

Now when I did that, all blocks I place become ghost blocks, even normal vanilla blocks like shulker. I will propertly restart server to see if that helps now.

commented

It worked! Thanks for answering so fast and helping! I just had to change protocl to v2