Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable Entity Collision without Team #1466

Open
LeScooter opened this issue Aug 17, 2024 · 0 comments
Open

Disable Entity Collision without Team #1466

LeScooter opened this issue Aug 17, 2024 · 0 comments
Labels
enhancement New (or improvement to existing) feature or request

Comments

@LeScooter
Copy link

At present, the only method to disable collision between entities, such as two players, involves assigning one of the players to a team and updating the team's CollisionRule. This rule is then evaluated by the utility function pushableBy within EntitySelector.java, which is used by LivingEntity to query pushable entities when calling pushEntities.

It would be beneficial to have an official feature through NeoForge that allows setting collision rules directly on an entity without the need to place the entity within a team.

@LeScooter LeScooter added the enhancement New (or improvement to existing) feature or request label Aug 17, 2024
@LeScooter LeScooter changed the title Disable Collision without Team Disable Entity Collision without Team Aug 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New (or improvement to existing) feature or request
Projects
None yet
Development

No branches or pull requests

1 participant