Logic · Step
Entity potion effect: set override
Changes the entity potion effect's override before the server goes on with it. Paper: the new potion effect will override the old potion effect (Only applicable for the CHANGED action). Only before any Wait.
m.on.entity_potion_effect.set_override
In a flow
“When a potion effect changes → Entity potion effect: set override → Done”
When a potion effect changes → Entity potion effect: set override → Done
What it does
Changes the entity potion effect's override before the server goes on with it. Paper: the new potion effect will override the old potion effect (Only applicable for the CHANGED action). Only before any Wait. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. Find it under Logic in the palette.
When to use it
Use it to decide what happens next: changes the entity potion effect's override before the server goes on with it. Paper: the new potion effect will override the old potion effect (Only applicable for the CHANGED action). Only before any Wait.
When not to
If nothing should change in Discord, a value node or a check is lighter.
Typical wiring
Sockets: settings you can wire
- Override Yes / no
-
The entity potion effect's new override.
What goes there: Type it in the side panel, or wire in true or false. e.g. true
If it's empty: Optional. Left alone, it's off.
Connects fromAdd a labelAdd to a leaderboardAge from birthdayAI check a messageAnagram checkAndAnswer a deadlineAnti-nuke guardand 270 more