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)

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)

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?