Potion Swords: Difference between revisions

Edited Page
m (→‎History: Correct "datapack" to "data pack" where applicable.)
(Edited Page)
Line 1: Line 1:
{{ModuleInfobox|name=Potion Swords|icon=potion_swords.png|creator=Bluefire610|updater=SpecialBuilder32 & Bluefire610|versions=1.13|type=Stand Alone}}
{{ModuleInfobox|name=Potion Swords|icon=potion_swords.png|creator=Bluefire610|updater=SpecialBuilder32 & Bluefire610|versions=1.15|type=Stand Alone}}


This module allows golden swords to inflict potion effects on mobs and players.
This module allows golden swords to inflict potion effects on mobs and players.


== Details ==
== Features ==
When using a golden sword and if the player has any of the [[Potion Swords#Effects|4 compatible potions]] in their inventory, mobs (or in some cases the player) will be afflicted with a status effect without using up the potion. The striker will not be affected by any of the effects.
When attacking with a golden sword, players with [[Potion Swords#Effects|certain potions]] in their inventory will cause enemies nearby to be afflicted with a corresponding potion effect. With each strike, "a small amount of potion is sprayed into the air around the blade", thus never consuming the potion item in the process. The striker will not be affected by any of the effects.
 
=== Technical Summary ===
The area of effect is 2.5 blocks around the striker. The potion effects can be stacked, so a single sword swing can cause all 4 potion effects. The striker will not be affected by any potion effects.
 
Striking a skeleton with the Poison II potion in the player's inventory will turn it into a wither skeleton. The wither skeleton will still hold a bow, but the loot table will be empty.


=== Effects ===
=== Effects ===
Line 30: Line 25:
|Applies invisibility for 8 seconds to nearby players
|Applies invisibility for 8 seconds to nearby players
|}
|}
=== Wither Skeletons ===
Afflicting a skeleton with wither will cause it to transform into a wither skeleton. The wither skeleton will have the same equipment as the skeleton it came from, but will not drop any items when it dies.
=== Technical Details ===
Potions effect enemies with 2.5 blocks of a point 2 blocks in front of the striker, though only the directly attacked skeleton will transform into a wither skeleton.
The potion effects are not mutually exclusive, and can all be used at once.
Wither Skeletons are given an empty loot table which prevents all item drops, except for when they are blown up by a charged creeper, in which case they will drop their skull.


=== Advancements ===
=== Advancements ===
Line 57: Line 62:
|Released Potion Swords
|Released Potion Swords
|-
|-
|rowspan=5 | 1.9
| rowspan="5" | 1.9
|rowspan=5 | 10 Feb 2016
| rowspan="5" | 10 Feb 2016
|Updated for 1.9 command format
|Updated for 1.9 command format
|-
|-
Line 77: Line 82:
|Updated for 1.12 command format
|Updated for 1.12 command format
|-
|-
|rowspan=2 | 1.13
| rowspan="2" | 1.13
|rowspan=2 | 19 Nov 2018
| rowspan="2" | 19 Nov 2018
|Updated for 1.13 data packs
|Updated for 1.13 data packs
|-
|-
Bureaucrats, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, translator
101

edits