Transform effect not working (?)
Skript/Server Version
[Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[Skript] Server Version: 1.21.4-227-7675321 (MC: 1.21.4)
[Skript] Skript Version: 2.11.2 (skriptlang-github)
[Skript] Installed Skript Addons:
[Skript] - SkBee v3.11.3 (https://github.com/ShaneBeee/SkBee)
[Skript] - skript-gui v1.3 (https://github.com/APickledWalrus/skript-gui)
[Skript] Installed dependencies:
[Skript] - Vault v1.7.3-b131
[Skript] - WorldGuard v7.0.13+82fdc65
Bug Description
is it a bug that i cannot prevent zombies from turning to drowned?
on zombie transform: cancelling this event makes it transform into a drowned, change back to a zombie, and lose all of its items
on zombie transforming: cancelling this event has the same exact thing above happen, when you would expect "transforming" to stop it from even starting to become a drowned in the first place
all of that seems unintentional
Expected Behavior
For it to fully cancel the event, I put above, mostly
Steps to Reproduce
Use that code / effect , add a cancel event, and spawn a custom zombie in water with armor/weapons/etc
Errors or Screenshots
None
Other
Need this effect to work as intended desperately.
Agreement
- [x] I have read the guidelines above and affirm I am following them with this report.
Cannot reproduce using Skript 2.11.2 on MC 1.21.5 and 1.21.4.
Code tested with:
on zombie transform:
cancel event
Edit: I forgot to add items on the zombie, it does lose items
Skript simply cancels the EntityTransformEvent. We have no control over how that manifests. It seems Paper/Spigot's implementation removes items, but we cannot fix that. As far as on zombie transforming there's no event triggered at the 'start' of the transformation, just as the moment the zombie turns into a drowned.