Potion Swords: Difference between revisions

From Official Gamemode 4 Wiki
Jump to navigation Jump to search
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
|-
|-

Revision as of 19:20, 1 May 2020

Potion Swords

Module TypeStand Alone
Created byBluefire610
Last Updated bySpecialBuilder32 & Bluefire610
Compatible MC Versions1.15

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

Features

When attacking with a golden sword, players with 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.

Effects

Carrying the following potion in your inventory will cause the corresponding effect.

Potion Type Effect
Slowness (Extended) Causes nearby mobs to be unable to move for 4 seconds
Poison II Withers nearby mobs for 4 seconds
Instant Health II Applies absorption for 8 seconds to nearby players
Invisibility (Extended) 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

Advancement Description Requirement
Instant Regret Wither-ize a skeleton with potion swords. Strike a skeleton with the wither effect (Poison II potion)

Learn More and Download

Watch on YouTube Download

History

Version Date Change
1.8 23 Mar 2014 Released Potion Swords
1.9 10 Feb 2016 Updated for 1.9 command format
Removed wither skeleton loot table
Changed behavior of some potion effects
Added "Instant Regret" achievement
Added Invisibility potion effect
1.11 10 Jun 2017 Updated for 1.11 command format
1.12 10 Jun 2017 Updated for 1.12 command format
1.13 19 Nov 2018 Updated for 1.13 data packs
Slight Changes to detection and range of potion effects

Previous Versions

MC 1.8 Version

The MC 1.8 version did not have achievements. Additionally, the invisibility effect was not present in this version. For Slowness and Poison, the area of effect on mobs was 3 blocks around the striker. For Instant Health and Invisibility, the area of effect on players was 5 blocks around the striker. The instant health effect would affect the striker in this version. A witherized skeleton would have a normal wither skeleton loot table. The invisibility potion would only last 4 seconds in this version.

MC 1.9-1.12 Versions

In the MC 1.9-1.12 versions, the advancements were actually a simulated achievement, using tellraw to show the message. This has been transferred to advancements upon the release of the 1.13 version. For Slowness and Poison, the area of effect on mobs was 3 blocks around the striker. For Instant Health and Invisibility, the area of effect on players was 5 blocks around the striker. The instant health effect would affect the striker in this version. A witherized skeleton would have a normal wither skeleton loot table. The invisibility potion would only last 4 seconds in this version.