Procedure for dropped item

Started by xhytenzhi on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Procedure for dropped item
Wed, 12/03/2025 - 13:53 (edited)

Hello,

i simpley want to call a procedure when a mob was killed. But its jsut impossible and makes no sense.
My procedure just adds a tag to the dropped items from the mob.

When i try to call this procedure after a mob is killed i get the error "you have selected external trigger that does not provide the following dependencies: itemstack"

that totally makes no sense because it is setting up tags for itemstacks...

 

I dont understand anyways, why dropped items from killed mobs or loottables arent "Item is dropped" in a procedure...

http://autosyn.eu/temp/mc_err_1

http://autosyn.eu/temp/mc_proc_1

 

 

Edited by xhytenzhi on Wed, 12/03/2025 - 13:53
Entity dies trigger does not…
Wed, 12/03/2025 - 15:12

Entity dies trigger does not provide itemstack dependency

Your other procedure has itemstack by "item is dropped" procedure, but the other procedure that calls it does not have such dependency.

This works perfectly as it should

Joined Oct 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I understand, but: When a…
Thu, 12/04/2025 - 11:26

I understand, but:

When a mob dies, it drops items by loottables. Why do these dropped items do not count as "Item is dropped" ? There is also no other option to trigger a precedure when a loottable is dropped ( or whatever it is called )

 

You are confusing things a…
Sat, 12/06/2025 - 16:06

You are confusing things a bit. You calling items is dropped is completely separate procedure triggers. You can't call this procedure from another trigger if it does not provide said dependency at the same time

Joined Oct 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hi, i solved this problem by…
Sun, 12/14/2025 - 14:52

Hi, i solved this problem by using "On Entity Tick".

Items on ground are entities. i still dont know, why dropped items from loottables are not "item is dropped" but okay...