procedure is not working

Started by Jonathan_w_bluzie on

Topic category: Help with modding (Java Edition)

Last seen on 20:14, 9. May 2023
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
procedure is not working

I wanted to make a procedure 

When player kills a "Spreger" (custom mob" then give him a "Disgeted meat" or add potion effect weakness

 

But when im killing it the only thing is that mob drops Disgeted meat.

 

Last seen on 06:13, 28. Aug 2023
Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Change "sheep" to your…
Sat, 05/06/2023 - 14:04

Change "sheep" to your custom mob. Change the melon block to your custom item.

https://imgur.com/a/xYA4VLc

Last seen on 20:14, 9. May 2023
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks, it worked! only…
Sat, 05/06/2023 - 16:57

Thanks, it worked! only there are two small problems

-the mob drops more than one piece of an item

- Sometimes player gets drop and effect

do you know what can be done about it?