LtxProgrammer / LtxProgrammer/Changed-Minecraft-Mod
Multiplayer signs break on load for clients
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 83
- Forks
- 58
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 2
Description
Upon loading a Changed Wall Sign, clients break with
`INDEXARRAYOUTOFBOUNDSEXCEPTION ARRAY INDEX 5 OUT OF 3`
And I just thought through the error and I've come to some realizations.
You might be declaring these signs as SIGN ENTITIES, which breaks the handler for signs in vanilla.
It's not getting the messages field which is what breaks the handler.
You can instantiate a workaround fix by providing dummy fields which are empty, this would stop the crashes.
However, a complete fix would be overhauling the wall signs to instantiate them as PAINTING entities.
The client does NOT expect text to accompany these.
Contributor guide
No contributing guide indexed for this repository
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
No files, tests, or entry points are named. Start by tracing how Changed Wall Signs are instantiated and handled on client load, then compare the sign-entity path with the suggested painting-entity approach; done means multiplayer clients load these signs without the reported array-bounds exception.
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
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 48/100