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)