Skip to content

EntityComponent Player - #2889

Merged
IntegratedQuantum merged 14 commits into
PixelGuys:masterfrom
tillpp:PlayerComponent
Jun 2, 2026
Merged

IntegratedQuantum merged 14 commits into
PixelGuys:masterfrom
tillpp:PlayerComponent

Conversation

@tillpp

@tillpp tillpp commented Apr 12, 2026 •

Copy link
Copy Markdown
Contributor

Needed for ECS10

Adds a component with all information relevant for the player. (for example PlayerIndex)

client side change:
Entity.playerIndex to main.entity.components.@"cubyz:player".get(entityId).?.playerIndex

  • a few Patches

fixes #2760

@tillpp tillpp mentioned this pull request Apr 27, 2026
2 tasks done

@IntegratedQuantum IntegratedQuantum left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also rebase and fix conflicts

Comment thread src/entityComponent/player.zig Resolved
Comment thread src/entityComponent/player.zig Resolved
Comment thread src/entityComponent/player.zig Resolved
Comment thread src/gui/windows/players.zig Resolved
Comment thread src/server/server.zig Resolved
@IntegratedQuantum IntegratedQuantum moved this from High Priority to In review in PRs to review May 3, 2026
Comment thread src/entity.zig Resolved
Comment thread src/entityComponent/player.zig Resolved
Comment thread src/entityComponent/player.zig Resolved
Comment thread src/entityComponent/player.zig Resolved
Comment thread src/entityComponent/player.zig Resolved
tillpp and others added 4 commits June 1, 2026 20:22
Co-authored-by: IntegratedQuantum <43880493+IntegratedQuantum@users.noreply.github.com>
Co-authored-by: IntegratedQuantum <43880493+IntegratedQuantum@users.noreply.github.com>
Co-authored-by: IntegratedQuantum <43880493+IntegratedQuantum@users.noreply.github.com>
Co-authored-by: IntegratedQuantum <43880493+IntegratedQuantum@users.noreply.github.com>
@IntegratedQuantum

Copy link
Copy Markdown
Member

This fixes #2760 right?

@tillpp

tillpp commented Jun 1, 2026

Copy link
Copy Markdown
Contributor Author

this was specificly made with #2760 in mind

@RanPix

RanPix commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

i think he wants you to add fixes #2760 to the pr description

@IntegratedQuantum

Copy link
Copy Markdown
Member

please link it next time

@IntegratedQuantum
IntegratedQuantum merged commit 55f418e into PixelGuys:master Jun 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Introduce players specifc entity component

3 participants