Enchantment not triggering

Started by Hacinson on

Topic category: Help with MCreator software

Last seen on 07:50, 28. Oct 2023
Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Enchantment not triggering

Hello, i am trying to make enchantment that will have % chance of absorbing all incoming damage from mobs/players AND dispplay certain thing when successfuly absorbed.

Today i was testing it but it seems that it does not work. Can anyone with more experience look at it and tell me what i did wrong? 

Thanks

 

Enchant procedure: https://pasteboard.co/uVS2ZvYkxbqZ.png

overlay procedure: https://pasteboard.co/SQ6M5Mhn2ATL.png

 

note: i made global logic variable to store the info about if enchantment successfuly absorbed damage and then display overlay, during the tests i neither absorbed damage nor i seen my overlay pop up

 

Last seen on 13:24, 6. Jun 2024
Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
try changing to "get slot"…
Sun, 10/15/2023 - 21:40

try changing to "get slot" thingy to 3 instead of 2, it should work

Last seen on 07:50, 28. Oct 2023
Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
sorry for super super late…
Sat, 10/28/2023 - 07:51

sorry for super super late reply but i have work

anyway it's still not working, any other idea?

Last seen on 21:26, 19. May 2024
Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I think slot 2 was right,…
Sat, 10/28/2023 - 08:29

I think slot 2 was right, anyways

use the block with inventory i think it is (somewhere in entity or player data) as that block you use only works if they have inventory open atm.