How would I go about detecting an item dropped using an effect?

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

NixTer

Supporter ++
Feb 26, 2024
557
30
28
Elmo's world
Currently, I have this code snippet:
Python:
drop 1 of chest named "{@prefix} &c%victim%'s DeathPackage" at event-location
On drop, last dropped item,
Python:
on spawn:
    event-entity is an item
    #rest
and further methods have all failed (I know this due to using debug messages and several other ways of testing, all which should have worked if it was being detected).

Any way to detect this type of dropping? If it helps, this is in an On death event and I did use cancel drops but I have tested and confirmed that the chest still drops, so why can't I detect it dropping?
 
Last edited:
I...clearly explained it. I wish to detect the dropping of an item through skript expressions using a different event so I can apply data to it.