delete event-dropped item

  • 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!

ktm

Member
Jan 4, 2025
2
0
1
23
Code:
on break:
    if {seeds::*} contains type of drops of block:
        delete event-dropped item
I want to delete of the seeds that the crop drops.
No problem with the {seeds::*}. Im sure the second syntax doesn't work.
I need a help
 
you need to loop the drops and then check if seeds contains type of loop-value
 
you need to loop the drops and then check if seeds contains type of loop-value
Thanks, but i don't know how to delete dropped item.
Code:
on break:
    loop drops of block:
        if {seeds::*} contains type of loop-value:
            delete loop-value
I tried
delete
delete dropped item
delete event-dropped item
but i got an error '~ can't be deleted/cleared' or not working. 'delete drops' deletes all the items. What should i do?