I have a custom potion, and while testing it, I found that at random times it would simply not give me the potion effect. The potion is not at fault; I have even tried some from the creative menu. It only happens in a certain area. My first guess was lag, but none of the normal lag-fixing measures, for example, restarting minecraft,are effective.
The potion's command is:
/give @p minecraft:potion 1 0 {CustomPotionEffects:[{Id:25,Amplifier:14,Duration:20}]}
EDIT: I have noticed that in a minority of cases, the potion effect is given some 5 seconds after drinking the potion
Best Answer
The
/give
command works differently with potions than with normal items. Try This:with your duration, amplifier, and ID. If you're still having trouble, try using a Potion Generator which will create the command for you. If you're still having problems, reinstall Minecraft with your saves saved, and re-start your device.