Started by
xhytenzhi
on
Topic category: Help with Minecraft modding (Java Edition)
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 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
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 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
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...