Issue blockstate get from the item meta is set to be at 0,0,0 problam
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 38/100
Research direction
Start by reproducing the issue with the linked plugin code and the reported Folia 1.21.4 version, then trace the PlayerInteractEvent error and its block_pos={x=0, y=0, z=0} context. Done means right-clicking a Shulker Box on air opens it without the async block-data or main-thread-check error.
Written by the indexing model from the issue text.
Description
Expected behavior
ShulkerBox Should open properly after right click.
Observed/Actual behavior
There is an error: at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
[03:22:26 ERROR]: Could not pass event PlayerInteractEvent to NekoPlugin v1.4-SNAPSHOT
java.lang.IllegalStateException: Thread failed main thread check: Cannot queue block even data async, context=[thread=Region Scheduler Thread #2,class=io.papermc.paper.threadedregions.TickRegionScheduler$TickThreadRunner,region={center=[-89, 17],world=world}], world=world, block_pos=BlockPos{x=0, y=0, z=0}
Steps/models to reproduce
1.Write a plugin using the following code: https://pastes.dev/Xs6McEXrCv
2.compile plugin put and start server
3.add Shulker Box to you inventory and right-click on air
4.got error
Plugin and Datapack List
Plugin: Neko-Plugin(by me)
Datapack: Not have
Folia version
This server is running Folia version 1.21.4-DEV-dev/hard-fork@3af04d9 (1970-01-01T00:00:00Z) (Implementing API version 1.21.4-R0.1-SNAPSHOT)
Other
No response
- Dominant language
- Shell
- Stars
- 4.7k
- Forks
- 651
- Avg merge
- 10d 3h
- Merged PRs (30d)
- 3
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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.
More from PaperMC/Folia
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
status: needs triage type: bug
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
status: needs triage type: performance
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
status: needs triage type: bug
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
status: needs triage type: bug
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Similar issues
-
cicd
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
nolte/kamerplanter-appliance#53 ·
Maintainers usually reply within 1 day
-
area:scripts priority:P2 status:backlog
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
KD5UJC-XYZ/scarab#1170 ·
Maintainers usually reply within 1 day
-
SETUP: nothing verifies the decider code was ever set, so a skipped step leaves approvals token-onlyOpen
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
mattabate/life-distributable#229 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 86/100
-
bug fixed good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
sdetweil/MagicMirror-backup-restore#20 · 1 comment ·