Started by
MagicBear3000
on
Topic category: Help with Minecraft modding (Java Edition)
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
It's called levitation. You can use the procedure block "give potion effect to entity" to give potion effects.
Hey thanks! I will try that!
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.
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.
Thank you so much for the help! I understood what you meant and it works really well! Thank you once again!
I'm glad I could help :)