Identify what item just despawned

Started by RedTShirtGamin… on

Topic category: Help with modding (Java Edition)

Last seen on 10:32, 7. Apr 2022
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Identify what item just despawned
Thu, 03/17/2022 - 13:31 (edited)

Hi,

I want to make a procedure where a mob will spawn based on what item just despawned. How would I do this?

Thanks! :)

 

EDIT: If it can't be done using MCreator's block code, how would I do it using the text code editor?

Edited by RedTShirtGaming Studios on Thu, 03/17/2022 - 13:31
Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
when item despawns global…
Thu, 03/17/2022 - 16:24

when item despawns global trigger

if event target entity to itemstack = your_item

 do Whatever