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

Adding entity expressions & conditions #7088

Open
wants to merge 31 commits into
base: dev/feature
Choose a base branch
from

Conversation

Nuutrai
Copy link

@Nuutrai Nuutrai commented Sep 18, 2024

Description

I've added most of the remaining features on the entity section (forgot to mention that when initially posting) todo list, however I'll continue trying to work on the ones remaining


Target Minecraft Versions: any
Requirements: none
Related Issues: Todo List (#4185)


Let me know if you have any suggestions such as syntax (I know syntax will probably want to be changed).

@Nuutrai Nuutrai changed the base branch from master to dev/feature September 18, 2024 01:08
@Fusezion

This comment was marked as resolved.

@Nuutrai
Copy link
Author

Nuutrai commented Sep 18, 2024

I found it, but thank you!

Copy link
Member

@cheeezburga cheeezburga left a comment

Choose a reason for hiding this comment

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

On top of all the comments, would love to see tests for all of these!

src/main/java/ch/njol/skript/conditions/CondIsTicking.java Outdated Show resolved Hide resolved
src/main/java/ch/njol/skript/conditions/CondIsTicking.java Outdated Show resolved Hide resolved
@cheeezburga cheeezburga added enhancement Feature request, an issue about something that could be improved, or a PR improving something. feature Pull request adding a new feature. and removed feature Pull request adding a new feature. labels Sep 18, 2024
Nuutrai and others added 2 commits September 18, 2024 11:15
Added EffCustomName
Added EffCustomName test
Removed ExprCustomNameVisibility.java
Fixed ParseResult import
Copy link
Member

@cheeezburga cheeezburga left a comment

Choose a reason for hiding this comment

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

Just needs some tests for the other syntax still

src/main/java/ch/njol/skript/effects/EffCustomName.java Outdated Show resolved Hide resolved
src/main/java/ch/njol/skript/effects/EffCustomName.java Outdated Show resolved Hide resolved
src/main/java/ch/njol/skript/effects/EffCustomName.java Outdated Show resolved Hide resolved
src/main/java/ch/njol/skript/effects/EffCustomName.java Outdated Show resolved Hide resolved
@sovdeeth
Copy link
Member

Please do not add any more syntaxes than what you have to this pr, and for future additions try to keep prs focused on a single topic. Working on that todo list is great but we want the prs to be small and focused so that issues with one part don't slow down other parts that are good to go!

@Nuutrai
Copy link
Author

Nuutrai commented Sep 19, 2024

Please do not add any more syntaxes than what you have to this pr, and for future additions try to keep prs focused on a single topic. Working on that todo list is great but we want the prs to be small and focused so that issues with one part don't slow down other parts that are good to go!

Alrighty! I'll work on the test for CondIsTicking (since it's a little hard to test CondFromMobSpawner), then I'll mark the pr as ready for review. (Let me know if any of the other things need tests or anything!)

@Nuutrai Nuutrai marked this pull request as ready for review September 19, 2024 14:13
Copy link
Member

@sovdeeth sovdeeth left a comment

Choose a reason for hiding this comment

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

looks pretty good!

@Nuutrai
Copy link
Author

Nuutrai commented Sep 19, 2024

Whoops, forgot to rename ExprMaxFireTicks

@Nuutrai Nuutrai requested a review from sovdeeth October 3, 2024 15:51
@cheeezburga cheeezburga added the feature-ready A PR/issue that has been approved, tested and can be merged/closed in the next feature version. label Oct 9, 2024
@Nuutrai Nuutrai changed the title Adding features to help complete the todo list Adding entity expressions & conditions Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature request, an issue about something that could be improved, or a PR improving something. feature-ready A PR/issue that has been approved, tested and can be merged/closed in the next feature version.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants