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

Tool Components #7200

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

Conversation

TheAbsolutionism
Copy link

Description

This PR aims to add support for the upcoming Tool Components to Skript.

This will be marked as draft due to Tool Components being ApiStatus.Experimental at this time.
Open to any syntax changes.


Target Minecraft Versions: any
Requirements: none
Related Issues: none

Copy link
Contributor

@Fusezion Fusezion left a comment

Choose a reason for hiding this comment

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

Here's 19 reviews to eventually be completed or ignored idk

Comment on lines +26 to +29
Skript.registerCondition(CondToolRuleDrops.class, ConditionType.PROPERTY,
"[the] tool rule drops of %toolrules% (is|are) enabled",
"[the] tool rule drops of %toolrules% (is|are) disabled"
);
Copy link
Contributor

Choose a reason for hiding this comment

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

Any chance we can possibly get one that reflects the behavior more?

loop tool rules of tool component of {_item}:
    loop-tool rule is correct for drops
    broadcast "%loop-tool rule% is correct for drops"

@Romitou Romitou added the feature Pull request adding a new feature. label Nov 8, 2024
@TheAbsolutionism TheAbsolutionism marked this pull request as ready for review November 10, 2024 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Pull request adding a new feature.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants