How can I give myself a splashpotion or potion of invisibility with an infinite duration? I don't want to do it with / effect, but have a splash potion or normal potion with infinite duration in my inventory.
Give yourself a command block and look on YouTube or google for the specific command you need and paste it into the command block. Then execute the command over the block and have fun.
/ give @p splash_potion {CustomPotionEffects: [{Id: 14b, Amplifier: 1b, Duration: 1000000}], Potion: "minecraft: invisibility"} 1
With mcstacker.net
You can do almost all complicated commands on https://www.mcstacker.net.
I've already tried it there, but couldn't get it
Do you happen to know if you can also make a potion that removes all of your effects
Also as a splash potion
Although milk works too
Another question
What do I have to add in the command so that the particles are hidden?
/ give @p splash_potion {CustomPotionEffects: [{Id: 14b, Amplifier: 1b, Duration: 1000000, ShowParticles: 0b}]}
With "ShowParticles" on NO
NO does not exist with NBTs xD
You mean 0b right?
Yes, but you can set that on mcstacker.net… And make commands easier