Talk:Effect

Buff Tips
To get the buffs working on food items (For modders!)

''' 1/ Open Potion.java to find the functions there.

2/ Add .func_35425_a(potion.field_35670_H, X, X, XF) after (new ItemFood(109, 2, 0.3F, true)) "X indicates numbers"

3/ Put the buff function before .field_35670_H or you will get errors

4/ Compile and Enjoy! –The preceding unsigned comment was added by 85.210.166.138 (Talk

Potion effects image
Jeb just tweeted a potion effects image here. And this is the image here. It shows potion effects, potion levels, and potion duration, as well as potion bottles. --Ecksearoh 14:29, 27 September 2011 (UTC)

Working?
So has anyone gotten these potions working to know if the effects are correct? --Anthrophobic 15:17, 27 September 2011 (UTC)
 * potions 1, 2, 3, 6, 7, 10, 17 and 19 are tested and works. Others I didn't test — MiiNiPaaT 15:21, 27 September 2011 (UTC)
 * Thanks for clearing that up, also the effects.. like "poison", "Given from a Cave Spider's attack", what exactly is that? Does that mean that some are not potions, just labeled as a potion that comes from certain things? I am a little confused at the effects..--Anthrophobic 15:23, 27 September 2011 (UTC)


 * These "potions" are not the potions in common sense. They are more like "effects" or "buffs". When you draw the bow, the potion.moveSlowdown effect will be applied to your character and your FOV will shrink, and speed decrease. When you let go right mouse button, this effect vanish. Same to other. Some of the time they time based, some will affect you till you stp doing something. — MiiNiPaaT 15:31, 27 September 2011 (UTC)


 * So in the future, some potions will be in bottles that you drink and others are effects/buffs that happen automatically, like pulling back your bow? ---Anthrophobic 15:42, 27 September 2011 (UTC)


 * Yes, I think. — MiiNiPaaT 15:47, 27 September 2011 (UTC)

Effects?
Look at #1, So, you gain this potion from sprinting? and it turns the FOV upside down? The entire list of effects and how to obtain them confuse the crap out of me. Also look at #19, its the same way. You obtain it from being attacked by a cave spider? --Anthrophobic 15:27, 27 September 2011 (UTC)
 * potion.moveSpeed
 * Expands FOV and increases walking speed
 * Increases both effects, stronger levels turn the FOV upside down and reverse controls
 * Sprinting
 * All I see are things that have been implemented into the game and we have them. But they are labeled as "potions". Like #2, holding your bow will slow your movement down..we know that. So whats with this potion stuff?
 * It's just the java name that Notch has given it. It is an effect, not a magical concoction. --HexZyle 17:08, 27 September 2011 (UTC)

Status Effects
I think the page might need to be renamed to Status Effects. Because the effects we are seeing in-game as of Beta 1.9 Pre-release 2 are not all caused by potions. --Ecksearoh 17:03, 29 September 2011 (UTC)
 * The code calls the effects "potion.blah" regardless of the source. --Wizjany 17:06, 29 September 2011 (UTC)

Effects/Aquire Them
Everyone is posting effects and pictures of them, but what caused them? More info people.. –The preceding unsigned comment was added by Throex (Talk . Please sign your posts with


 * They likely caused them by using a mod. All of the effects have been in the code since 1.8.  Verhalthur (talk)(contribs) 17:35, 29 September 2011 (UTC)
 * I know the code, but blindness and confusion, how was that acquired?
 * NBT tags on my part, also potions can be editted in (also with NBT tags) --Wizjany 17:39, 29 September 2011 (UTC)
 * That clears it up for me. Just making sure that all the information is being posted and not half of it so we get everything done. There is alot of things being added to the wiki and edited constantly due to this 3 part adventure update. Started to get frustrated. lol --Throex 17:40, 29 September 2011 (UTC)

Images
For the icons, should each be uploaded separately or should I just upload the whole lot in one and make a template like the item one. It currently looks like this (200%) --Wizjany 17:49, 29 September 2011 (UTC)
 * There are two missing, possibly sprinting and the bow? I would do them separately, in case the image is used on another page. --Throex 17:51, 29 September 2011 (UTC)
 * What bow? The image is taken from gui/inventory.png btw, that's all there is there. --Wizjany 17:56, 29 September 2011 (UTC)
 * Never mind I counted wrong. haha My own stupid mistake. Sorry. --Throex 17:57, 29 September 2011 (UTC)
 * You have a point here...there are 19 effects but only 17 icons.. --Wizjany 18:00, 29 September 2011 (UTC)
 * Ah, so I did not count wrong. lol... I thought there were two missing. --Throex 18:05, 29 September 2011 (UTC)
 * "potion.heal" (Instant Health) and "potion.harm" (Instant Damage) don't have icons, checked in game -Wizjany 18:18, 29 September 2011 (UTC)

Screenshot at potion 15 leads to a 403 Forbidden page --83.84.123.104 17:01, 2 October 2011 (UTC)
 * Refresh it --HexZyle 02:35, 3 October 2011 (UTC)

Something to Consider
I noticed there was a "weakness" effect, but no "strength" effect in the list, despite the official screenshot given by Jeb having a strength bonus. Can someone test these effects but use negative strength rather than positive? Will this give an opposite effect? --HexZyle 14:30, 2 October 2011 (UTC)

(imgur.com) Image for Blindness
It gives me a 403 - Forbidden if I try to look at it. Can someone put it in the Wiki gallery as opposed to linking it to someplace far less indelible?
 * Refresh the error page. --HexZyle 05:39, 10 October 2011 (UTC)

Has anyone tried
Using the resist potion with another potion? perhaps it migitates the effects of other potions? I can't mod, so I can't really try it myself. Thanks: --71.137.108.71 03:31, 10 October 2011 (UTC)
 * It doesn't. Resistance only prevents physical damage, there is no coding that makes it effect other potions drunk. --HexZyle 05:34, 16 October 2011 (UTC)

Weakness
There isn't really a detailed description of what weakness does. On the Brewing page it says that it prevents the player from doing damage unless they have a weapon, and even then it is halved. I don't think this is how it works, it would be more likely that Weakness halves all damage and rounds down. This would mean that the fist damage is rounded down to zero and that it is possible to do damage with tools (with the exception of the wooden shovel) --HexZyle 05:34, 16 October 2011 (UTC)

Inventory Editing
You can currently only make levels I and II of each potion, but I understand that levels III and IV are in the code. Is there any way to acquire these potions through inventory editing? The Potions page says you can mess with damage values to get them, but I tried that and it didn't seem to work. Am I just crazy and doing it wrong? --Rasimpson 06:39, 22 November 2011 (UTC)
 * This is a slow response, but at that time you may not have been able to, but you can have the effects. Now you can have any level up to 127 (I think).  Pokechu22 02:58, 16 November 2012 (UTC)

Potion Data Values
So today I was messing around with the /i command in SPC and I was spawning myself potions. Then I realized how the game sorts out the potions:

itemID 373 = Water Bottle, it can be given an additional value to select which kind of potions it will spawn, 373:0 is a regular water bottle.

373:1 = Regeneration Potion, 373:2 = Swiftness Potion, 373:3 = Fire Resist Potion, 373:4 = Poison Potion, 373:5 = Instant Health Potion, 373:6 = No Effect, 373:7 = No Effect, 373:8 = Weakness Potion, 373:9 = Strenght Potion, 373:10 = Slowness Potion, 373:11 = No Effect, 373:12 = Instant Harm Damage, 373:13 = No Effect, 373:14 = No Effect, 373:15 = No Effect, 373:16 = No Effect (Awkward Potion).

The potions with no effects had prefixes like Artful Potion, Thick Potion, Clear Potion and Awkward Potion. Then the pattern repeats itself again giving the exact same potions in the same order (the No Effects had new prefixes) from 373:17 to 373:32. The pattern repeated itself in specific ways:

From 373:1 to 373:32 the potions were regular. From 373:33 to 373:64 the potion were Level II potions. From 373:65 to 373:96 the potions had enhanced duration. From 373:97 to 373:128 the potions were Level II with enhanced duration. On 373:129 it started back again with regular potions and it repeated itself following the same pattern.

I followed this all the way to 373:256, 373:257 started on regulars again. I don't know if the Level III and Level IV are higher than that or if they're unobtainable via spawning commands

What does this mean? 1- There will only be 16 types of potions (or 15 if the Awkward Potion remains as 373:16). There are 19 Potion effects listed so probably 3 effects will be left out. 2- It is currently impossible to get the other effects (Nausea, Protection, Invisibility, Night Vision, etc) or Level III/IV potions without the use of external inventory editing tools.

And of course, this is just a guess that I'm making after messing around with spawning commands and it could change in future updates. But seeing that the only way to change this is to rewrite the whole potions coding, I can almost safely assume I'm correct on my calculations.

* Ignore the odd bold/italic writing, wiki formatting messed up my little wall of text and I had to use them to make it slightly easier to read. --Nameless023 01:46, 28 November 2011 (UTC)

These are the damage/meta values for all the potions? This should definitely be added to one of the wiki pages. Probably the Potions one, as there is an incomplete list there, though it has completely different numbers from yours. Lunakki 00:46, 2 December 2011 (UTC)

Adjusting Numbers
Increasing the amplifier of the strength effect clearly changes the amount of damage, but doesn't seem to linearly correlate with the amount done.

Resistance does increase damage resistance, and higher levels seem to cause more resistance, leading up to what seems to be invulnerability at level 127. Negative values increase the damage taken.

It seems that effects that affect health don't wrap around.Firebastard 21:14, 1 December 2011 (UTC)


 * Resistance 4 is invulnerability. I think 5 will heal you.  Pokechu22 03:18, 16 November 2012 (UTC)

Swirl and potion liquid color are the same!
For example, swirls caused by Speed potion effect have the same color than the Potion of Swiftness. That's why I don't think we need both of swirl colors and potion images.

CosmoConsole 	 my page! my talk! my contributions! 19:07, 13 December 2011 (UTC)


 * I added them to the template for the purpose of guessing the colours of potions that aren't yet present. I think that fairly solid reasoning. Shellface

Could the two columns be merged? Show the swirls next to the potion bottle images, and have the descriptions together? That would save a column, and mean the table wasn't so squashed horizontally. Moo 16:01, 10 February 2012 (UTC)

Regeneration bug
I've been testing regeneration potions, and it seems that the regeneration effect also increases the rate you can take damage! (tested with fire and lava) can anyone confirm this and should it be added to the page?

Regenerating in any way resets your damage tick, allowing you to get hit again.

New Potions?
My friend let me play his Minecraft game, and I noticed he had these potions:


 * Potion of Growth - Makes player become larger. Attack power also increases.


 * Potion of Shrinking - Makes player become smaller. Attack power also decreases.

Could someone please tell me how to brew these, and WHAT THE HECK THEY ARE? TrollGlaDOS 03:36, 20 April 2012 (UTC)
 * Sounds like a mod to me. Maybe you should ask you friend, they'll probably know. --timrem 02:31, 21 April 2012 (UTC)
 * He said it was the Gulliver mod. User:TrollGlaDOS

Move to Effects
There are now several effects that are not caused by potions. I think this article should me moved to Effects and be less potion oriented.  LB ( T 14:07, 25 August 2012 (UTC)


 * --mgr 16:01, 25 August 2012 (UTC)


 * I agree that there may be a better name, but I hardly think "Effects" qualifies; that's far too general a term. I would instead suggest something along the lines of "Potion-like effect" (and also note that I'm proposing a singular name rather than plural). 「 ディノ 奴 千？！ 」? · ☎ Dinoguy1000 01:25, 26 August 2012 (UTC)

Invisibility and armor
I did some testing and as it seems monsters (or at least zombies) can see you if you are wearing armor. But they seem to take more time until they notice you if you are wearing less pieces of armor. --☺ Sven ? ! 16:48, 26 August 2012 (UTC)

Move to Status effects
I think that "Potion effects" should be moved to "Status effects". Here's why:

1. Sounds better.

2. Proper term.

3. Not all "potion effects" are caused by potions, such as the new "Wither" effect.

What do you think? -TrollGlaDOS

--Support-- More and more of these effects are showing up in non-potion contexts, and many of them don't even have potions, including the latest addition (Wither). --Mental Mouse 14:36, 11 December 2012 (UTC)

--Oppose--

--Comments--

Is the Resistance effect additive or multiplicative with the effects of worn armor?
If it's additive, then eating a Golden Apple wearing full diamond armor should make you invincible (since full diamond armor gives 80% damage reduction and Resistance I gives 20%.) What does the code say? TorchicBlaziken 19:25, 1 December 2012 (UTC)

Resistance is calculated first, and then armour/enchantments reduce the value again. Not certain though, additive sound way OP.

Where to find effectiveness
Where can I find exact values for each potion effect? Most say "by a set value" and I don't find that helpfull when I'm doing math-y stuff. –Preceding unsigned comment was added by 70.66.156.162 (Talk) 10:19, 10 December 2012‎ (UTC). Please sign your posts with


 * Exact effects are buried in various places in the code, so they're not particularly easy to find. This is what I was able to dig up, though it may not be entirely complete, as I couldn't find where Invisibility is used. Some notes are theoretical, as I haven't tested high-level effects in-game.


 * Speed: increases movement speed by 20% per level.


 * Slowness: decreases movement speed by 15% per level. Applied after Speed, so having both at level I would increase speed by 2%. May be impossible to move at level VII.


 * Haste: digging speed increased by 20% per level.


 * Mining Fatigue: digging speed decreased by 20% per level. Applied after Haste, so having both at level I would decrease digging speed by 4%. May be impossible to break blocks at level V.


 * Strength: damage increased by at level I, doubling with every additional level ( at level II,  at level III, etc.).


 * Instant Health: heals at level I, doubling with every additional level. Harms undead mobs instead for the same amount.


 * Instant Damage: causes damage at level I, doubling with every additional level. Heals undead mobs instead for the same amount.


 * Jump Boost: normal jumps set vertical speed to 0.42 blocks/tick; this increases it by 0.1 per level. Maximum jump heights are 1.25 blocks (normal), 1.83 blocks (I), 2.51 blocks (II), 3.29 blocks (III), 4.15 blocks (IV), 5.10 blocks (V).


 * Nausea: level has no effect.


 * Regeneration: heals every 25 ticks (1.25 seconds) at level I, interval cut in half (rounding down) with every additional level (12 ticks at level II, 6 at level III, 3 at level IV, 1 at level V and above).


 * Resistance: reduces damage by 20% per level. Immune to damage at level V. (Some types of damage may ignore this, such as the Void and /kill command.)


 * Fire Resistance: immune to any sort of fire damage: standing in fire, being on fire, in lava, and fireballs. Level has no effect.


 * Water Breathing: air supply does not decrease; level has no effect.


 * Invisibility: couldn't find the code for this one.


 * Blindness: affects rendering, prevents critical hits and sprinting. Level has no effect.


 * Night Vision: level has no effect.


 * Hunger: adds 0.025 exhaustion per level every tick.


 * Weakness: decreases damage by at level I, doubling with every additional level.


 * Poison: causes damage every 25 ticks at level I, cut in half with every additional level (like Regeneration). Does not cause damage if health is currently at.


 * Wither: causes damage every 40 ticks at level I, cut in half with every additional level (20 ticks at level II, 10 at III, 5 at IV, 2 at V, 1 at VI and above).


 * In theory, level 0 potions should generally have no effect, and negative levels may reverse the effect. Could be interesting to test. Orthotope 12:46, 11 December 2012 (UTC)