WorldEdit

WorldEdit

42M Downloads

[WE API] Clipboard and blocks manipulations

Quenteez opened this issue ยท 1 comments

commented

WorldEdit Version

7.3.0-beta-03+d6d222e

Platform Version

[email protected]+1.20.4, FabricLoader: 0.15.3

Confirmations

  • I am using the most recent Minecraft release.
  • I am using a version of WorldEdit compatible with my Minecraft version.
  • I am using the latest or recommended version of my platform software.
  • I am NOT using a hybrid server, e.g. a server that combines Bukkit and Forge. Examples include Arclight, Mohist, and Cardboard.
  • I am NOT using a fork of WorldEdit, such as FastAsyncWorldEdit (FAWE) or AsyncWorldEdit (AWE)

Bug Description

I ran into a problem, maybe the developers will be able to tell me what I can do to solve it. I use the WorldEdit API to manage schematics. I wrote the following code (here), which pastes the schematic "layer by layer", taking into account the direction of the player's gaze. Everything seems to be working correctly, but there are problems with positioning the blocks at the X and Z coordinates. For some reason, the player's position does not seem to be taken into account. I came to the conclusion that clipboard.setOrigin() does not lead to anything. The schematic is simply set diagonally relative to the player.

Video (here).

Expected Behavior

The blocks will be placed correctly

Reproduction Steps

nothing there

Anything Else?

No response

commented

The issue tracker is for reporting bugs in WorldEdit, not for help using our API. Use the Discord for API help.