the Minecraft End Has Been Broken for 2 Years...

preview_player
Показать описание
How did this Minecraft End glitch last for so long?

Copy this text into the calculator to see the graph!
yy=\left(\sin(x\cdot x\cdot0.0000000000228580929)\cdot250000\right)+0

SOCIAL MEDIA

WRITER, EDITOR, VOICE - AntVenom

MUSIC
Рекомендации по теме
Комментарии
Автор

End: Im a donut hundreds of thousands of blocks across

Police Officer: are you challenging me?

SNPING
Автор

Random coder : Just forgets to write "double" instead of "float"
The end dimension : *Becomes an onion*

maniacobra
Автор

Speaking of the End, the stronghold should get an overhaul because of how messy it’s always been.

jonusaguilar
Автор

Ahhh the classic function of a codebase that nobody touches because it's literally unreadable. Cool.

Guergeiro
Автор

The End Cities angered the dragon, so it banished some of them to teach the remaining cities a lesson.

nathamiell
Автор

''i wasn't able to find any mod that does this''
-the person who did that exact thing some videos ago

blikthepro
Автор

Imagine not being broken in minecraft smh

lennyface
Автор

They should keep this glitch honestly. I would love to see the developers refine this as a feature for an end update. In between each donut is a rift that can take you to the next donut or to a random dimension, and each donut has its own unique feature

angryvulture
Автор

4:02 After staring at the code, here is my guess for where it goes wrong: (float)(i*i+j*j) first does the calculation on integers, and then converts it to a float. If that calculation overflows (aka i*i+j*j > 2147483647), this number can become negative. This is then converted to a float, and square rooted. The code can't square root a negative number, hence NaN.
This also explains why the rings all have the same area. Every time (i*i+j+j), which is the square of the radius, reaches a multiple of 2147483648, the sign of the overflowed number flips. (Eg. 2*2147483648 is actually 0). Hence the difference in radius squared for each donut is always the same, hence the identical area.
Now, if you look at the numbers, the first overflow will happen at a radius 46340, not the 370687 observed. This is (within rounding) a factor of 8, which leads me to assume that whatever code calls this function, first divides the actual coordinates by 8.

marcisz
Автор

I almost feel like this adds to the alien nature of the End. It would be a cool feature if it simply made the islands more or less dense.

zarnox
Автор

This bug is caused by an integer overflow in the calculation that is meant to keep the area around the origin empty. I.e. the line
If(q*q+r*r<4096
Overflows, because those are still integers.

As the numbers get bigger it overflows multiple times and start overflowing more often, hence the repeating pattern.

bcmpinc
Автор

5:05 This man made (or found) a sinusoidal graphical display for end donuts.

Excellsion
Автор

I’m going to call this the “End Lands”

floridamangaming
Автор

For most people, this wouldn’t be noticed in survival.
Challenge accepted.

jackservans
Автор

bruh i feel so old when you said the end hes been broken for 2 years i automatically assumed since 1.9 and i didnt find my assessment weird until you mentioned it was broken since a 1.14 snapshot and then i suddenly felt like an old man and realized that was 2 years ago

randomstuff-cuof
Автор

Wait, so would this be the same in worlds that use End-Terrain based generation? (Buffet, custom worlds, etc)

zephranarx
Автор

Meanwhile in an alternate dimension.


“the Minecraft End Has Been Fixed for 2 Years...”

fazbrogaming
Автор

phoenixSC: looks into the game code to create things
antvenom: looks into the game code to bring the game to its knees

DiamondPanda
Автор

for those who don't understand the first equation: (its a bit long lol)

before starting take in mind every time you see a negative x or z, USE absolute values. for example radius from x₀ to x can't be -10 but 10. ill always consider values positive so some absolute value rules may be bypassed

there's a circle in the center, then there's the donuts like he says. either way, our first thing is the radius. in the circle in the center, you count the distance from 0 (absolute center) to the very last block in a straight line and its around 371k like he says. now chill, this is math, in minecraft you have the coordinates and mark the coordinates of the last block. I recommend you doing this on the furthest edges, because circles aren't perfect, either at angle 0°, 90°, 180° or 270°. for the donuts, it's different, you'll have to mark your coordinates in the beginning and the end of that area, then the difference will give you the radius.
* center circle: r = x, x: distance
* donuts: r = x - x₀

we then proceed into finding the area of the circle/donut. because donuts are circles with holes in it, its not necessary to bring the donut area formula because we're trying to find the remaining distance of void. so basically the area for circle is A = πr². we have found our radius already, so all you do is to plug in the values and we have: A = 371k²π = 137bπ = 432b. you'll notice he also doubles the number so it becomes 864b. what's the point? because that's supposed to be the area of the void, note that down.
* circle/donut area: A = πr²
*void area: Aᵥ = 2πr², v: void (always use that)

then as we see in the video he reverses the equation. he divides by π, so it becomes 275m, then square roots and becomes 524k, the point where the next donut begins. this is complicated but its actually a different form of A = πr², at which you're tryina find r so it becomes r = √(A/π). big attention though. since we multiplied by 2 earlier we can't reverse the equation back without dividing by 2 and so, we'd have to symbolize a second radius with R, that being the radius of the circle/donut and the void donut combined.
* R = √(A/π)
* R = r + rᵥ, v: void

the next one is the most interesting. if you know math, you'd do your best to replace formulas hidden in formulas then simplify. that's the case with this equation. watch how epic it reforms: (explanation given)
R = √(Aᵥ/π), reveal "Aᵥ" equation
R = √(2πr²/π), simplify π
R = √(2r²), simplify the square from r
R = √2 • r

its interesting to see that you end up with the popular square root of 2. so to find where the next donut would start you only need the radius and multiply it by square root of 2. to prove its correct: R = 371k√2 = 524k. if you don't believe me try it in the calculator with exact numbers.
* R = √2 • r

now this equation is only to find out distance of void. if you're in survival youd have to take some stuff in mind, like noting down the beginning and end of the donut to get the radius and you'd have to do this for every time considering the code breaks it when using sine.

if you look at the description he gives a second equation which shows exactly how the code is broken. it looks gibberish but if you decode it it becomes:
y =
y = 250, 000sin(228, 580, 929 • 10⁻¹⁹x²)
you'd ask me why I converted it to an exponent, well, because the number is very small thats why. right here we have a weird equation with extreme numbers.
* y = 250, 000sin(228, 580, 929 • 10⁻¹⁹x²), y: floating point, x: distance

I'm also here to tell you if you replace any variables with numbers, y has to be between -250, 000 and 250, 000 (giving y values is useless because it's gibberish calculations if you try to solve it so ignore it) and x can take any value. x is a little interesting as if you replace it with your current x or z coordinates it shows the exact floating point. if its positive it means you're on an donut/circle but if its negative it means you're in the void. if its 0, it means you're in the exact beginning of the donut or the center of the circle.

I should mention that like he said minecraft is blocks and values aren't perfect. thus, they get rounded. for example 4.1 is 4 and 4.5 is 5. everything above or equal to 5 goes to the next number and everything below 5 remains the same

conclusion:
1. use the first equation if you know the radius and how you find it to estimate the distance of void for the next donut.
R = √2 • r

2. use the second equation for advanced and analytical view of the floating point of each coordinate. remember the sequence, negative, zero, positive.
y = 250, 000sin(228, 580, 929 • 10⁻¹⁹x²)

XBGamerX
Автор

AntVenom: *The end Has Been Broken*

Me: Another video, another broken dimension

thebronzejade
welcome to shbcf.ru