IntellectualSites / IntellectualSites/FastAsyncWorldEdit

Itemframe and Heads not rotating (using -e)

Open
#3,263 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Requires Testing
Dominant language
Java
Stars
806
Forks
394
Avg merge
22h 19m
Merged PRs (30d)
14

Description

Server Implementation

Paper

Server Version

1.21.5

Describe the bug

The bug occurs with entities (itemframes, armostands, sometimes heads?). When I copy them with -e and paste -e but after //rotate then itemframe with object won't rotate and it breaks.
It also spawns errors in the console, but not from FAWE
[17:02:33 ERROR]: Block-attached entity at invalid position: BlockPos{x=5419, y=7, z=8187}
[17:02:33 ERROR]: Block-attached entity at invalid position: BlockPos{x=5418, y=7, z=8188}
[17:02:33 ERROR]: Block-attached entity at invalid position: BlockPos{x=5417, y=7, z=8186}
[17:02:33 ERROR]: Block-attached entity at invalid position: BlockPos{x=5419, y=7, z=8187}
[17:02:33 ERROR]: Block-attached entity at invalid position: BlockPos{x=5419, y=7, z=8185}

To Reproduce
  1. Copy a block with itemframe and item attached. use //copy -e to affect the entities
  2. Rotate them using //rotate 90 e.x
  3. Paste with //paste -e
  4. Final effecf
Expected behaviour

It should correctly match the wall position for itemframe and armorstand/head

Screenshots / Videos
Image
Error log (if applicable)

No response

Fawe Debugpaste

https://athion.net/ISPaster/paste/view/595ee834e7414c4c926a11c1a2c086fb

Fawe Version

2.13.2-SNAPSHOT-1147;0a754a3

Checklist
Anything else?

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with //copy -e, //rotate 90, and //paste -e on the supplied Paper 1.21.5 setup, then inspect the entity rotation and paste handling described by the debugpaste. Done means item frames, armor stands, and heads remain correctly attached to their rotated wall positions without the reported invalid-position errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.