<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 12:06:50 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-5120] Fireworks pushed by water / fired horizontally out of loaded chunks cause client to hang</title>
                <link>https://bugs.mojang.com/browse/MC-5120</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;Fireworks which are pushed by water fly off into the distance at strange angles. If enough of these are launched (around 10 or so) the client will experience massive FPS loss and eventually become unresponsive. The client will not recover from this.&lt;/p&gt;

&lt;p&gt;Set render distance to 4.&lt;br/&gt;
Reproduction steps:&lt;br/&gt;
1) Create a firework rocket with the following specification:&lt;br/&gt;
Flight Duration: 3&lt;br/&gt;
Large Ball&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Magenta&lt;/li&gt;
	&lt;li&gt;Fade to Purple&lt;/li&gt;
	&lt;li&gt;Trail&lt;/li&gt;
	&lt;li&gt;Twinkle&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;2) Place some water so that it is flowing into an empty space&lt;br/&gt;
3) Launch 5 fireworks under the flowing water.&lt;br/&gt;
4) Watch as fireworks zoom off at a horizontal angle and explode in the distance (more than if they went vertical).&lt;br/&gt;
5) After 3-10 seconds the client will experience massive FPS loss.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;From &lt;a href=&quot;https://bugs.mojang.com/browse/MC-82062&quot; title=&quot;Launching fireworks horizontally crashes game.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-82062&quot;&gt;&lt;del&gt;MC-82062&lt;/del&gt;&lt;/a&gt;:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeHeader panelHeader&quot; style=&quot;border-bottom-width: 1px;&quot;&gt;&lt;b&gt;Example command&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;/summon FireworksRocketEntity ~ ~1 ~ {LifeTime:99,Motion:[10.00,0.00,0.00],FireworksItem:{id:401,Count:1,tag:{Fireworks:{Explosions:[{Type:0,Flicker:0,Trail:0,Colors:[1234],FadeColors:[1234]}]}}}}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&lt;b&gt;Code analysis by Marcono1234 can be found &lt;a href=&quot;http://bugs.mojang.com/browse/MC-5120?focusedCommentId=322112&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.&lt;/b&gt;&lt;/p&gt;</description>
                <environment>Windows 7, Java 6u38</environment>
        <key id="17688">MC-5120</key>
            <summary>Fireworks pushed by water / fired horizontally out of loaded chunks cause client to hang</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="-1">Unassigned</assignee>
                                    <reporter username="spathizilla">Andy Fewtrell</reporter>
                        <labels>
                            <label>fireworks_rocket</label>
                            <label>hang</label>
                    </labels>
                <created>Fri, 21 Dec 2012 05:01:25 +0100</created>
                <updated>Mon, 3 Sep 2018 21:26:37 +0200</updated>
                            <resolved>Thu, 8 Sep 2016 18:47:11 +0200</resolved>
                                    <version>Minecraft 1.4.6</version>
                    <version>Snapshot 13w03a</version>
                    <version>Minecraft 1.7.5</version>
                    <version>Minecraft 14w21b</version>
                    <version>Minecraft 1.8</version>
                    <version>Minecraft 1.8.1</version>
                    <version>Minecraft 1.8.7</version>
                    <version>Minecraft 1.8.8</version>
                    <version>Minecraft 15w31c</version>
                    <version>Minecraft 15w34d</version>
                    <version>Minecraft 1.10</version>
                    <version>Minecraft 1.10.2</version>
                                    <fixVersion>Minecraft 15w43c</fixVersion>
                    <fixVersion>Minecraft 16w35a</fixVersion>
                                                        <votes>8</votes>
                                    <watches>8</watches>
                                                                            <comments>
                            <comment id="487011" author="greymagic27" created="Mon, 3 Sep 2018 18:22:07 +0200"  >&lt;p&gt;The policy has changed, Clones are allowed as this is marked as fixed&lt;/p&gt;</comment>
                            <comment id="486963" author="greymagic27" created="Mon, 3 Sep 2018 16:00:28 +0200"  >&lt;p&gt;This issue is present in 1.13.1&lt;/p&gt;</comment>
                            <comment id="328245" author="farogaming" created="Fri, 2 Sep 2016 18:25:15 +0200"  >&lt;p&gt;Seems to be fixed in 16w35a.&lt;/p&gt;</comment>
                            <comment id="326404" author="neko" created="Sun, 21 Aug 2016 00:20:01 +0200"  >&lt;p&gt;That would be &lt;a href=&quot;https://bugs.mojang.com/browse/MC-106099&quot; title=&quot;Firework Rocket does not spawn&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-106099&quot;&gt;&lt;del&gt;MC-106099&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="326403" author="farogaming" created="Sun, 21 Aug 2016 00:18:47 +0200"  >&lt;p&gt;Can someone provide a new command to reproduce, please? Even if I replace &quot;FireworksRocketEntity&quot; with &quot;fireworks_rocket&quot;, it doesn&apos;t work in 16w33a.&lt;/p&gt;</comment>
                            <comment id="322112" author="marcono1234" created="Mon, 25 Jul 2016 21:56:28 +0200"  >&lt;p&gt;Please link to this comment in the description&lt;/p&gt;

