The only real way to keep a potion effect forever is to connect a redstone clock to a command block with the command. Just put 9999999 for the duration and you should be good.
How do you put potion effects on a sword in Minecraft?
Potion effects are ONLY achievable through mixing recipes in a brewing stand, using the /effect command, or using a command block. Other than that, you can’t add potion effects to anything other than bottles, command blocks, chat, players, and mobs. You can’t place it on weapons, armour, or blocks for that matter.
Can you put the Wither effect on a sword?
When the wither drops to 50% health, use the strength II potion and hit the wither with a diamond sword until the wither is defeated.
How do you give yourself potions with commands?
You have to use the command /summon . Summons an entity (mobs, projectiles, items, vehicles, etc.). The entity for the Potion is called “ThrownPotion”. If you want a special effect to that Potion you have to use a variable where you are able to configure the effect.
What potion ID is strength?
List of potion effects
| ID | Name | Potion |
|---|---|---|
| 5 | Strength | Potion of Strength |
| 6 | Instant Health | Potion of Healing |
| 7 | Instant Damage | Potion of Harming |
| 8 | Jump Boost | Referenced by “Potion of Leaping” by game, but potion not currently present unless using custom potion features |
Is there a way to give players potion effects?
I’m trying to figure out a way to give potion effects to players that have a certain item in their inventory. Is there a way to do this? It has to be able to affect multiple players at once. Something like /effect @a [itemInInventory=260] 3 7 (I don’t really know the effect command )
What happens when you hold a potion in RuneScape?
But there’re not only potion effects : The items could also have attribute modifiers when held in the slot (s) you want, which could change the normal player’s stats : -Its max health (adding or removing hearts)
How to make an item give an effect?
First, create a dummy objective called ‘anduril’. Next, you will need to create the item. You want the item to be named something unique, so that the command block can’t give the effect unless you’re holding the item.
Are there any attribute modifiers for potions in Minecraft?
But there’re not only potion effects : The items could also have attribute modifiers when held in the slot (s) you want, which could change the normal player’s stats : Here’s a full detailed article about attributes :