How could you make a potion give you the shulker effect?

Started by MagicBear3000 on

Topic category: Help with modding (Java Edition)

Last seen on 20:20, 3. Oct 2019
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How could you make a potion give you the shulker effect?

Hello! I need help with creating a potion, I was trying to figure it out but got no where, I want to make a potion that gives you the effect that a shulker gives you for 15 seconds, if anyone is able to help, thank you

Last seen on 17:49, 25. Mar 2021
Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It's called levitation. You…
Wed, 07/03/2019 - 07:55

It's called levitation. You can use the procedure block "give potion effect to entity" to give potion effects.

Last seen on 20:20, 3. Oct 2019
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hey thanks! I will try that!
Fri, 07/05/2019 - 21:47

Hey thanks! I will try that!

Last seen on 20:20, 3. Oct 2019
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
hey so I was looking into…
Mon, 07/08/2019 - 23:45

hey so I was looking into what you were talking about and I did end up finding the (Has this entity active potion: Levitation) but I'm not sure where to put it, I'm not very good with the procedures.. are you able to send me a picture that might work? Sorry I'm not able to understand.

Last seen on 17:49, 25. Mar 2021
Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Right now I am using the…
Tue, 07/09/2019 - 06:22

Right now I am using the mobile, so I can't send you any pictures :/

Anyway, there should be a procedure block like this in the "Entity procedures" that looks like this:

"Add potion effect to provided entity"

(It also has some options for choosing the effect, the level and the duration, however I can't remember how exactly was it written XD)

Anyway, effect levels start with 0 in MCreator (and in Minecraft codes), so if you want to give the player level 2 levitation you should write 1 as level.

And the time is counted in ticks, which are 1/20 seconds, so multiply the seconds the effect should last for by 20.

Last seen on 20:20, 3. Oct 2019
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you so much for the…
Tue, 07/09/2019 - 14:13

Thank you so much for the help! I understood what you meant and it works really well! Thank you once again!

Last seen on 17:49, 25. Mar 2021
Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm glad I could help :)
Wed, 07/10/2019 - 11:58

I'm glad I could help :)