<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 12:11:34 UTC 2025

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Mojang Studios Jira</title>
    <link>https://bugs.mojang.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en</language>    <build-info>
        <version>9.12.2</version>
        <build-number>9120002</build-number>
        <build-date>10-01-2024</build-date>
    </build-info>


<item>
            <title>[MC-6551] Creative Menu potion values are not the same as when brewed (issue redo)</title>
                <link>https://bugs.mojang.com/browse/MC-6551</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;(Note - I already reported this issue, but made the mistake of saying it was a duplicate of &lt;a href=&quot;https://bugs.mojang.com/browse/MC-1517&quot; title=&quot;Speed and Fire Resist potions Data values changed, causing weird effects on potions  &quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-1517&quot;&gt;&lt;del&gt;MC-1517&lt;/del&gt;&lt;/a&gt;. It&apos;s related to that issue but doesn&apos;t really duplicate it, also my issue provides a lot more information about the problem.)&lt;/p&gt;

&lt;p&gt;ISSUE:&lt;/p&gt;

&lt;p&gt;When you take a Potion from the Creative Menu brewing tab, its numeric value is larger than it should be. The bits that don&apos;t have to do with the potion effect requirements are all set to 1.&lt;/p&gt;

&lt;p&gt;This doesn&apos;t seem to affect using the Potions, but since some of the bits set to 1 control whether you can add more ingredients, you can do some odd brewings.&lt;/p&gt;

&lt;p&gt;I&apos;ve also noticed that the potions used by the Witch use the larger &quot;creative menu&quot; potion values instead of their brewed potion values. It&apos;d be good to fix that as well.&lt;/p&gt;

&lt;p&gt;HOW TO CONFIRM:&lt;/p&gt;

&lt;p&gt;1) Get a 3-minute Potion of Fire Resistance from the Creative Menu.&lt;br/&gt;
2) Put it in a Brewing Stand.&lt;br/&gt;
3) Add a Ghast Tear.&lt;/p&gt;

&lt;p&gt;WHAT I EXPECT:&lt;br/&gt;
Nothing happens. Ghast Tear shouldn&apos;t brew with a finished potion.&lt;/p&gt;

&lt;p&gt;WHAT I GET:&lt;br/&gt;
It brews a 22-second Potion of Regen II.&lt;/p&gt;

&lt;p&gt;LIKELY CAUSE &amp;amp; FIX:&lt;/p&gt;

&lt;p&gt;I took a look at (MCP)ItemPotion.getSubItems(), which generates the set of Potion items for the brewing tab. Currently it loops through the possible values 0 - 32767, adding values that create potions to a List indexed by the potion effect. This means that, if more than one potion value produces the same effect, the list will end up with the largest potion value for that particular effect - hence all the &quot;don&apos;t-care&quot; bits are set.&lt;/p&gt;

&lt;p&gt;I&apos;ve attached a piece of code for you to try in (MCP)ItemPotion.getSubItems(). It will account for missing Healing/Harming potions and use the smallest value for each potion effect.&lt;/p&gt;</description>
                <environment>Windows XP (x86) version 5.1, Java 1.6.0_31&lt;br/&gt;
</environment>
        <key id="19223">MC-6551</key>
            <summary>Creative Menu potion values are not the same as when brewed (issue redo)</summary>
                <type id="1" iconUrl="https://bugs.mojang.com/secure/viewavatar?size=xsmall&amp;avatarId=18903&amp;avatarType=issuetype">Bug</type>
                                    <status id="5" iconUrl="https://bugs.mojang.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="jeb">[Mojang] Jeb (Jens Bergensten)</assignee>
                                    <reporter username="unclemion">UncleMion</reporter>
                        <labels>
                            <label>potion</label>
                    </labels>
                <created>Mon, 7 Jan 2013 21:14:21 +0100</created>
                <updated>Fri, 7 Jul 2017 06:45:51 +0200</updated>
                            <resolved>Fri, 1 Mar 2013 11:31:53 +0100</resolved>
                                    <version>Minecraft 1.4.7</version>
                    <version>Snapshot 13w09a</version>
                                    <fixVersion>Snapshot 13w09c</fixVersion>
                                                        <votes>3</votes>
                                    <watches>2</watches>
                                                                                <issuelinks>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="12850">MC-1517</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="13064">MC-1705</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10103">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="67137">MC-42841</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="17577" name="potionlistgen.txt" size="582" author="unclemion" created="Mon, 7 Jan 2013 21:14:24 +0100"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10701" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>CHK</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 20 Feb 2013 17:00:00 +0100</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10500" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Confirmation Status</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10303"><![CDATA[Confirmed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_11700" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10501" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Game Mode</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10305"><![CDATA[Creative]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_11100" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Linked</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i0gvtz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>