<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 12:28:12 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-11608] Sprinting is cancelled when attacking a mob</title>
                <link>https://bugs.mojang.com/browse/MC-11608</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;h3&gt;&lt;a name=&quot;TheBug&quot;&gt;&lt;/a&gt;The Bug&lt;/h3&gt;
&lt;p&gt;Normally If you run and hit Player or mob,your sprint will be stopped when he get damage,So it supposed to be because he got damage.&lt;br/&gt;
But your sprint will still be disabled if you hit player with gamemode 1 while sprinting.&lt;/p&gt;

&lt;p&gt;Attacking entities with a knockback attack disables your sprint.&lt;/p&gt;

&lt;p&gt;Please note that in order to perform a knockback attack, you must sprint and attack an entity with a fully charged hit, (no attack/damage cooldown should be occurring when you do this). Please also note that if you were to hold down your sprint key whilst reproducing this, your sprint will stop momentarily before returning to normal after performing a knockback attack.&lt;/p&gt;

&lt;h3&gt;&lt;a name=&quot;StepstoReproduce&quot;&gt;&lt;/a&gt;Steps to Reproduce&lt;/h3&gt;
&lt;ul&gt;
	&lt;li&gt;Summon an entity and stand a fair distance away from it.&lt;/li&gt;
	&lt;li&gt;&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
/summon minecraft:creeper ~ ~ ~ {NoAI:1b}&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Begin sprinting towards it, attack the entity with a knockback attack, and pay close attention to your sprint as you do this.&lt;/li&gt;
	&lt;li&gt;Take note as to whether or not attacking entities with a knockback attack disables your sprint.&lt;/li&gt;
&lt;/ul&gt;


&lt;h3&gt;&lt;a name=&quot;ObservedBehavior&quot;&gt;&lt;/a&gt;Observed Behavior&lt;/h3&gt;
&lt;p&gt;Attacking entities with a knockback attack disables your sprint.&lt;/p&gt;

&lt;h3&gt;&lt;a name=&quot;ExpectedBehavior&quot;&gt;&lt;/a&gt;Expected Behavior&lt;/h3&gt;
&lt;p&gt;Attacking entities with a knockback attack would not disable your sprint.&lt;/p&gt;</description>
                <environment></environment>
        <key id="25769">MC-11608</key>
            <summary>Sprinting is cancelled when attacking a mob</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="6">Works As Intended</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="Awesoman3000">Connor Steppie</reporter>
                        <labels>
                    </labels>
                <created>Tue, 12 Mar 2013 13:14:58 +0100</created>
                <updated>Tue, 18 Apr 2023 17:11:36 +0200</updated>
                            <resolved>Fri, 29 Apr 2022 09:25:29 +0200</resolved>
                                    <version>Minecraft 1.4.7</version>
                    <version>Minecraft 14w06b</version>
                    <version>1.17</version>
                    <version>1.17.1</version>
                    <version>21w41a</version>
                    <version>1.18.1</version>
                    <version>22w03a</version>
                                                                        <votes>9</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="1127387" author="JIRAUSER566325" created="Thu, 16 Dec 2021 16:25:56 +0100"  >&lt;p&gt;Can confirm in 1.18.1.&lt;/p&gt;</comment>
                            <comment id="1094045" author="JIRAUSER566325" created="Thu, 21 Oct 2021 12:28:08 +0200"  >&lt;p&gt;This also affects 1.17.1 and 21w41a. &lt;img class=&quot;emoticon&quot; src=&quot;https://bugs.mojang.com/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="1094044" author="JIRAUSER566325" created="Thu, 21 Oct 2021 12:25:46 +0200"  >&lt;p&gt;Judging by the &quot;is duplicated by&quot; issue links, I&apos;m pretty the issue here is that your sprint is canceled when attacking a mob with a knockback attack. Also, I think what the reporter is trying to imply when they say &quot;But your sprint will still be disabled if you hit player with gamemode 1 while sprinting.&quot;, is that the issue can be reproduced with invulnerable entities as well. (Creative players are invulnerable).&lt;/p&gt;

