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.)
m (Wait no, we need type.)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{ModuleInfobox|name=Potion Swords|icon=potion_swords.png|creator=Bluefire610|updater=SpecialBuilder32 & Bluefire610|versions=1.13|type=Stand Alone}}
{{ModuleInfobox|type=Stand Alone|creator=Bloo|updater=Bloo and SpecialBuilder32|versions=1.8+}}


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.
[[File:Witherize mobs.gif|thumb|Attacking mobs with the poison potion|400x400px]]
 
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 26:
|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 35: Line 41:
|+
|+
!Advancement
!Advancement
!Description
!Requirement
!Requirement
|-
|-
|Instant Regret
|{{Advancement|Golden Sword|Instant Regret|Wither-ize a skeleton with potion swords}}
|Wither-ize a skeleton with potion swords.
|Strike a skeleton with the wither effect (Poison II potion)
|Strike a skeleton with the wither effect (Poison II potion)
|}
|}
Line 57: Line 61:
|Released Potion Swords
|Released Potion Swords
|-
|-
|rowspan=5 | 1.9
| rowspan="4" | 1.9
|rowspan=5 | 10 Feb 2016
| rowspan="4" | 10 Feb 2016
|Updated for 1.9 command format
|-
|Removed wither skeleton loot table
|Removed wither skeleton loot table
|-
|-
|Changed behavior of some potion effects
|Changed behavior of some potion effects
|-
|-
|Added "Instant Regret" achievement
|Added "Instant Regret" achievement<ref group="note">now advancements</ref>
|-
|-
|Added Invisibility potion effect
|Added Invisibility potion effect
|-
|-
|1.11
| 1.13
|10 Jun 2017
| 19 Nov 2018
|Updated for 1.11 command format
|-
|1.12
|10 Jun 2017
|Updated for 1.12 command format
|-
|rowspan=2 | 1.13
|rowspan=2 | 19 Nov 2018
|Updated for 1.13 data packs
|-
|Slight Changes to detection and range of potion effects
|Slight Changes to detection and range of potion effects
|}
|}
Line 87: Line 79:


=== MC 1.8 Version ===
=== 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.
In the MC 1.8 version 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, 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.  


=== MC 1.9-1.12 Versions ===
=== 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.
In the MC 1.9-1.12 versions, 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.
 
{{Notes}}
 
[[Category:All Modules]]
[[Category:All Modules]]
[[Category:Stand Alone Modules]]
[[Category:Stand Alone Modules]]

Latest revision as of 21:03, 11 July 2021

Potion Swords

Module TypeStand Alone
Created byBloo
Last Updated byBloo and SpecialBuilder32
Compatible MC Versions1.8+

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

Features

Attacking mobs with the poison potion

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 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 Removed wither skeleton loot table
Changed behavior of some potion effects
Added "Instant Regret" achievement[note 1]
Added Invisibility potion effect
1.13 19 Nov 2018 Slight Changes to detection and range of potion effects

Previous Versions

MC 1.8 Version

In the MC 1.8 version 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, 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.

MC 1.9-1.12 Versions

In the MC 1.9-1.12 versions, 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.

Notes

  1. now advancements