&lt;p&gt;The following is based on a decompiled version of Minecraft 1.10 using MCP 9.30.&lt;/p&gt;

&lt;p&gt;It looks like the reason for this is that for the client the firework is not removed once it enters unloaded chunks. Because of this the method &lt;tt&gt;net.minecraft.entity.item.EntityFireworkRocket.onUpdate()&lt;/tt&gt; keeps multiplying the x- and z-&lt;tt&gt;Motion&lt;/tt&gt; with 1.15 reaching invalid values that are higher than 10.&lt;/p&gt;</comment>
                            <comment id="322031" author="farogaming" created="Mon, 25 Jul 2016 13:46:04 +0200"  >&lt;p&gt;Seems to be caused by the firework entites not being killed automatically and they then do... something. &lt;tt&gt;/kill @e&lt;span class=&quot;error&quot;&gt;&amp;#91;type=FireworksRocketEntity&amp;#93;&lt;/span&gt;&lt;/tt&gt; fixes the lag (if you can type it before the client crashes).&lt;/p&gt;</comment>
                            <comment id="315146" author="marcono1234" created="Mon, 20 Jun 2016 17:10:15 +0200"  >&lt;p&gt;Confirmed for&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;&lt;b&gt;1.10&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Please include, that you have to set the view distance to about 4, it does not happen always. I am at the moment unsure what causes it to happen only sometimes.&lt;/p&gt;</comment>
                            <comment id="258861" author="cubfan135" created="Tue, 27 Oct 2015 04:14:51 +0100"  >&lt;p&gt;This now appears to have been fixed as of 15w43c. Tested with both OP&apos;s original design and a rapid fire dispenser setup. Neither seemed to cause a crash. If someone else can confirm this can be marked as resolved.&lt;/p&gt;</comment>
                            <comment id="244929" author="marcono1234" created="Sun, 23 Aug 2015 17:30:31 +0200"  >&lt;p&gt;Confirmed for&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;&lt;b&gt;15w34d&lt;/b&gt; Please change the tiltle like &lt;a href=&quot;https://bugs.mojang.com/secure/ViewProfile.jspa?name=Koala_eiO&quot; class=&quot;user-hover&quot; rel=&quot;Koala_eiO&quot;&gt;Koala_eiO&lt;/a&gt; suggested&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Probably relates to &lt;a href=&quot;https://bugs.mojang.com/browse/MC-48375&quot; title=&quot;Fireworks causes freeze on death screen&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-48375&quot;&gt;&lt;del&gt;MC-48375&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="240164" author="koala_eio" created="Tue, 4 Aug 2015 20:53:03 +0200"  >&lt;p&gt;Still a bug in 1.8.8 and 15w31c. Can someone update the title as well? It&apos;s fireworks pushed &lt;b&gt;out of loaded chunks&lt;/b&gt; that cause the client to crash.&lt;/p&gt;

