Potion Swords

From Official Gamemode 4 Wiki
Revision as of 11:34, 2 May 2019 by Lue (talk | contribs) (→‎History: Correct "datapack" to "data pack" where applicable.)
Jump to navigation Jump to search
Potion Swords

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

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

Details

When using a golden sword and if the player has any of the 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.

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

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

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.