Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Instant Health: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Sync: new page from Minecraft
 
SyncBot (talk | contribs)
Sync: updated from Minecraft
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{About|the effect|the potion|Potion of Healing}}
{{Infobox effect
{{Infobox effect
|image = Instant Health.png
|image = Instant Health.png
Line 13: Line 12:


== Effect ==
== Effect ==
Instantly heals {{hp|2}} × 2<sup>''level''</sup> or {{hp|3}} × 2<sup>''level''</sup>{{upcoming|java Combat Tests|nocat=1}}.
Instant Health instantly heals {{hp|2}} × 2<sup>''level''</sup> or {{hp|3}} × 2<sup>''level''</sup>.{{upcoming|java Combat Tests|nocat=1}} [[Minecraft:Undead]] mobs (including the [[Minecraft:wither]]) are [[Minecraft:damage]]d as if with [[Minecraft:Instant Damage]] instead (however the base value in the preceding formula is {{hp|2}} instead of {{hp|3}}).{{Needs testing|Is this also true in java edition}} When applied using a [[Minecraft:lingering potion]], the entity is healed every second.
[[Minecraft:Undead]] mobs (including the [[Minecraft:wither]]) are [[Minecraft:damage]]d as if with [[Minecraft:Instant Damage]], instead. When applied using a [[Minecraft:lingering potion]], the entity is healed every second.


When applied via potion, level 30 (amplifier 29) heals -2<sup>31</sup>, enabling the killing of all mobs including players in [[Minecraft:Creative]]<!-- HealOrHarmMobEffect has two functions. "applyInstantenousEffect"[sic] is invoked when initially thrown at/dranken by an entity and uses a left shift to compute the healing level, which eventually wraps around to -2^31. The heal function is then invoked which lacks a validation check in vanilla and sets the entity's health to 0. Meanwhile, "applyEffectTick" is invoked when the effect is on a mob during potion tick has a similar error, but additionally has the foresight to wrap it in Math.max(..., 0), preventing the negative damage. -->. When applied via other means such as {{cmd|effect}}, level 30 provides no healing. Regardless of means, levels 31–32 (amplifiers 30–31) also provide no healing<!-- due to overflow in the calculation-->. Levels outside the range 1–32 (corresponding to amplifiers 0–31) are used [[Minecraft:wikipedia:Modulo operation|modulo]] 32, making level 33 the same as level 1, et cetera.
When applied via potion, level 30 (amplifier 29) heals -2<sup>31</sup>, enabling the killing of all mobs including players in [[Minecraft:Creative]]<!-- HealOrHarmMobEffect has two functions. "applyInstantenousEffect"[sic] is invoked when initially thrown at/dranken by an entity and uses a left shift to compute the healing level, which eventually wraps around to -2^31. The heal function is then invoked which lacks a validation check in vanilla and sets the entity's health to 0. Meanwhile, "applyEffectTick" is invoked when the effect is on a mob during potion tick has a similar error, but additionally has the foresight to wrap it in Math.max(..., 0), preventing the negative damage. -->. When applied via other means such as {{cmd|effect}}, level 30 provides no healing. Regardless of means, levels 31–32 (amplifiers 30–31) also provide no healing<!-- due to overflow in the calculation-->. Levels outside the range 1–32 (corresponding to amplifiers 0–31) are used [[Minecraft:wikipedia:Modulo operation|modulo]] 32, making level 33 the same as level 1, et cetera.


Instant Health has its duration set in game ticks (instead of seconds) with the {{cmd|effect|link=none}} command.
Instant Health has its duration set in game ticks (instead of seconds) with the {{cmd|effect}} command.


== Causes ==
== Causes ==
Line 46: Line 44:
  | I
  | I
  | {{hp|4}}
  | {{hp|4}}
  | {{hp|6}}
  | {{hp|4}} {{Verify|JE}}
  | Instant
  | Instant
  | rowspan="2" | {{EntityLink|Witch}}es throw one of these two during [[Minecraft:raid]]s.
  | rowspan="2" | {{EntityLink|Witch}}es throw one of these two during [[Minecraft:raid]]s.
Line 53: Line 51:
  | II
  | II
  | {{hp|8}}
  | {{hp|8}}
  | {{hp|12}}
  | {{hp|8}} {{Verify|JE}}
  | Instant
  | Instant
  |-
  |-
Line 59: Line 57:
  | I
  | I
  | {{hp|2}} per second<br>{{hp|10}} total
  | {{hp|2}} per second<br>{{hp|10}} total
  | {{hp|3}} per second<br>{{hp|15}} total
  | {{hp|2}} per second<br>{{hp|10}} total {{Verify|JE}}
  | 0:05
  | 0:05
  |  
  |  
Line 66: Line 64:
  | II
  | II
  | {{hp|4}} per second<br>{{hp|20}} total
  | {{hp|4}} per second<br>{{hp|20}} total
  | {{hp|6}} per second<br>{{hp|30}} total
  | {{hp|4}} per second<br>{{hp|20}} total {{Verify|JE}}
  | 0:05
  | 0:05
  |
  |
Line 73: Line 71:
  | I
  | I
  | {{hp|4}}
  | {{hp|4}}
  | {{hp|6}}
  | {{hp|4}} {{Verify|JE}}
  | Instant
  | Instant
  |
  |
Line 80: Line 78:
  | II
  | II
  | {{hp|8}}
  | {{hp|8}}
  | {{hp|12}}
  | {{hp|8}} {{Verify|JE}}
  | Instant
  | Instant
  |
  |
Line 86: Line 84:


== Immune mobs ==
== Immune mobs ==
* The [[Minecraft:ender dragon]] is immune to instant health.
* [[Minecraft:Ender dragon]]s are immune to Instant Health.
* Living [[Minecraft:mob]]s or [[Minecraft:player]]s with full [[Minecraft:health]] are unaffected by Instant Health.


== Data values ==
== Data values ==
Line 94: Line 93:
{{ID table
{{ID table
|edition=java
|edition=java
|shownumericids=y
|generatetranslationkeys=y
|generatetranslationkeys=y
|displayname=Instant Health
|displayname=Instant Health
|spritetype=effect
|spritetype=effect
|nameid=instant_health
|nameid=instant_health
|id=6
|foot=1}}
|foot=1}}


Line 128: Line 125:
|{{HistoryLine||1.14|dev=18w47a|[[Minecraft:Witch]]es may now throw splash potions of Healing at [[Minecraft:illager]]s during [[Minecraft:raid]]s.}}
|{{HistoryLine||1.14|dev=18w47a|[[Minecraft:Witch]]es may now throw splash potions of Healing at [[Minecraft:illager]]s during [[Minecraft:raid]]s.}}
|{{HistoryLine||1.15|dev=19w41a|[[File:Instant Health JE1.png|18px]] Added an effect icon texture for Instant Health.}}
|{{HistoryLine||1.15|dev=19w41a|[[File:Instant Health JE1.png|18px]] Added an effect icon texture for Instant Health.}}
|{{HistoryLine||1.20.2|dev=23w32a|The game no longer uses numeric values when storing mob effects to world. Prior to the removal of numeric IDs, this effect's numeral ID was 6.}}
}}
}}



Latest revision as of 12:06, 3 November 2026

Template:Infobox effect Instant Health is a Minecraft:status effect that instantly increases Minecraft:health for players and living Minecraft:mobs and damages the Minecraft:undead.

Effect

Instant Health instantly heals Template:Hp × 2level or Template:Hp × 2level.Template:Upcoming Minecraft:Undead mobs (including the Minecraft:wither) are Minecraft:damaged as if with Minecraft:Instant Damage instead (however the base value in the preceding formula is Template:Hp instead of Template:Hp).Template:Needs testing When applied using a Minecraft:lingering potion, the entity is healed every second.

When applied via potion, level 30 (amplifier 29) heals -231, enabling the killing of all mobs including players in Minecraft:Creative. When applied via other means such as Template:Cmd, level 30 provides no healing. Regardless of means, levels 31–32 (amplifiers 30–31) also provide no healing. Levels outside the range 1–32 (corresponding to amplifiers 0–31) are used modulo 32, making level 33 the same as level 1, et cetera.

Instant Health has its duration set in game ticks (instead of seconds) with the Template:Cmd command.

Causes

Cause Potency Heals Harms undead Length Notes
Template:ItemLink I Template:Hp Instant Template:EntityLinkes drink this potion when damaged.
Template:ItemLink II II Template:Hp Instant Two of these potions can be found on a brewing stand in Minecraft:end ships.
Template:ItemLink I Template:Hp Template:Hp Template:Verify Instant Template:EntityLinkes throw one of these two during Minecraft:raids.
Template:ItemLink II II Template:Hp Template:Hp Template:Verify Instant
Template:ItemLink I Template:Hp per second
Template:Hp total
Template:Hp per second
Template:Hp total Template:Verify
0:05
Template:ItemLink II II Template:Hp per second
Template:Hp total
Template:Hp per second
Template:Hp total Template:Verify
0:05
Template:ItemLink I Template:Hp Template:Hp Template:Verify Instant
Template:ItemLink II II Template:Hp Template:Hp Template:Verify Instant

Immune mobs

Data values

ID

Template:EffectIDLink Template:Edition: Template:ID table

Template:Edition: Template:ID table

History

Java Edition

Template:HistoryTable

Bedrock Edition

Template:HistoryTable

Legacy Console Edition

Template:HistoryTable

Java Edition Combat Tests

Template:HistoryTable

Issues

Template:Issue list

Navigation

Template:Navbox effects

Minecraft:de:Direktheilung Minecraft:es:Curación instantánea Minecraft:fr:Soin instantané Minecraft:ja:即時回復 Minecraft:ko:즉시 치유 Minecraft:pt:Vida Instantânea Minecraft:ru:Исцеление Minecraft:zh:瞬间治疗