&lt;p&gt;I added a screenshot of a small machine that can be used to reproduce the bug. &lt;/p&gt;</comment>
                            <comment id="205110" author="galaxy_2alex" created="Sat, 25 Oct 2014 00:15:14 +0200"  >&lt;p&gt;Is this still a concern in the &lt;em&gt;current Minecraft version&lt;/em&gt; &lt;b&gt;1.8.1 Prerelease 3&lt;/b&gt; / Launcher version &lt;b&gt;1.5.3&lt;/b&gt; or later? If so, please &lt;em&gt;update the affected versions&lt;/em&gt; in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.&lt;/p&gt;</comment>
                            <comment id="161442" author="n64dreamanimal" created="Tue, 3 Jun 2014 01:37:43 +0200"  >&lt;p&gt;Still in 14w21b&lt;/p&gt;</comment>
                            <comment id="147926" author="kumasasa" created="Tue, 18 Mar 2014 07:03:44 +0100"  >&lt;p&gt;Reopened.&lt;/p&gt;</comment>
                            <comment id="147469" author="exxmorphing" created="Sat, 15 Mar 2014 23:16:03 +0100"  >&lt;p&gt;As of 1.7.4, 1.7.5, and maybe 1.7.2, this is happening again.&lt;/p&gt;

&lt;p&gt;EDIT: Could the resolved status be removed?&lt;/p&gt;

&lt;p&gt;EDIT2: Any type of firework (Blank firework rocket is untested) can cause the bug as long as it leaves the loaded chunks.&lt;/p&gt;</comment>
                            <comment id="97205" author="kumasasa" created="Mon, 5 Aug 2013 07:59:53 +0200"  >&lt;p&gt;Seems to be no longer an issue.&lt;/p&gt;</comment>
                            <comment id="54358" author="bljat" created="Sun, 17 Mar 2013 03:34:18 +0100"  >&lt;p&gt;Is this still a concern in the current Minecraft version? 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="39353" author="aikar" created="Thu, 24 Jan 2013 04:11:59 +0100"  >&lt;p&gt;My commit to CB here: &lt;a href=&quot;https://github.com/aikar/EMC-CraftBukkit/commit/1c3abba02a76b08f38bfd03c095345652327924e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/aikar/EMC-CraftBukkit/commit/1c3abba02a76b08f38bfd03c095345652327924e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="39352" author="aikar" created="Thu, 24 Jan 2013 04:08:17 +0100"  >&lt;p&gt;I have found a solution to part of this bug (server side)&lt;/p&gt;

