Minecraft's Mysterious "NaN" Values?!
Вставка
- Опубліковано 23 лип 2018
- Today, we mess around with Minecraft's "NaN" values!
» Breaking Minecraft Playlist - • Breaking Minecraft
» Discord - / discord
» Subscribe - bit.ly/AntVenomSubscribe
SOCIAL MEDIA
» Twitter - / antvenom
» Facebook - / antvenompage
» Instagram - / theantvenom
» TwitchTV - / antvenom
PLACES I GET MUSIC
» c418.bandcamp.com/
» UA-cam Audio Library (Sad Past)
Divider by Chris Zabriskie is licensed under a Creative Commons Attribution license (creativecommons.org/licenses/...)
Source: chriszabriskie.com/divider/
Artist: chriszabriskie.com/ - Ігри
"How often do you have broke Minecraft since now?"
AntVenom: "NaN"
😂
3.4028236692093846346337460743177e+38 times
64 bit integer limit
TheBlueEagle nani
2^1024 probably cuz thats the biggest number that java can understand
Did nobody notice that Ant got the "Mincecraft" easter egg in the main menu?
Ikr. I mean even if they didn't know about the easter egg, the title looked a bit odd anyway
Wow
Stefan25897 hey. The antvenon is nerd? The face his is funny. I'm brazilian
Square Mapping hey. The antvenon is nerd? The face his is funny. I'm brazilian
yes he said minceraft
1:32 "Minceraft"
Ant, i think that you not only found a way to break minecraft, you also found an easter egg.
oof
1 in 10000 easter egg
it’s photoshopped, look closer
Melting Ice how?
@@KarateLauren you can see a little bit of the e still under an edited-in black box. then he takes that little bit and adds it to the c to make it look like "Minceraft", but its photoshopped.
@dont fucc with me im an otter proof?
I thought the Game was so broken that the coordinates said “Nah”
XD "Hey Minecraft, can you go to a broken coordinate?" MC: "Here's the value of: NaH."
I mean, that's kinda what happened lol
Phone .........nah
Where are we?
Yes.
@@lunalgaleo1991 sodium hydride
Map makers could use this 'feature' to disable parts of the vanilla gameplay.
Kyrollos Youssef that’s a great idea.
Now I suddenly want to make a DOOM-inspired map where you can't look up or down 🤔
latinflavorxd you’re* lol don’t call people retarded if you can’t use proper grammar. Second, NaN means Not Applicable Number, not nothing. Dumbass lol
latinflavorxd, you are a intelligent man, wow.
ultra oofism
Maybe its a typo, maybe its supposed to be Nah. As an "Nah fam, you CANT be there"
Nah, fam, the laws of physics don’t allow that
Nah, go back to the normal area of the game.
Wubbidi Dubb computer science
Correction: It's a programming language value to represent number types that are 'Not a Number' (NaN)
Lapys "programming language value"
JavaScripters: "And how tf is that Mysterious???"
I was making a calculator in website JavaScript and most of my results would calculate incorrectly and it would write NaN alot. One day,I fixed it by not making a result variable.
Minecraft is on java and not JavaScript
@@apchistuz he didn't mean that
@@apchistuz Dude, every computer langage that is based of C++ and C++ itself has that value with "Float" number and "Double" number, it's literrally the same value in every of these language
(Yes, Java came from C++ and JavaScript came from Java)
@@TBiscuit1 language implementations written in languages other than c++ may have floats and doubles as well.
also, most implementations of javascript are written in c or c++, or at least, the more widely used ones are. javascript is not written in java, but it was inspired by it
Good, a new episode of Minecraft Vsauce. *grabs popcorn*
Gave Killkor NaN [@@]
Lol true
Wait until he learns you can set floats to "Infinity"
xD
Nice name
Also doubles can be infinity
Oh look its the silica that everyone hates for no reason
*oh no*
Seeing you breaking Minecraft is fun!
Yeah, and sending your health value to Nan is the most broken way to even play Minecraft because then the game won't even tell if you're dead or alive at all because the angle change happens when the Minecraft player dies but since the health value is Nan the game keeps on thinking that you're both alive, and dead at the same time which causes the camera to keep on shaking back, and forth between completely upright, and slightly off to the side like you keep on dying, and respawning so fast that you can't even see the red screen effect, and you can't see the "you died" screen also it makes the player hitbox so broken that you can't even break blocks or hurt anything in Minecraft not even a cow making the game harder to play than even adventure mode because since you can't even break blocks you can't even craft a boat to get around the world, and I think the game would completely crash if you get hurt or killed by anything hostile to you when your health value is set to Nan because since the game is having a hard time processing where your dead or alive if you get killed when your health value is set to Nan the game would just outright crash, and then you would be kicked out of the Minecraft app like you caused so much lag by downloading too many Minecraft mods that you overloaded your electronic device's memory processor, and caused you to get kicked out of the app, have your electronic device get shut down, And then while your electronic device is rebooting it automatically uninstall all Minecraft mods that you downloaded. 😅😅😅😅😅😅
"what does this mean and how can we use it to break minecraft."
ant venom in one sentence lol
Yeah but things could have been much worse! Why? It's because if AntVenom tried plugging in the Nan value into the chunk or seed generator then who knows what could have happened? It probably could crash the game! 🤯🤯🤯😰😰🫣
When you are a programmer and you see the title: ok this is gonna be fun
exactly
exactly
Exactly
exactly
NaN actually means: "ok whatever you did, you did it fucking wrong"
2:47 *you did it. you achieved Minceraft.*
Phone message: Event in NaN minutes.
Me: Huh. Thats odd...
Event in infinite minutes
2:41 DoomCraft!
0:59 *NaN* Not a number I search every on Google
Interesting! I wonder if setting fall damage to NaN behaves any differently than any other way of making fall damage not occur.
NaN
My name is Enan. "NaN"
Nana
If you set it to like 2.0 it will make you constantly take fall damage
@@soulplexisbut how would that work if 2.0 = you always constantly take fall damage then at what point of increasing the fall damage value do you double the amount of fall damage you take?
NaNi?
Eryn Chandler Деспацо
Omae wa mu shindeiru
Eryn Chandler yes
i get it
*head explodes*
2:12 - congratulations, you've found the ethereal plane of minecraft
The game want to say
“NANI??”
NaN-i
thanks for putting a smile on my face
I thought it meant nani at first XD
Stop
Bruh unoriginal
Are the values floating point?
Then you could even use infinity and neg infinity.
IEEE is best
Yes, NaN in Java is represented as a Double (floating point), and so is positive and negative infinity
(Try Double.POSITIVE_INFINITY and Double.NaN)
@@raggebatman aàaaA as àÀaaaaaaa a as a as a aq as aaaaÀÀaaaaaaaaa QA aàAaaaaà
@@Not_Aran8276 Understood.
@@computer_dude wtf happened
@@Not_Aran8276 Don't ask me.
NaNny?
I hear Naurel.
SaltusGaming NaNi?
LeJEnD 21 I was thinking that,
NaNi?!
LeJEnD 21 oh god i was about to say that
0:05 I’ve done that before! I knew it was a glitch but I never though much about it.
Nobody:
Yt copyright system: "music in this video: nan values"
I was skipping through thie video, and went back to see what happened when the coordinates were NaN. I actually had a feeling it would do something related to the center of the world (x=0, z=0) because when it turns the float into an integer to use as the index to an array (for block data), I assumed it would be treated as 0. And it makes perfect sense that it would always treat it as if you're inside a block when you set the vertical position to NaN, because Y coordinate 0 is always filled with bedrock. Try doing it in the End (or otherwise removing some bedrock from the bottom of the world) and I bet it won't show you as being inside a block there.
*NaNi?!?!*
Oh, so this is that value I always used to encounter when casually playing flash games a few years ago...
So antvenom what is your world record
Breaking mc NaN times
NaN stands for Sodium Nitride :)
Creepernick01
Do you like sodium?
Na
That's Na3N :P
and NaN3 is Sodium Azide
NANI?!?!!??
Correction: It's a programming language value to represent number types that are 'Not a Number' (NaN)
Nantvenom
NaNtVenom
NotaNumberAntvenom
-nan(ind)tvenom
Do you watch AntVenom?
NaN
xD
NaW = Not an Word
Not a Number.
WHY THERES AN ARMY OF OH YEAH MEME???
oh yeah yeah
Wait! I think Minecraft is trying to say something.
NaN: No, Antvenom, no!
so javascript is saying that I am AntVenom
Ah the joys of floating point math. If you were to corrupt the raw hex values of an nbt file correctly you could have this sort of thing happen naturally, along with +/- infinity. NaN values simply occur when interpretation of a floating point value would result in something nonsensical, typically caused by overflow in a faulty implementation (as it _should_ just become Infinity). The NaN values occur after 2^127 as that is where the exponent value inside of the floating point number goes into the defined range for NaN-- as there are multiple kinds of NaN values. If you overflow the last floating point value (by having a speed enough that it would actually be able to overflow, as the farther out you get the larger the difference between consecutive floats) your position would read as Infinity. Or the game would crash, as most calculations with infinity simply stay at infinity, but I can't really test the game's reaction.
If Ant ever sees this comment just know POSITIVE_INFINITY and NEGATIVE_INFINITY are the representations for this in Floats and Doubles. Dunno what would happen if you actually tried to use this but uh, there you go anyway.
mincrmatt12 did u copy and paste that from some article
NaN is the result of an undefined operation such as zero divided by zero (in which neither +Infinity nor -Infinity is correct)
Required reading is David Goldberg’s classic _What every computer scientist should know about floating-point Arithmetic_
my little brother genuinely managed to set all X, Y and Z coordinates to NaN on a modded world.
Granted, this is probably because it was modded (I don't see any reason why this should happen in vanilla), but still.
I could have sworn that dividing a nonzero by zero just gives +/-Infinity.
This is gonna be interesting
Alkaizer hey. The antvenon is nerd? The face his is funny. I'm brazilian
Eduardo Desessards good to hear
-From 1 to 10, How much do you love me?
+NaN
1:32 THE MINCERAFT SCREEN! Not only did you manage to break NAn, but you broke minecraft so much that it has to reveal all its easter eggs!
Another great video by NaNtVenom
nice one
NaN... why does that sound so familiar?
Oh i remember now, it's from the good old UA-cam Poop reversal jokes!
SuS
oh cmon i thought you were gonna do a NANI joke
PaaP
MeeM
"How many blocks did you take to build this building?"
Person 1: NaN
This can happen with mods such as Immersive Engineering, with the Skyhook. The actual equation it uses sometimes returns value NaN, setting your X, Y, and Z values to NaN, along with your velocity values.
If playing on a server, you will be booted next tick, as the game does not allow “corrupt packets”.
Nan is a bread
Naan
That's Naan
Am I the only one who knows NaN from hacking cookie clicker?
Yes
Cookie clicker, I thought that *died.*
Oh wait it *did.*
That was a good game
Damn, that was 7 years ago
Virus detected windows memes
No you're not! Me too 😊
This is the real content I have been waiting for! I actually found it out 2 years ago when I was messing with the games code, first it crashed and never opened then my worlds got corrupted and then I checked the things I changed then I found "NaN" but, stupidly I did not record it or even screenshot it
1:32 MINCERAFT! YOU GOT IT ANT
It’s edited.
Antvenom be like: ok this is new... HOW CAN WE USE IT 2 BReak MINECRAFT??????
I love your breaking Minecraft videos very interesting
NightOwlPlayz hey. The antvenon is nerd? The face his is funny. I'm brazilian
3:08 the movement glitch remind me of the good ol TF2
2:40
>doom
Your awsome
Thanks for your free content ❤️❤️🔥🔥🔥
NaN Nothing and Nowhere
Sweet band name
Lol
Never and Nowhere*
You're forgetting Null.
I love Minecraft for this. Most games will crash and burn if you edit things like this. Minecraft just chugs along the best it can.
I’m pretty sure NaN was involved when Xavier made the “Never Dig Straight Down” pickaxe for LogDotZip. (it was a pickaxe where, when held, it would not allow the user to look any direction but straight down, and dug extremely fast)
1:36 Minceraft????
Zaner 89 photoshopped
NaN means Not A Noob, which you, Ant, definitely aren’t!
Ant, you are so cool! I love to see the ways you break Minecraft.
Person B: Actually, it's Not A Number.
Person A: r/whoosh
I only ran into this on a server that had a few plugins, I stood on some stairs use the command "/sit" then used a piston to push the stairs
I remember seeing the nan in the alpha 1.8.0 version and is what it meant thanks for the explaining
1:37 THE TITLE IS MINCERAFT!?!?! 😶
That's a rare easter egg o-o
You can do some of these ingame...
You need to set attributes on items.
Lets say I want NaN health. I need to get +Infinity max AND negative Infinity at the same time and get hit. Boom, same effect. See for yourself
I love your videos AntVenom, i didn’t even know that Minecraft had such mysteries! Thank you! I watch your videos everyday!
NaN is also found in other games like automation where if a car is above a certain weight, it's weight value goes to NaN and thus the car cannot be exported to beamng drive. however, replacing NaN with the actual weight value lets the car export, but with no working engine.
Did you even notice you were showing a Minceraft screen for the main menu? 2:47
Wait, that was edited. You can see a small part of the E.
@@hallowizer440 No it wasnt edited, it was intended
Orest Smyk bullshit its edited.
Cool vid ant
Hero 2005 hey. The antvenon is nerd? The face his is funny. I'm brazilian
Hero 2005 NaNt
I love the old intro. Keep up the good work!
THIS IS WHERE I HEARD THAT SONG! (the one that phoenixsc uses for his outro)
For a while I remembered the song and had no clue where i had heard it from, then I heard it in a phoenixsc video a few months ago and recognized it, but still had no idea where i had first heard it.
Now I remember :D. Finding past memories is awesome.
Mojang: new version guys!
'Half a second later'
AntVenom: how to break it ?
I like your vids there are so cool
Max und Marina same!
They’re*
hey. The antvenon is nerd? The face his is funny. I'm brazilian
This happens because in Java, NaN, when used in mathematical operations will just be set to null or 0. Take the health NaN glitch, the game is constantly settings your health to null or 0, and is unable to change it because you can’t set a value to a variable of type NaN.
i code in javascript and i can tell you that variable with NaN value can have their values changed to something else.
java probably has the same logic.
@@Mizu2023 but JavaScript variables are ridiculous by itself and shouldn't be compared to proper languages
Whoa, I’ve seen that bug with spazzy screen and walking with no health. It happened years ago and the same bug happened, but I didn’t t modify the files.
You're amazing
Thanks for the heart
hello fellow apple
APPLE PAARTYY!
Ant: Tutorial, how to break minecraft again
NaN
1:34 aparently its a VERY rare chance to have the main menu screen say minceraft instead of minecraft im not sure if its true or not but its cool that i realized it
In older versions of the game you can type NaN as a number when teleporting. I accidentally found this a long time ago and never knew what it was for. It takes you to basically nowhere
when you go past the world border:
XYZ NaN/NaN/NaN
NaN also is in happy wheels, and there it gets intresting
Happy Wheels is made in Flash which used a custom version of JavaScript for game scripts.
JavaScript is similar to Java,which means that most value names are the same in any JavaScript version.
@@thebluekirbychannelsnewchannel hi it's me, NaN is now used universally by many programming languages that are error resistant, some programming languages will spit out an error, while others spit out NaN when you add f to 5, NaN is a special number that isn't a number, NaN in most case scenarios is assumed to be infinity, with rare exceptions
Antvenom in a office interview :
Officer : So what's your hobby?
AntVenom: Uhh.. breaking Minecraft ?!?
in Minecraft, nan is used as an uncomputable 0. You can't add or subtract it, and the only way out is to change it. you can't multiply or divide, or any insane Minecraft algorithms, they all turn up with the number 0 in effect but NaN in reality
NaN - a game developer's nightmare :o
the name just scares me,it makes me feel like some black hole is about to swallow me
Y axis must be like: *'cause im not a number anyway*
(I hope someone knows this song)
Props something you dont care about but, in the buffet menu, when you combine Oceans with floating islands you do get some weird results, it looks like a normal island but with flying boats, water temples and rivers in the air
1:33 Minceraft found, congratulations AntVenom,you found a Easter egg in minecraft WITHOUT noticing
When i saw NaN i instantly knew it would mean Not a Number lol
Goudie Lol
Goudie me too lol
tbh i couldn't see it as anything other than NANI
r/iamverysmart
good video👍 keep it up
bored nice Zero-two pic
hey. The antvenon is nerd? The face his is funny. I'm brazilian
3:16 ''**beating minecraft without looking up or down**''
I just but just love you man
*let's ignore the fact that the copyright in this video is called "nan vaules"*
its gone, he paid for the nan membashipp
Nan... hmm sounds similiar....
*yANnY*
NaNi?
*@ Surprise Guys*
Why did you type *laurel?* laurel sounds nothing like NaN ;P
Sion
*Fun Fact!*
_Yanny is actually Laurel but edited!!_
dAdDY
NaN is the dark green glossy leaves to symbolize victory.
Nan NaN Minecraft is truly scary I feel being watch while playing MC at night
The reason this happens is because NaN literally means "Not a real Number", and is a general placeholder to say that there is no applicable value that could be considered rational or real. Great for irrational numbers for theoretical math, but not so good for practical computing applications. Things like the square root of a negative integer are examples of non-real numbers, and are represented in mathematics with i, literally short for "imaginary".
0/0=NaN
TRUE!
Antvenom+Minecraft=NaN
Ant, be honest. Are you wearing pants right now?
is he even wearing skin right now
waht r u weetards takking apbout
SeecretFriday ants do not wear pants, they go up your pants
In computing, NaN, standing for Not a Number
While we wait, we need to see a video of antvenom going to that EXTREMELY HIGH NUMBER (9 quadrillion)
I’m gonna give this video a............
NaN
Or a 9 idk
can you put the songs you use in the description
He already did it.
he put the place where he got the music he didn't put the name of the music
Minecraft: NaN
AntVenom: *NANI*
AntVenom: *Inserts number*
Game: Not a Number
Nan is a person
I actually had the NaN hearts happen to me in game one time. I used slash kill and something glitched out and I got stuck in that state of being dead/alive. Didn't know how to fix it so I just gave up on that world.
There is a mod for Java 1.7.10 called hbm nuclear Tech that adds an item called Plan C that sets your health to nah. Pretty much does the same thing that you encountered in this video. You can't change it back though so it breaks your world, really sucks if you do it on a long time survival world.
what happen if you use this on servers ? will it work?
miss MiMi You can't do that, you have to edit map files, so it works on singleplayer only. But it can still be used for cool maps.
Nero I see...well thanks !
@@missMiMi considering what @Nero said, you CAN do it in a server provided it is your server (or that you have access to its map files)
@@Fogolol interesting, might try to get my hands on it
@@missMiMi did you?