<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 12:26:39 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-11135] Potion effects with amplifiers above 127 work weird</title>
                <link>https://bugs.mojang.com/browse/MC-11135</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;Potion effects with amplifiers above 127 work weird in the new snapshot.&lt;br/&gt;
How to replicate:&lt;br/&gt;
1. Type in &quot;/effect player_name 1 10 127&quot;. For 10 seconds you will be able to run super fast.&lt;br/&gt;
2. Type in &quot;/effect player_name 1 10 128&quot;. Notice that FOV gets lowered, and you will be unable to move for the duration (you can still move while not on ground).&lt;/p&gt;

&lt;p&gt;I checked this with few effects: speed, jump boost, regeneration and hunger. Effects when amplifier is 128:&lt;br/&gt;
Speed: I was unable to move.&lt;br/&gt;
Jump boost: I was unable to jump.&lt;br/&gt;
Regeneration: Instead of regenerating health super fast, it worked as if level 1 effect&lt;br/&gt;
Hunger: Same issue as regeneration.&lt;/p&gt;

&lt;p&gt;As amplifier is now capped at 255, I think they use bytes for effect amplifier. Vaues above 127 cause byte to owerflow, thus generating potion effects with negative amplifier values.&lt;/p&gt;</description>
                <environment>Windows 7</environment>
        <key id="25239">MC-11135</key>
            <summary>Potion effects with amplifiers above 127 work weird</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="3">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="domas321">Domantas</reporter>
                        <labels>
                            <label>effect</label>
                            <label>potion</label>
                    </labels>
                <created>Wed, 6 Mar 2013 14:38:13 +0100</created>
                <updated>Wed, 8 Jul 2020 12:51:54 +0200</updated>
                            <resolved>Sat, 23 Mar 2013 19:38:05 +0100</resolved>
                                    <version>Snapshot 13w10b</version>
                                                                        <votes>2</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="759235" author="iknowredstone" created="Wed, 8 Jul 2020 12:51:54 +0200"  >&lt;p&gt;I tested It with Healing and Damage potions&lt;br/&gt;
and it seems to be that the potion effect is the strongest when 124 (my testing in 1.14 but the same results in 1.16.1)&lt;br/&gt;
Values above that are completely broken they will be weaker or really weak.&lt;br/&gt;
It not only applies to potions but also to the /summon command when you summon entitys with effects.&lt;br/&gt;
I didn&apos;t do many test&apos;s with the /effect command&lt;/p&gt;</comment>
                            <comment id="111737" author="koopatroopa9931" created="Tue, 15 Oct 2013 17:51:50 +0200"  >&lt;p&gt;An example is /effect @p 8 &lt;span class=&quot;error&quot;&gt;&amp;#91;duration&amp;#93;&lt;/span&gt; 128 This makes the player unable to jump, but resistant to fall damage.&lt;/p&gt;</comment>
                            <comment id="72602" author="jaredjeya" created="Mon, 10 Jun 2013 11:47:27 +0200"  >&lt;p&gt;Since they are signed integers, I think the actual maximum value is 127. after this it overflows to -128.&lt;/p&gt;</comment>
                            <comment id="56646" author="kumasasa" created="Sat, 23 Mar 2013 19:38:05 +0100"  >&lt;p&gt;Duplicate of &lt;a href=&quot;https://bugs.mojang.com/browse/MC-10755&quot; title=&quot;Effects with amplifiers over 4 (level V)/enchantments with level over max default value are not supported&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-10755&quot;&gt;&lt;del&gt;MC-10755&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="50460" author="kumasasa" created="Wed, 6 Mar 2013 20:51:29 +0100"  >&lt;p&gt;Confirmed.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="24731">MC-10755</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10701" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>CHK</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 6 Mar 2013 20:51: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_11100" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Linked</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i0k7p3:</customfieldvalue>

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