&lt;p&gt;in World.tickEntities: &lt;/p&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;&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (entity &lt;span class=&quot;code-keyword&quot;&gt;instanceof&lt;/span&gt; EntityFireworks || !flag || &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.d(i - b0, 0, j - b0, i + b0, 0, j + b0)) { &lt;span class=&quot;code-comment&quot;&gt;// CraftBukkit - Fireworks can not be skipped or clients can lag out.&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The fireworks are being skipped for ticks if they are less than 32 blocks from an unloaded chunk. The server then never detonates the firework, causing the client to shoot it into unrenderable areas.&lt;/p&gt;

&lt;p&gt;The client should still be fixed to not lag out when a firework hits unrenderable areas.&lt;/p&gt;</comment>
                            <comment id="39314" author="aikar" created="Wed, 23 Jan 2013 23:25:40 +0100"  >&lt;p&gt;and to make it clear-- water isnt required to reproduce this.&lt;/p&gt;

&lt;p&gt;Having a firework dispenser launcher firing and moving away so the fireworks enter unloaded chunks does the same.&lt;/p&gt;

&lt;p&gt;Something about the server stops sending updates about the firework to the client, and the client keeps the firework and it continues to propel farther than it was intended to.&lt;/p&gt;</comment>
                            <comment id="39313" author="aikar" created="Wed, 23 Jan 2013 23:23:50 +0100"  >&lt;p&gt;this issue is killing our server... Fireworks also seem to be able to &quot;bundle up&quot; in some cases as I loaded a chunk with 3000 fireworks that did not want to detonate either, killing the client in lag.&lt;/p&gt;</comment>
                            <comment id="39006" author="flapjacksmike" created="Tue, 22 Jan 2013 02:44:11 +0100"  >&lt;p&gt;I can confirm this is still occurring on the latest snapshot (13w03a).&lt;/p&gt;

&lt;p&gt;Java Version: Java 7u11 (most recent update)&lt;br/&gt;
Minecraft Version: 13w03a&lt;br/&gt;
Operating System: Windows 7&lt;/p&gt;

&lt;p&gt;It does not matter too much what colors or explosive upgrades are on each firework, as I had different settings that in the step 1 of the description above. The long flight duration (flight duration: 3) is what allows it to leave the loaded chunks. So as Spencer has already stated above, I feel it is because it left the loaded chunks, and not because of its contact with the water.&lt;/p&gt;

&lt;p&gt;Video Proof: &lt;a href=&quot;http://youtu.be/t-A27ErKMjQ&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://youtu.be/t-A27ErKMjQ&lt;/a&gt;&lt;br/&gt;
As soon as I launch the fireworks, I try to keep moving my mouse around, but the fps was too bad, and the game goes unresponsive to the point I had to restart it.&lt;/p&gt;</comment>
                            <comment id="38473" author="spencezar" created="Sun, 20 Jan 2013 09:03:49 +0100"  >&lt;p&gt;i dont think its water it the firework going out of the loaded chunks heres a vid where i use tnt and lunch the fireworks out of the loaded chunks skip to 1:50s &lt;a href=&quot;http://www.youtube.com/watch?v=b4k6Kw0ouVM&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.youtube.com/watch?v=b4k6Kw0ouVM&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="31341" author="olafurj" created="Sat, 29 Dec 2012 02:09:50 +0100"  >&lt;p&gt;I seem to have run into this problem by using Craftbukkit server plugin.&lt;br/&gt;
If I create fireworks manually on a vanilla 1.4.6 client as rapidly as I can, it works.&lt;br/&gt;
But when I make the server create a few fireworks with little or no ticks between (0-5) they fire but the frame rate starts to drop when the particles increase. The client does not recover after the fireworks have stopped. (the sound stops but some of the trailing particles are still visibile, and change very slowly )&lt;br/&gt;
I know the server is not vanilla but the client is. &lt;/p&gt;

&lt;p&gt;I ran a few test with Java Visual VM and in every one of them the thread &quot;process reaper&quot; stopped at the same time that the FPS drops, about 5 seconds after I start shooting fireworks.&lt;/p&gt;

&lt;p&gt;Found the cause of the problem in my case. I made the fireworks too powerfull, somthing not possible without a server-mod or a water glitch maybe? ( threads running to long or somthing like that)&lt;/p&gt;</comment>
                            <comment id="30060" author="spathizilla" created="Sat, 22 Dec 2012 04:08:10 +0100"  >&lt;p&gt;Flowing lava does not have an effect on the fireworks.&lt;br/&gt;
While I have seen it happen a couple of times with steps and halfstep blocks, I cannot reliably reproduce it. &lt;/p&gt;</comment>
                            <comment id="29855" author="spathizilla" created="Fri, 21 Dec 2012 05:06:27 +0100"  >&lt;p&gt;Seems even if you only launch one firework at a time and wait for the boom, after 3 or so rockets the client will still hang.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="24429">MC-10471</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="45372">MC-25926</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="106036">MC-77391</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="112768">MC-82062</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="16658">MC-4225</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="17436">MC-4884</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="17455">MC-4902</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10103">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="74082">MC-48375</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="81176">MC-54825</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="95958" name="2015-08-04_13.50.45.png" size="856527" author="Koala_eiO" created="Tue, 4 Aug 2015 20:54:04 +0200"/>
                            <attachment id="120357" name="Firework freeze (MC-5120 Minecraft 1.10).zip" size="3212753" author="marcono1234" created="Mon, 20 Jun 2016 18:12:59 +0200"/>
                            <attachment id="181522" name="unknown (1).png" size="443646" author="Greymagic27" created="Mon, 3 Sep 2018 16:00:43 +0200"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10701" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>CHK</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 6 Feb 2013 00:12: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>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i0ceqn:</customfieldvalue>

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