<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 11:53:54 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-1279] Slow (Choppy) Rotating Beacon Block</title>
                <link>https://bugs.mojang.com/browse/MC-1279</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;So it seems if you power a beacon block in worlds generated before 1.0 &lt;span class=&quot;error&quot;&gt;&amp;#91;official release&amp;#93;&lt;/span&gt; (not sure about this, but that&apos;s what I am assuming) the particle beam effect rotates really slowly and appears choppy. Note that I am on a single player world, NOT a server. I haven&apos;t tested this on a server. I tested this on newly generated worlds and it works perfectly fine, but old world saves affect it somehow. I tried pyramids of all sizes, being in creative/survival/etc.. doesn&apos;t change a thing. Hopefully there will be a fix for this so I can use beacons on my preexisting adventure map world!  &lt;/p&gt;

&lt;p&gt;&lt;b&gt;Steps to reproduce:&lt;/b&gt;&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Create a world&lt;/li&gt;
	&lt;li&gt;Let it run for 60 days in real time&lt;br/&gt;
or&lt;/li&gt;
	&lt;li&gt;set the level time to 103680000 (level.dat / Tag &quot;Time&quot;)&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment>Windows 7 64 bit. Java 6.0.260.3</environment>
        <key id="12602">MC-1279</key>
            <summary>Slow (Choppy) Rotating Beacon Block</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="TheMoogle">Mog (Ryan Holtz)</assignee>
                                    <reporter username="jswen">John Swenson</reporter>
                        <labels>
                            <label>precision-loss</label>
                    </labels>
                <created>Tue, 30 Oct 2012 05:03:55 +0100</created>
                <updated>Sun, 27 Oct 2024 07:48:44 +0100</updated>
                            <resolved>Thu, 16 Oct 2014 20:03:52 +0200</resolved>
                                    <version>Minecraft 1.4.2</version>
                    <version>Minecraft 1.4.7</version>
                    <version>Minecraft 1.5.1</version>
                    <version>Minecraft 1.6.1</version>
                    <version>Minecraft 1.6.2</version>
                    <version>Minecraft 1.6.4</version>
                    <version>Minecraft 1.7.1</version>
                    <version>Minecraft 1.7.2</version>
                    <version>Minecraft 13w47d</version>
                    <version>Minecraft 13w47e</version>
                    <version>Minecraft 1.7.4</version>
                    <version>Minecraft 14w04b</version>
                    <version>Minecraft 1.7.5</version>
                    <version>Minecraft 1.7.8</version>
                    <version>Minecraft 14w33c</version>
                    <version>Minecraft 14w34a</version>
                    <version>Minecraft 14w34b</version>
                    <version>Minecraft 14w34c</version>
                    <version>Minecraft 14w34d</version>
                    <version>Minecraft 1.8-pre1</version>
                    <version>Minecraft 1.8-pre3</version>
                    <version>Minecraft 1.8</version>
                                    <fixVersion>Minecraft 1.8.1-pre3</fixVersion>
                                                        <votes>28</votes>
                                    <watches>10</watches>
                                                                            <comments>
                            <comment id="200613" author="bentroen" created="Fri, 19 Sep 2014 02:04:59 +0200"  >&lt;p&gt;Confirmed for 1.8.&lt;/p&gt;</comment>
                            <comment id="195157" author="kwc" created="Fri, 29 Aug 2014 05:18:24 +0200"  >&lt;p&gt;Nope, definitely still a problem on 1.8-pre3 (reproduced with &lt;a href=&quot;https://bugs.mojang.com/browse/MC-1279?focusedCommentId=74884&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-74884&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;Score_Under the Human&apos;s procedure&lt;/a&gt;).&lt;/p&gt;</comment>
                            <comment id="194105" author="suburbsomeone" created="Tue, 26 Aug 2014 04:18:24 +0200"  >&lt;p&gt;Nevermind. It&apos;s a little slow, and fluctuates a lot, but it&apos;s nothing a clean computer can&apos;t fix.&lt;/p&gt;</comment>
                            <comment id="194101" author="suburbsomeone" created="Tue, 26 Aug 2014 03:54:46 +0200"  >&lt;p&gt;&lt;del&gt;It&apos;s back.&lt;/del&gt;&lt;/p&gt;</comment>
                            <comment id="179641" author="ezekielelin" created="Fri, 25 Jul 2014 04:04:19 +0200"  >&lt;p&gt;Is this still a concern in the latest Minecraft version &lt;b&gt;14w30c&lt;/b&gt;? 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="150968" author="iamdansker" created="Sun, 13 Apr 2014 07:24:39 +0200"  >&lt;p&gt;It&apos;s annoying because all they have to do, is just make the animation use a time that starts with the client.&lt;br/&gt;
It couldn&apos;t matter less if the beam animation is not synchronized for everyone which i highly doubt it would be anyway&lt;/p&gt;</comment>
                            <comment id="150928" author="score_under" created="Sun, 13 Apr 2014 00:38:26 +0200"  >&lt;p&gt;Affects 1.7.8&lt;/p&gt;</comment>
                            <comment id="126712" author="clockspiral" created="Tue, 24 Dec 2013 10:14:48 +0100"  >&lt;p&gt;Still has issues in 1.7.4....&lt;br/&gt;
Just sayin&apos;....&lt;/p&gt;</comment>
                            <comment id="121154" author="league" created="Mon, 25 Nov 2013 12:18:43 +0100"  >&lt;p&gt;13w47e &lt;img class=&quot;emoticon&quot; src=&quot;https://bugs.mojang.com/images/icons/emoticons/tongue.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="120580" author="kumasasa" created="Fri, 22 Nov 2013 20:09:00 +0100"  >&lt;p&gt;What letter is the &quot;current&quot; snapshot &lt;img class=&quot;emoticon&quot; src=&quot;https://bugs.mojang.com/images/icons/emoticons/wink.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="120470" author="league" created="Fri, 22 Nov 2013 10:28:21 +0100"  >&lt;p&gt;still in current snapieshot&lt;/p&gt;</comment>
                            <comment id="120469" author="league" created="Fri, 22 Nov 2013 10:27:58 +0100"  >&lt;p&gt;thanks kumasasa &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="118396" author="kumasasa" created="Sun, 10 Nov 2013 09:54:00 +0100"  >&lt;p&gt;Yes.&lt;/p&gt;</comment>
                            <comment id="118339" author="league" created="Sat, 9 Nov 2013 22:53:53 +0100"  >&lt;p&gt;hello? anymod home? can someone please reopen this?&lt;/p&gt;</comment>
                            <comment id="117912" author="league" created="Wed, 6 Nov 2013 18:55:17 +0100"  >&lt;p&gt;nope not fixed, still happens on servers. look at bdubs livestream if you want proof. I still have it on my server. please reopen&lt;/p&gt;</comment>
                            <comment id="114978" author="_zombiehunter" created="Fri, 25 Oct 2013 19:10:56 +0200"  >&lt;p&gt;This only happend on servers for me. Can no longer reproduce it (tested with 1.7.2 server), seems to be fixed now.&lt;/p&gt;</comment>
                            <comment id="90254" author="_zombiehunter" created="Sat, 13 Jul 2013 11:27:20 +0200"  >&lt;p&gt;@Alex Campbell:&lt;br/&gt;
Most likely yes.&lt;/p&gt;</comment>
                            <comment id="90240" author="immibis" created="Sat, 13 Jul 2013 11:01:28 +0200"  >&lt;p&gt;Is the beam stretching related to the choppy rotation?&lt;/p&gt;</comment>
                            <comment id="89094" author="creeper_hostage" created="Thu, 11 Jul 2013 16:38:40 +0200"  >&lt;p&gt;Visible with Sphax PureBDcraft&lt;/p&gt;</comment>
                            <comment id="88475" author="_zombiehunter" created="Wed, 10 Jul 2013 22:19:50 +0200"  >&lt;p&gt;This happens all the time when playing SMP (1.6.2), it&apos;s much more obvious when using HD packs (not even choppy movement, the texture is broken too). Uploaded screenshots of expected behavior (Singleplayer) and how beams look like in SMP.&lt;br/&gt;
Anyone update the affects versions? Thanks!&lt;/p&gt;</comment>
                            <comment id="79734" author="_zombiehunter" created="Mon, 1 Jul 2013 18:52:55 +0200"  >&lt;p&gt;Just found that bug in SMP ... that&apos;s a nasty one :-P&lt;/p&gt;</comment>
                            <comment id="79139" author="kumasasa" created="Sun, 30 Jun 2013 19:37:10 +0200"  >&lt;p&gt;Both &lt;a href=&quot;https://bugs.mojang.com/browse/MC-13400&quot; title=&quot;beacon beams is not scrolling upwards and looks wierd&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-13400&quot;&gt;&lt;del&gt;MC-13400&lt;/del&gt;&lt;/a&gt; and &lt;a href=&quot;https://bugs.mojang.com/browse/MC-12816&quot; title=&quot;Beacon Beam Bug?&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-12816&quot;&gt;&lt;del&gt;MC-12816&lt;/del&gt;&lt;/a&gt; linked to this ticket.&lt;/p&gt;

&lt;p&gt;But: Crash report of &lt;a href=&quot;https://bugs.mojang.com/browse/MC-12816&quot; title=&quot;Beacon Beam Bug?&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-12816&quot;&gt;&lt;del&gt;MC-12816&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;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;Level time: 305662 game time, 1026962 day time
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="79127" author="score_under" created="Sun, 30 Jun 2013 19:07:45 +0200"  >&lt;p&gt;Alex, &lt;/p&gt;

&lt;p&gt;&amp;gt; &lt;a href=&quot;https://bugs.mojang.com/browse/MC-12816&quot; title=&quot;Beacon Beam Bug?&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-12816&quot;&gt;&lt;del&gt;MC-12816&lt;/del&gt;&lt;/a&gt; and &lt;a href=&quot;https://bugs.mojang.com/browse/MC-13400&quot; title=&quot;beacon beams is not scrolling upwards and looks wierd&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-13400&quot;&gt;&lt;del&gt;MC-13400&lt;/del&gt;&lt;/a&gt; are a different bug&lt;/p&gt;

&lt;p&gt;While they do appear superficially different in their manifestation, they are actually the same bug, and that is a rounding error in beacon state calculation caused by a large world time. Essentially, because of a quirk of Java it&apos;s allowed to be rounded to approximately 7 significant figures, and kept that way during all subsequent additions/divides/etc, without so much as a warning from the compiler.&lt;/p&gt;</comment>
                            <comment id="79030" author="kumasasa" created="Sun, 30 Jun 2013 15:29:18 +0200"  >&lt;p&gt;@John L &lt;br/&gt;
Your theory:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;...if issues such as this one were not treated with ignorance, the claimed high percentages of duplicates would not exist...&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;My theory:&lt;br/&gt;
If the bug tracker wouldn&apos;t be spammed with an insane amount of duplicates, the mods and devs would&apos;ve be able to care about the real issues.&lt;/p&gt;

&lt;p&gt;Proof: Recent most spammed issues (numbers as of time of writing this comment)&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;&lt;a href=&quot;https://bugs.mojang.com/browse/MC-17673&quot; title=&quot;Distorted fonts when using a converted texturepack on startup&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-17673&quot;&gt;&lt;del&gt;MC-17673&lt;/del&gt;&lt;/a&gt;: 74 duplicates (Not yet implemented)&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;https://bugs.mojang.com/browse/MC-18368&quot; title=&quot;Can&amp;#39;t break blocks with swords in creative mode&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-18368&quot;&gt;&lt;del&gt;MC-18368&lt;/del&gt;&lt;/a&gt;: 88 duplicates (Working as intended)&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;https://bugs.mojang.com/browse/MC-18375&quot; title=&quot;Spawning near bed doesn&amp;#39;t work around snow.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-18375&quot;&gt;&lt;del&gt;MC-18375&lt;/del&gt;&lt;/a&gt;: 62 duplicates (Working as intended)&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="79008" author="kumasasa" created="Sun, 30 Jun 2013 14:39:33 +0200"  >&lt;p&gt;Confirmed with the steps provided by &lt;tt&gt;Score_Under the Human&lt;/tt&gt;&lt;/p&gt;</comment>
                            <comment id="79000" author="immibis" created="Sun, 30 Jun 2013 14:20:19 +0200"  >&lt;p&gt;&lt;a href=&quot;https://bugs.mojang.com/browse/MC-12816&quot; title=&quot;Beacon Beam Bug?&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-12816&quot;&gt;&lt;del&gt;MC-12816&lt;/del&gt;&lt;/a&gt; and &lt;a href=&quot;https://bugs.mojang.com/browse/MC-13400&quot; title=&quot;beacon beams is not scrolling upwards and looks wierd&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-13400&quot;&gt;&lt;del&gt;MC-13400&lt;/del&gt;&lt;/a&gt; are a different bug (and the second one was incorrectly closed).&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://bugs.mojang.com/browse/MC-1379&quot; title=&quot;Transparent texture makes transparent texture behind invisible&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-1379&quot;&gt;&lt;del&gt;MC-1379&lt;/del&gt;&lt;/a&gt;, &lt;a href=&quot;https://bugs.mojang.com/browse/MC-2072&quot; title=&quot;Beacon beam doesn&amp;#39;t rotate properly on Multiplayer&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-2072&quot;&gt;&lt;del&gt;MC-2072&lt;/del&gt;&lt;/a&gt;, &lt;a href=&quot;https://bugs.mojang.com/browse/MC-3752&quot; title=&quot;Beacon beams slow in servers&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-3752&quot;&gt;&lt;del&gt;MC-3752&lt;/del&gt;&lt;/a&gt;, &lt;a href=&quot;https://bugs.mojang.com/browse/MC-4020&quot; title=&quot;Rotation of beacon beams are serverside&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-4020&quot;&gt;&lt;del&gt;MC-4020&lt;/del&gt;&lt;/a&gt; are duplicates of THIS bug report, which is NOT marked as resolved. The policy is to have one open ticket per bug, and to close duplicates so that there aren&apos;t more than one open ticket about the same bug.&lt;/p&gt;</comment>
                            <comment id="74884" author="score_under" created="Tue, 18 Jun 2013 00:13:06 +0200"  >&lt;p&gt;It saddens me that this bug, to which I and others have provided no less than three different solutions of varying efficacy, still goes entirely unnoticed by moderation staff and Mojang alike.&lt;br/&gt;
I would like the moderators to change the status of this bug from &quot;Community Consensus&quot; to &quot;Confirmed&quot;, as I have proof (via reproduction steps) that this bug exists and affects vanilla Minecraft:&lt;/p&gt;

&lt;p&gt;You will need NBT Explorer (or a similar tool) to view the contents of your world&apos;s level.dat file. You will not need a copy of the Minecraft server as this bug equally affects single-player worlds.&lt;/p&gt;

&lt;p&gt;1. Note that the &quot;Data/Time&quot; field in a world&apos;s level.dat is a monotonically increasing integer (disregarding its storage class limitations which should not affect it in any real-life situation).&lt;br/&gt;
2. Note that over time, it may reach inordinately high values due to its unchecked growth.&lt;br/&gt;
(The reason for these two first steps is to explain the justification for the step which is to follow)&lt;br/&gt;
3. Simulate a long-standing world by modifying its value to something relatively large. Each increment of 20 is equal to one second of world uptime, so to simulate a server which has been running for two months, set it to 20*60*60*24*30*2, which is 103680000. After setting this value, save the modified level.dat.&lt;br/&gt;
4. Load the world and place a beacon. Note that even in single player mode, its animation lags.&lt;/p&gt;

&lt;p&gt;Notice how after two months of uptime (whether simulated or real), the beacon animation is very noticeably choppy. Setting the time back to 0 fixes the issue, however it is possible to reach high values for the Time field in vanilla Minecraft without any mods or cheats, but impossible to reset it back to zero without mods or cheats. Additionally, without this relatively esoteric knowledge, I doubt anybody would discover the fix by themselves.&lt;/p&gt;

&lt;p&gt;These instructions are a practical way to reproduce and understand the bug. For a more technical explanation of why it happens and how to fix it please see previous comments.&lt;/p&gt;

&lt;p&gt;Please elevate the status of this bug to &quot;Confirmed&quot;. I believe I have provided enough information to prove that it is a real bug which affects vanilla Minecraft in this comment. If this comment is lacking in any information which could otherwise result in this bug becoming confirmed then please make me aware of this.&lt;/p&gt;

&lt;p&gt;-----------------------&lt;/p&gt;

&lt;p&gt;tl;dr version:&lt;/p&gt;

&lt;p&gt;I&apos;ve proven that this bug exists:&lt;br/&gt;
1. Open your world&apos;s level.dat in NBT Explorer&lt;br/&gt;
2. Open &quot;Data&quot;, then double click on &quot;Time&quot;.&lt;br/&gt;
3. Change it to 103680000&lt;br/&gt;
4. Press save&lt;br/&gt;
That simulates a world which has existed for a long time. Now play on it and look at the beacons.&lt;/p&gt;</comment>
                            <comment id="59040" author="conormcs" created="Sat, 6 Apr 2013 12:48:18 +0200"  >&lt;p&gt;How the beam appears when affected&lt;/p&gt;</comment>
                            <comment id="59039" author="conormcs" created="Sat, 6 Apr 2013 12:47:50 +0200"  >&lt;p&gt;How the beam appears normally&lt;/p&gt;</comment>
                            <comment id="59038" author="conormcs" created="Sat, 6 Apr 2013 12:42:34 +0200"  >&lt;p&gt;This also causes the texture of the beam to not be animated, just 3 straight lines all the way up the beam.&lt;/p&gt;</comment>
                            <comment id="57854" author="score_under" created="Fri, 29 Mar 2013 21:34:12 +0100"  >&lt;p&gt;This is the code, contains the original and the fix I propose (that is, doing the rotation incrementally and in an overflow-aware manner):&lt;br/&gt;
&lt;a href=&quot;https://dl.dropbox.com/u/518733/beacons%20yay.png&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://dl.dropbox.com/u/518733/beacons%20yay.png&lt;/a&gt;&lt;br/&gt;
The rotation period is derived from the calculation at the definition of var14.&lt;/p&gt;

&lt;p&gt;Note the calls to Math.sin and Math.cos - for some reason they chose to not use the lookup table, which sort of defeats the point of having one. That said, there&apos;s a CPU instruction for sin/cos on x86.&lt;/p&gt;</comment>
                            <comment id="57848" author="wolfiemario" created="Fri, 29 Mar 2013 20:52:06 +0100"  >&lt;p&gt;Can you please show their code? I haven&apos;t seen the exact code they&apos;re using. Also, I think it&apos;s safe to say no integer will ever divide by pi, meaning &lt;em&gt;any&lt;/em&gt; fix must be an approximation. In fact, does Minecraft even use explicit calls to sin/cos? Last I checked, they&apos;re using an approximate lookup table, built at the game&apos;s startup, to speed up calculations.&lt;/p&gt;

&lt;p&gt;Now, I might be able to explain my solution better if I knew what measurements were used here. But hypothetically, if it takes 80 gameticks (4 seconds) for the beacon to complete its spin, the rotation would be (2*pi)/80 radians per tick. Now, obviously, you can&apos;t safely increment the rotation angle by (2*pi)/80 every tick; the rounding error would add up. But if you recalculated the angle, as (2*pi*tick)/80, you&apos;d end up with a value as close to 2*pi as you&apos;d ever get: Java uses an intermediate 80-bit floating point format when doing calculations on most machines, even on floats. Thus, there would be no broken record effect: if the animation takes 80 gameticks, doing time % 80 would allow you to retrieve the correct rotation angle.&lt;/p&gt;

&lt;p&gt;If they&apos;re relying on sin/cos for its &quot;modulo effect&quot;, then of course it&apos;s not working: the larger the angle becomes, as a floating point value, the less precise it gets. The pitfall of floating point values is that, at large numbers, the gap between successive representable values increases. ((2*pi*time)/80) % (2*pi) is &lt;b&gt;not&lt;/b&gt; equivalent to (2*pi*(time % 80))/80, even with the internal extended floating point format used during calculations. You want to make the integer as small as you can before switching to the realm of floating points.&lt;/p&gt;

&lt;p&gt;If the animation is meant to take a non-integral number of ticks, however, this solution wouldn&apos;t be possible by definition. But I&apos;m not sure why they would do that - then again, I&apos;m also &lt;em&gt;really&lt;/em&gt; not sure why they would make beacon animation tied to server time in the first place!&lt;/p&gt;</comment>
                            <comment id="57841" author="score_under" created="Fri, 29 Mar 2013 19:35:17 +0100"  >&lt;p&gt;24000 does not evenly divide by pi, and using time%n is pretty much what they do now (it&apos;s done implicitly in their call to sin/cos) - it will be affected by the same rounding error, except at a different point in time (it will result in the beacon performing a very small turn then resetting to its original position over and over again, a visual analogue to the sound of a broken record).&lt;/p&gt;</comment>
                            <comment id="57840" author="wolfiemario" created="Fri, 29 Mar 2013 19:01:56 +0100"  >&lt;p&gt;Another option is to use world time, but modulo one day (so animationTick = time % 24000), if the animation loops like that. Actually, the ideal solution would be to figure out how many ticks it takes before the animation loops, n, and make animationTick = time % n.&lt;/p&gt;</comment>
                            <comment id="57821" author="score_under" created="Fri, 29 Mar 2013 15:40:33 +0100"  >&lt;p&gt;To repeat what I posted on another bug (so that it gets read and hopefully gets fixed):&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;... the real cause is the server sending a world time that is large, and because of how floating-point ( &lt;a href=&quot;https://en.wikipedia.org/wiki/Single-precision_floating-point_format&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://en.wikipedia.org/wiki/Single-precision_floating-point_format&lt;/a&gt; ) calculations are made, adding a tiny number (rotation amount) to a huge number (world uptime) tends to round down so far that it has literally no effect on the resulting number whatsoever. For an example of this, if you store the number 10000000000000000 as a single-precision floating point number, it rounds to 10000000272564224. Try to add 1000000 to this? The result is 10000000272564224, which is exactly the same as what you started with.&lt;/p&gt;&lt;/blockquote&gt;

&lt;blockquote&gt;&lt;p&gt;If the rounding error is fixed in the client (the fix I propose to craftbukkit is a hack to avoid the rounding error entirely, and is not the &quot;real&quot; fix), then beacons will rotate properly again. A cast to double would fix* this but that&apos;s cheating IMHO. The best solution would probably be to add the amount of ticks elapsed since last check to a tick counter (as float or double), instead of using the total world time, and then if it exceeds k (where k = 2pi / 1.5 / 0.025, determined from Minecraft&apos;s code as the rotation period of a beacon beam in ticks) subtract k from it. Saying that, since beacons have rotational symmetry every 90 degrees you could probably get away with k/4, but since there&apos;s very little granularity with numbers that small anyway, saving 2 mantissa bits won&apos;t really net you much benefit.&lt;/p&gt;&lt;/blockquote&gt;

&lt;blockquote&gt;&lt;p&gt;*Casting to double as the solution would mean it still suffers rounding errors, it&apos;d just take much longer until it happens.&lt;/p&gt;&lt;/blockquote&gt;</comment>
                            <comment id="56924" author="wolfiemario" created="Sun, 24 Mar 2013 17:33:56 +0100"  >&lt;p&gt;Confirmed for Minecraft 1.5.1; there&apos;s now also a painful Z-fighting resulting from this.&lt;/p&gt;</comment>
                            <comment id="52863" author="zoshi235" created="Thu, 14 Mar 2013 16:41:49 +0100"  >&lt;p&gt;Ah, floating point precision errors. You have plagued us since the beginning. First you reared your head as we approached the farlands, now you show it again as time itself.&lt;/p&gt;</comment>
                            <comment id="52791" author="immibis" created="Thu, 14 Mar 2013 11:17:43 +0100"  >&lt;p&gt;Probably caused by casting the world time to a float somewhere. Should be a really easy fix for Mojang, too bad they probably haven&apos;t seen it yet.&lt;/p&gt;</comment>
                            <comment id="45101" author="jswen" created="Sun, 10 Feb 2013 23:49:50 +0100"  >&lt;p&gt;Wow, thank you so much Jeppe Vennekilde! It worked like a charm! Props to you sir.&lt;/p&gt;</comment>
                            <comment id="44867" author="iamdansker" created="Sat, 9 Feb 2013 23:05:42 +0100"  >&lt;p&gt;I have found the cause of the problem&lt;br/&gt;
if you change the NBT tag Time and DayTime in the level.dat file to 0 (both have to be changed), it will fix the problem, and if you change it to a very high number it will cause the problem (i used 989210110 because it is from another world with the issue)&lt;/p&gt;

&lt;p&gt;So the issue isn&apos;t connected to minecraft 1.0, but to the age of the world. If you can&apos;t wait for mojang to fix the issue, all you have to do is use NBTExplorer, open the world with it and change Time and DayTime to 0&lt;/p&gt;</comment>
                            <comment id="40130" author="jswen" created="Sun, 27 Jan 2013 00:16:40 +0100"  >&lt;p&gt;Ya its still of concern as of 1.4.7. I updated the affected versions, hopefully Mojang recognizes this issue.&lt;/p&gt;</comment>
                            <comment id="40109" author="zoshi235" created="Sat, 26 Jan 2013 21:37:34 +0100"  >&lt;p&gt;I think it is. I seem to recall some mindcrack videos on recent snapshots with the issue still present.&lt;/p&gt;</comment>
                            <comment id="26070" author="zoshi235" created="Sat, 1 Dec 2012 14:59:59 +0100"  >&lt;p&gt;I&apos;m seeing this confirmed in many peoples&apos; videos, though not in any of my personal experiences. On servers as well.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="27708">MC-12816</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="28487">MC-13400</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="93191">MC-65708</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="12726">MC-1397</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="13464">MC-2072</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="15895">MC-3752</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="16338">MC-4020</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10103">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="101147">MC-73232</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="571841">MC-277865</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="91116">MC-63720</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="271572">MC-165595</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="561804">MC-273758</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="26757" name="2013-04-06_11.40.21.png" size="198747" author="conormcs" created="Sat, 6 Apr 2013 12:47:50 +0200"/>
                            <attachment id="26758" name="2013-04-06_11.46.47.png" size="151800" author="conormcs" created="Sat, 6 Apr 2013 12:48:18 +0200"/>
                            <attachment id="36831" name="2013-07-11_15.34.09.png" size="546901" author="creeper_hostage" created="Thu, 11 Jul 2013 16:38:40 +0200"/>
                            <attachment id="36832" name="2013-07-11_15.36.56.png" size="871832" author="creeper_hostage" created="Thu, 11 Jul 2013 16:38:40 +0200"/>
                            <attachment id="36726" name="SMP_broken choppy beams.jpg" size="465070" author="_zombiehunter" created="Wed, 10 Jul 2013 22:18:08 +0200"/>
                            <attachment id="36725" name="Singleplayer_expected behavior.jpg" size="463176" author="_zombiehunter" created="Wed, 10 Jul 2013 22:18:08 +0200"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10701" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>CHK</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 5 Feb 2013 00:23: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="10304"><![CDATA[Survival]]></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|i0k05z:</customfieldvalue>

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