&lt;p&gt;Since a more clearer description is needed, I&apos;ve rewritten this ticket to correctly reflect exactly what the problem is, what the expected behavior should be, and how you can go about reproducing it.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;The Bug:&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Attacking entities with a knockback attack disables your sprint.&lt;/p&gt;

&lt;p&gt;Please note that in order to perform a knockback attack, you must sprint and attack an entity with a fully charged hit, (no attack/damage cooldown should be occurring when you do this). Please also note that if you were to hold down your sprint key whilst reproducing this, your sprint will stop momentarily before returning to normal after performing a knockback attack.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Steps to Reproduce:&lt;/b&gt;&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Summon an entity and stand a fair distance away from it.&lt;/li&gt;
	&lt;li&gt;&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
/summon minecraft:creeper ~ ~ ~ {NoAI:1b}&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Begin sprinting towards it, attack the entity with a knockback attack, and pay close attention to your sprint as you do this.&lt;/li&gt;
	&lt;li&gt;Take note as to whether or not attacking entities with a knockback attack disables your sprint.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&lt;b&gt;Observed Behavior:&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Attacking entities with a knockback attack disables your sprint.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Expected Behavior:&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Attacking entities with a knockback attack would not disable your sprint.&lt;/p&gt;</comment>
                            <comment id="1094038" author="moesh" created="Thu, 21 Oct 2021 11:59:29 +0200"  >&lt;p&gt;This description is unclear. Is the bug about hitting mobs while sprinting, or what happens when you hit a player in creative mode, while sprinting?&lt;/p&gt;</comment>
                            <comment id="1008588" author="awesoman3000" created="Tue, 8 Jun 2021 22:52:35 +0200"  >&lt;p&gt;Can still reproduce in 1.17. The fact that it&apos;s &quot;not an issue with the sprint button&quot; is due to said button restarting the sprinting, rather than preventing its cancellation, and should never have been grounds for resolving this. Please reopen.&lt;/p&gt;</comment>
                            <comment id="149074" author="bljat" created="Thu, 27 Mar 2014 14:44:19 +0100"  >&lt;p&gt;No longer an issue with the sprint button.&lt;/p&gt;</comment>
                            <comment id="139310" author="kumasasa" created="Sun, 9 Feb 2014 09:52:20 +0100"  >&lt;p&gt;Reopened.&lt;/p&gt;</comment>
                            <comment id="121488" author="talven81" created="Tue, 26 Nov 2013 22:16:58 +0100"  >&lt;p&gt;No response in 4 months, assuming no longer an issue.&lt;/p&gt;</comment>
                            <comment id="94738" author="kumasasa" created="Sat, 27 Jul 2013 12:05:12 +0200"  >&lt;p&gt;Is this still a concern in the current Minecraft version 1.6.2 / Launcher version 1.1.2 ? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.&lt;/p&gt;</comment>
                            <comment id="52050" author="xamitkilox" created="Tue, 12 Mar 2013 17:09:30 +0100"  >&lt;p&gt;Its not stopping me from moving, only disable my sprinting..&lt;/p&gt;</comment>
                            <comment id="52010" author="banana478" created="Tue, 12 Mar 2013 14:21:20 +0100"  >&lt;p&gt;Duplicate of &lt;a href=&quot;https://bugs.mojang.com/browse/MC-3386&quot; title=&quot;[solved] unable to attack/place block &amp;amp; move at the same time&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-3386&quot;&gt;&lt;del&gt;MC-3386&lt;/del&gt;&lt;/a&gt;?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="27621">MC-12754</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="33312">MC-17281</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="54286">MC-32858</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="73724">MC-48049</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="82769">MC-56229</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="103950">MC-75732</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="137887">MC-99834</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="178480">MC-120145</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="193746">MC-126028</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="401096">MC-210106</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="508800">MC-253805</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10103">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="97082">MC-69459</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="320333">MC-183184</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10701" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>CHK</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 25 Jun 2021 03:09:00 +0200</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11901" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Category</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="12300"><![CDATA[Game Events]]></customfieldvalue>
    <customfieldvalue key="11705"><![CDATA[Player]]></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>10.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i08ihj:</customfieldvalue>

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