aleksilassila / litematica-printer

An extension for Litematica that adds the missing printer functionality for 1.19, 1.18 and 1.17
GNU Affero General Public License v3.0
303 stars 73 forks source link

[Feature request] Add a block cache to wait for data sync. #234

Open Cassy-Lee opened 1 week ago

Cassy-Lee commented 1 week ago

Easy place have a cache to avoid repeating action on same position before block state sync (see https://github.com/sakura-ryoko/litematica/blob/pre-rewrite/fabric/1.21/src/main/java/fi/dy/masa/litematica/util/WorldUtils.java#L528). Litematica Printer will try to harvest a dirt block multiple times if the blockstate is not update after the first try (vanilla client won't predict harvest action).