Skip to content

Conversation

Fusezion
Copy link
Contributor

@Fusezion Fusezion commented Mar 16, 2025

Description

This PR aims to add the entity shoot bow event, and most of it's related syntax.

The only syntax not included in this are the shouldConsume and setConsumeItem the reason for this is their current lack of functionality, setConsumeItem is deprecated due to not being implemented, and shouldConsume seems to always return true.
This was tested with both entities, survival mode and creative mode

I am currently unsure how implementing a test for this would go

Any feedback regarding how the expression syntax would be great shot force isn't great, but there just doesn't feel like any better terms for it.

Consumed item was decided on due to it's generic name making this expression easily expandable into other events with similar methods.


Target Minecraft Versions: 2.11.1
Requirements: none
Related Issues: #6403

@Romitou Romitou added the feature Pull request adding a new feature. label Mar 16, 2025
Fusezion and others added 2 commits March 16, 2025 12:34
Co-authored-by: Efnilite <35348263+Efnilite@users.noreply.github.com>
@Fusezion Fusezion requested review from Efnilite March 16, 2025 16:39
Whoops

Co-authored-by: Efnilite <35348263+Efnilite@users.noreply.github.com>
@Fusezion Fusezion requested review from Efnilite March 16, 2025 18:05
Copy link
Contributor

@ShaneBeee ShaneBeee left a comment

Choose a reason for hiding this comment

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

small minor stuff

Fusezion and others added 2 commits March 16, 2025 19:26
Co-authored-by: Shane Bee <shanebolenback@me.com>
Co-authored-by: Shane Bee <shanebolenback@me.com>
@Fusezion Fusezion requested a review from ShaneBeee March 17, 2025 00:00
Copy link
Contributor

@ShaneBeee ShaneBeee left a comment

Choose a reason for hiding this comment

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

👍

@Fusezion Fusezion requested a review from a team as a code owner March 22, 2025 18:03
@Fusezion Fusezion requested review from cheeezburga and erenkarakal and removed request for a team March 22, 2025 18:03
@Fusezion Fusezion requested a review from sovdeeth March 23, 2025 01:57
@Fusezion Fusezion requested a review from sovdeeth March 23, 2025 07:48
@sovdeeth sovdeeth added the feature-ready A PR/issue that has been approved, tested and can be merged/closed in the next feature version. label Mar 23, 2025
@erenkarakal erenkarakal merged commit cb531e7 into SkriptLang:dev/feature Mar 31, 2025
5 checks passed
@Fusezion Fusezion deleted the feature/entity-shoot-bow-event branch April 7, 2025 14:18
@skriptlang-automation skriptlang-automation bot added completed The issue has been fully resolved and the change will be in the next Skript update. and removed feature-ready A PR/issue that has been approved, tested and can be merged/closed in the next feature version. labels May 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
completed The issue has been fully resolved and the change will be in the next Skript update. feature Pull request adding a new feature.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants