Error trying to make an enchantment that gives positive effects if any mob or player with a negative effect is nearby.

Started by RedNight315 on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Error trying to make an enchantment that gives positive effects if any mob or player with a negative effect is nearby.

To get straight to the point, the error is that the external trigger doesn't provide the dependency called "itemstack." How can I fix this?

(I'm using Google Translate, sorry if the text isn't clear)

On entity tick update is…
Fri, 05/16/2025 - 13:40

On entity tick update is entity trigger that has no itemstack dependency provided

You will need to e.g. obtain itemstack from main hand or something, it can't determine by itself which itemstack you meant.

Please see this playlist, especially dependencies video: https://www.youtube.com/playlist?list=PL5k7swYOU_yQmXeMlnRW-AziTmM-69LyP