IntellectualSites / IntellectualSites/FastAsyncWorldEdit
Itemframe and Heads not rotating (using -e)
Nobody has claimed this yet.
- 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
- Copy a block with itemframe and item attached. use //copy -e to affect the entities
- Rotate them using //rotate 90 e.x
- Paste with //paste -e
- Final effecf
Expected behaviour
It should correctly match the wall position for itemframe and armorstand/head
Screenshots / Videos
Error log (if applicable)
No response
Fawe Debugpaste
https://athion.net/ISPaster/paste/view/595ee834e7414c4c926a11c1a2c086fb
Fawe Version
2.13.2-SNAPSHOT-1147;0a754a3
Checklist
- I have included a Fawe debugpaste.
- I am using the newest build from https://ci.athion.net/job/FastAsyncWorldEdit/ and the issue still persists.
Anything else?
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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