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

Add event-item and event-slot to Resurrect Event #5683

Merged
merged 7 commits into from
Jun 28, 2023

Conversation

sovdeeth
Copy link
Member

@sovdeeth sovdeeth commented May 6, 2023

Description

Adds an ItemStack and Slot event-values to the Entity Resurrect event. They return the item/slot used in the event (ie: the totem consumed). If no totem is present (and the event is therefore cancelled), the values will be null. Tested on both players and zombies.

Also removes the class existence checks because Skript now targets 1.13+.


Target Minecraft Versions:
Requirements:
Related Issues: #5625

@Fusezion
Copy link
Contributor

Fusezion commented May 7, 2023

Related issue #5625

@AyhamAl-Ali AyhamAl-Ali added the enhancement Feature request, an issue about something that could be improved, or a PR improving something. label May 7, 2023
Remove unnecessary event-value
@TheLimeGlass TheLimeGlass merged commit 011c91e into SkriptLang:master Jun 28, 2023
Moderocky pushed a commit to Moderocky/Skript that referenced this pull request Sep 16, 2023
@sovdeeth sovdeeth deleted the ResurrectEventItem branch September 26, 2023 17:14
NotSoDelayed pushed a commit to NotSoDelayed/Skript that referenced this pull request Oct 30, 2023
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants