Enchantment book that inflicts a potion effect

Started by λLk2106 on Sat, 06/18/2022 - 18:08

Topic category: Help with modding (Java Edition)

Last seen on 18:03, 1. Jul 2022
Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Enchantment book that inflicts a potion effect
Sat, 06/18/2022 - 18:08

Hello!

Recently I have been trying to make an enchantment book that when given to something (Ex: Sword) will then cause the attacked entity to gain a potion effect. (Ex: Attack zombie, inflict levitation).

I have been struggling greatly with trying to figure out how exactly to make this happen, as I am not extremely well versed in Mcreator's coding side.

If someone could please assist me, I much more of a visual learner and a photo of what the code would look like, or just a workspace with the code, would help me a ton. I've seen only a few others try and tackle the same issue I'm having and also come up empty handed, so I apologize if this is a duplicate post.

Cheers!

Last seen on 18:03, 1. Jul 2022
Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
You send that like I haven't…
Sun, 06/19/2022 - 02:28

You send that like I haven't read it over a dozen times and am still struggling

Last seen on 09:03, 13. Jul 2022
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Sorry but could I ask what…
Sun, 06/19/2022 - 02:36

Sorry but could I ask what version of mcreator you're using?

Last seen on 18:03, 1. Jul 2022
Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I'm using 2022.1, the most…
Sun, 06/19/2022 - 02:41

I'm using 2022.1, the most recent build to my knowledge

Last seen on 09:03, 13. Jul 2022
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Sorry for making you wait…
Sun, 06/19/2022 - 03:25

Sorry for making you wait. When you said you not good with mcreator I don't really know how much exactly that you not know about mcreator. So I just assume that you already known all the basic (even though this is not that advanced or anything). Anyway here the procedure. If there're any difficulty, you could always ask me more (as if I know everything).

https://ibb.co/bB5RyvV 

Hope this helps.

Last seen on 18:03, 1. Jul 2022
Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Thank you so much! But I'm…
Sun, 06/19/2022 - 03:27

Thank you so much! But I'm sorry to inform you that the link says that the page doesn't exist. I'm not sure how that site works exactly, but you might need to enable sharing or something.

 

Last seen on 09:03, 13. Jul 2022
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Sorry here the link  https:/…
Sun, 06/19/2022 - 03:46

Sorry here the link 

https://ibb.co/bB5RyvV

Last seen on 18:03, 1. Jul 2022
Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
You are such a life saver,…
Sun, 06/19/2022 - 04:10

You are such a life saver, thank you so much!