luckily most of those coding sins don't really affect the end product for most people. Sadly, some things do like the horribly outdated render distance system. Distant horizons shows how performance efficient having LOD that's far further than even the max vanilla render distance whilst improving performance. Not to mention the god's work that Sodium/lithium accomplishes.
throwback to how dinnerbone found out only a few years ago that the camera was placed at the player's feet, but the world rendered 1.8 blocks down so it evened out
Code bullet, with less adhd screaming, less lazy and less hyperfixated on chatgpt abuse. And I say this in the best way possible. I'm still waiting for his second enigma machine video 3+ years later.. 😅
Yeah, I very much agree with this. It feels like a code bullet video, but if he explained stuff more and was an actually good UA-camr.*¹ This guy is a lot more chill and has a great voice for explaining stuff. I feel like I am just skipping through code bullet's videos to get to the actual content that I want to see whereas this guy gets straight into the good content. didn't even have to skip at all. *1: Compared to this guy
I guess you can compare it to Code Bullet if you look at only the faceless, non-human, semi-anthropomorphic avatar aspect of it, but their personalities and editing styles are very different.
@@ArustwatDaGoatIt's applying acceleration in both directions at once resulting in a diagonal acceleration equal to the square root of both, which due to math is 1.41x (√2)
you're the first one whose mc clone actually looks like the game, very good job. And I also agree: Notch smoked some very illegal stuff while coding these physics
if you don’t make this a series of sort of dev log, sleep with one eye open, check your windows at night, and always look behind you. Just don’t ghost us like the uh… *checks list* … last 15 Dev UA-camrs.
@@Just_Poncho yeah, i’m doing some dev and coding classes and they’re rough. i made it roughly as a joke, and also a plead for new content since youtube is getting dry.
as someone who mods minecraft, I 100% understand your frustration with minecraft's code probably being in the top 10 list of most broken code of all time
Look I know notches code looks bad but in java if it ant broke dont fix it because if you do you'll nuke half of your classes and you'll have 5 hours of debugging on your hand. (Trust me I know from experience) In java everything is interconnected and as soon as you change 1 thing they will all break.
Idk java but in c#, just use a design pattern that doesn't require a whole bunch of references and it'd prolly doesn't fuck everything up. Wouldn't that work?
No, that's not the cause, if you follow proper programming principles and adhere to things like SOLID and proper OOP, this will not happen. Source: I've been using Java for almost 8 years at the enterprise level.
@@eliescobis9922 Legally, no. While copyright holders generally only care when it comes to redistribution, using copyrighted materials, even privately without redistributing, is still a copyright violation. But, @cycliii was likely referring 14:05: "I won't be posting it online to download *yet* "
@@thereborne5219 sure - because giving someone's IP away for free isn't illegal, it's only illegal when you "sell" it?? might want to revisit IP and copyright law from you law school days why the f-ck did you quote selling?
pretty fun seeing how game is structured, to make it more accurate there has to be particles, it will make everything 10 times more like the game. I also noticed that gravity still isn't exactly how it should be, falling is very slow, will be waiting for the next video
Math is really helpful once you learn it, vital in coding Dropping out of anything is very stupid in my opinion and will come back to slap you in the face in the future, but you do you
@@defenestratorrtrue, although the "come to slap you" can vary on the grade he dropped out in, uni? sure, no problem, but middle school or elementary is a real problem.
@@defenestratorridk dude, everyone has different life circumstances and ways of learning. Calling a decision someone made "stupid" as a blanket statement seems reckless to me, i say that as someone who was unable to finish school because of mental health issues that were severely impacting my ability to learn and function in general. I am much better now tho, not 100% yet but i'll get close enough to that in due time. Point is, we don't know why they dropped out or why anyone does until asked :/ ultimately you do you, as you said
its not too bad, just some perspective projections for rendering the part of the block facing the camera. Not sure why he didnt explain that but theres a formula u use to get it. Someone a long time ago probably optimized it for computers architecture and he used that. If you're curious find a tutorial video explaining Perspective Projection, or how computers display 3D onto a 2D screen. Was there anything else u got confused about?
Yeah, the way it's taught was a big problem too I never got it until an adult education teacher, who actually cared, managed to teach 10 years of school maths to me in a few weeks.
Notch has gone on record saying he doesn't want to be associated with Minecraft. I think we should call the creator of Minecraft... A: the creator of Minecraft B: God
@TheStudioArchitectidk maybe he shouldn't have been a transphobic annoying right wing asshole and there wouldn't be such a negative connotation 👍 no wonder he now wants to not be associated with a game so public about inclusivity and equity
Wow, another fellow minecraft cloner, I actually went through almost all steps like you, like making code to load models, painting gray-scale textures manually, because I was lazy to do it Minecraft way. Btw making code that can load almost any minecraft model was kinda hard and confusing, I still didn't finish it, but I can already load complex models like lectern, anvil etc (but they are without a texture) I still dont have ambient occlusion though and player physics like block collision and block placing/breaking. I was mainly focused on optimizing rendering code to look like a minecraft with shader pack, but with much higher fps. I already have shadow maps, and frustum culling, but I'm still yet to implement PBR, SSAO, SSR, occlusion culling etc. One minor difference though is that I dont make a minecraft clone, but rather a minecraft client from scratch that can pottentially (if finished) connect to local vanilla minecraft server so I can play minecraft with 100+fps with fancy shaders (I cant do that in regular modded MC with shaders cuz my GPU is poop (integrated AMD Vega 8 moment), and shader API and code in iris/optifine is very unoptimized in my opinion)
i was also looking to make a open source minecraft clone with shaders - but i wanted to use vulkan and writing a rendering engine takes a lot of work so i haven't gotten very far lol.
@the-rats-ruckus the lighting system is near identical to java (what the oc called real) minecraft, and the foliage (grass & leaves) also looks more like java
The java version having a local server with its own clock is probably the reason why redstone and physics are jenky in bedrock. If you lag in java, the speed of the game kinda keeps the same; on bedrock, 1 second of lag makes the game think you accelerated to mach 5 and kills you by collision since its synced with the computer/external time.
I was thinking of doing the exact same thing in Rust. Great that I've come across this. Yours is a highlight out of all the voxel videos I've seen because of the trying to be close to actual minecraft. Great job!
He got billions in dollars, he doesn’t care what a bunch of terminally online middle schoolers say about him and their pathetic canceling attempts on twitter 😂
The one thing I want to see a mincraft clone actually do is have a minecraft terrain generation. Most clones just use 2d noise instead of 3d noise for it, but I want more explanations on how it works with the 3d noise
@thesongshirjyhugo No, you can literally download free, normal Minecraft, and the only thing that will be different is that you can't play on servers that require premium Minecraft, and you probably won't see others skin and they won't see yours. That's all.
I feel like I've gotta try to justify at least a little of Minecraft 's code here. Block entities (or tileentities) exist simply because of the limitations placed on normal blocks in early minecraft. Blocks are split into three parts to prevent instances infinitely piling up and consuming terabytes of RAM: 1. Blocks: these define the whole 'class' of a block, when you setblock minecraft:grass, you're referencing the class. A single Block doesn't have a position or any metadata, those are represented by the upcoming two. 2. BlockPos: This is extremely simple, represent's a block's position in the world. The reason something like this isn't bundled in the Block is that it would cause all the extra data relating to the block to be cloned for every single position in the world. However, storing it seperately infinitely reduces the amount of memory required. 3. BlockState: This stores the actual block's data; however, a regular BlockState without a BlockEntity can only store data that can be turned into numbers, like cardinal facing direction or whether or not a furnace is lit or not (before 1.13, they could only store data that could be represented by a number between 0-15, in fact). These are stored in a bitarray->pallet system, where one entry in the array points to a specific blockstate in the subchunk. Since items are infinitely customizable (type, damage, enchantments, etc) they cannot be converted into numbers (and thus, cannot be represented by a normal block). Since items (or just other non-discrete data in general) can't be represented in a normal Block/BlockState pair, they have to make use of Block Entities (their whole business being that they *can* store data outside the normal limitations). That is why block entities exist. I'm obviously glossing over a massive amount of extra information here, but you get the gist I hope. Also, a Block Entities does not actually have to have a custom renderer (what you were referring to when you said the chest and bell were actually entities). The furnace has a Block Entity attached to it, but still uses normal block models. TL;DR Minecraft uses a very smart and very data-efficient way of storing blocks in the world. Block Entities are necessary to store some extra data that couldn't otherwise be stored by the smart system, and also sometimes they have a special renderer attached that doesn't get caught up in the rest of the world's meshing. Not all Block Entities have special renderers, the furnace is an example of that. P.S. The reason why the player movement bugs haven't been fixed is probably because they could break certain technical builds in previous versions of the game, which Mojang (and the ever backwards-compatible Microsoft) don't want to do.
What was Notch thinking when he said to himself, "Oh, I'm going to make the player move at 4,317m/s with an extra percentage of increase and decrease depending on how out of control I get while keeping my life together and let's make it so inconsistent so it seems like I really wanted to provoke seizures to anyone else with coding knowledge!"
The leaves look too much like Bedrock edition leaves due to the lack of culling the textures on the other side of the block (and also the lack of not rendering leaves 2 blocks behind other leaves, but that isn't seen here)
I love the production of your videoes, so unique and humorous! Your edits are perfect and your character is a nice mix between scary and familiar lol. Keep up the videoes you deserve a much bigger audience! Love from denmark
it would be wildly, incomprehensively, unbelievably ILLEGAL for you to provide a download to this copy version of minecraft. reverse engineering the code isn't the issue. there's plenty of games which legally copy minecraft by simply being another survival block game. no, where you messed up is using the official minecraft textures, which are copyrighted and cannot be redistributed by a third party (you). if you want this game to be downloadable for your viewers, I highly suggest designing your own, original, minecraft inspired textures.
If you're going to post this online, you can't post it with the default Minecraft textures as they are copyrighted and Mojang is rather persistent with issuing DMCA notices to those who make them available for download online.
I enjoyed your video but PLEASE FOR THE LOVE OF GOD STOP SAYING "minecraft-uh", "bug-uh", "sucks-uh", "terrain-uhh" just stop using your voice after the word ends, I hate how it sounds when you speak like that and I can't be the only one bothered by that. But I still really enjoyed the video, it's exactly my taste and I subscribed!
You know I've seen a fair few minecraft clones over the years. This is the first one to get the movement to feel right. No wonder, since it's so insane under the hood.
You can see the 3D turning into 2D in a very nice visual in the "Model View Projection Matrices" video from Jamie King here on youtube from 10 years ago.
thats actually so badass. i'd love to see a sequel video where you add slightly more minor aesthetic features like screen bobbing and the hand and making the fov change when you run or sneaking. basically all the features that make the movement feel right and stuff but regardless so awesome
Now all you have to do is add: Particles, Sound effects (distance cutoffs, muffling underwater, etc) Biomes (climate info), Entities, Block entities, All blocks and their variants (includes functionality relating to specific blocks like obsidian/end portal blocks having the ability to make portals and respawn anchors having the ability to store a value depending on how many times you use glowstone on it. I don't think the resource pack and model folders handle block interactions but correct me if I'm wrong), Health and hunger (Which should probably include damage sources and damage over time effects like poison?), Items (Food, materials, weapons, etc), An actual inventory, Crafting, Day and night cycles, Blocks like sand and tnt (? Probably goes under "All blocks" ?), Commands and a chat box (basically a mini command line for the game?), Multiplayer functionality and dimensions. Mix well in a bowl and I think you might get something that functionally resembles minecraft? (This is a joke please do not remove me from existence)
I've played mcpk for a while and used that wiki a bunch, watching you figure out all the dumb movement mechanics was awesome - however, that wiki is for Minecraft 1.8.9, some mechanics such as the collision order are different in newer versions
Just so you know, using the wiki information for write the code is fine, but the moment you start decompiling the game yourself, it becomes legally grey. There's actually an existing project to make a perfect recreation of Minecraft that employs a technique referred to as the "cleanroom" technique, where one team decompiles the game and writes a document about the implementation, and another one implements that specification
Nah this content peak, this man deserves more subscribers fr. (I haven't seen a game dev youtuber make so much progress in 1 video, and make it look completely legit)
Hey man, I’ve been trying to do this exact project for awhile now as a good way to learn GameDev, been trying for ages now so I’m happy to see other people still attempt this
As someone who mods in his free time, I can absolutely agree that a lot of stuff in mcs code is absolute as weird as it gets. example: world gen for caves only talks about spaghetti, noodles and cheese. Thats literally what the values are called. another one is the overworld dimension having over 7600 biome entries.
The legality of this is grey, but grey shares a lotta letters with great, so it's probably fine.
I mean no money really and its not like nintendo is going to go after him cause he isn't even offering a download.
@@Radnugget Since when was Nintendo involved with this?
@@Birds-are-Cool-jSteve is in smash ultimate. You may say “that’s not how copyright law works” but allow me to introduce you to Nintendo’s lawyers
@@oberonpanopticonidk man minecraft is owned by Microsoft now so I don't think that's how it works
But you guys do know that minetest exists right?
This video has made me realise just how wild the code behind Minecraft is
Yeah it is insane that this was written and STILL IN THERE
@@scasz nice job with the new eyes!
it’s disgusting looking at the old code for some things that they just never refactored
@@elliejfhonestly, finding old artefacts in things from years ago is one of my favourite things :D
luckily most of those coding sins don't really affect the end product for most people.
Sadly, some things do like the horribly outdated render distance system.
Distant horizons shows how performance efficient having LOD that's far further than even the max vanilla render distance whilst improving performance.
Not to mention the god's work that Sodium/lithium accomplishes.
throwback to how dinnerbone found out only a few years ago that the camera was placed at the player's feet, but the world rendered 1.8 blocks down so it evened out
WHAT
When was this? Is it still lake this? But wouldn't that effect your cross hair selection to not match what you actually see.?
WTF
So that's why coordinates on legacy console were always slightly off on the Y
is this related to the player coordinates lol?
There's piracy, then there's this.
"- Microsoft turning the Game into the child-friendly product? ok, it's time to make Minecraft 2."
Piracy with another step
There's piracy, then there's copyright infringement
@@BazilBuildBases when has minecraft ever been anything but child friendly?
@@BazilBuildBases Minecraft has always been child friendly you dingus
idk why but this gives me code-bullet vibes
like if code bullet wasn't so... crazy and balistic
Code bullet, with less adhd screaming, less lazy and less hyperfixated on chatgpt abuse.
And I say this in the best way possible. I'm still waiting for his second enigma machine video 3+ years later.. 😅
Yeah, I very much agree with this. It feels like a code bullet video, but if he explained stuff more and was an actually good UA-camr.*¹ This guy is a lot more chill and has a great voice for explaining stuff. I feel like I am just skipping through code bullet's videos to get to the actual content that I want to see whereas this guy gets straight into the good content. didn't even have to skip at all.
*1: Compared to this guy
yeah @@parl.
I guess you can compare it to Code Bullet if you look at only the faceless, non-human, semi-anthropomorphic avatar aspect of it, but their personalities and editing styles are very different.
Code water gun
this man makes me want to collect 8 pages
Be careful not to look at him for too long 👀
dont worry he treated his insecurity by wearing a paper mask, it fixed a lot of his social issues and everyone lives happily ever after
@@digojez the good ending
Lil bro is NOT slenderman
*Why when I look at him sanity drop and I see screen static*
Im going to explain you without the math thing why walking in diagonal makes you move faster... Notch played quake, that's it. Great mechanic.
lmao
in my head, it's more so like if pressing 1 direction = 1 m/s then moving diagonally makes you move 1,5 m/s
@@ArustwatDaGoatIt's applying acceleration in both directions at once resulting in a diagonal acceleration equal to the square root of both, which due to math is 1.41x (√2)
Walking in diagonal always will make you walk faster if you don't normalice the velocity vector
@@acenio654is the x a times sign or did you just put that there not knowing what it means?
"Minecraft is 3D, so.... gotta do that." Damn he's good.
10 out of 10. I haven't seen any MLG compilation in the literal f****** decade
i felt like i just time traveled 😭
this caused my family to call the police from my overdose on nostalgia
REALLL
you're the first one whose mc clone actually looks like the game, very good job. And I also agree: Notch smoked some very illegal stuff while coding these physics
if you don’t make this a series of sort of dev log, sleep with one eye open, check your windows at night, and always look behind you.
Just don’t ghost us like the uh… *checks list* … last 15 Dev UA-camrs.
When is Dani coming back?😢 i didn't realize how ghost devs are really stacking up.
@@Smiles3110 He drank too much of the milk, he has to get more.
Nah man, creating game dev content is actually crazy time consuming. I truly am surprised devlogs are even still a thing.
@@Just_Poncho yeah, i’m doing some dev and coding classes and they’re rough. i made it roughly as a joke, and also a plead for new content since youtube is getting dry.
(dani)
as someone who mods minecraft, I 100% understand your frustration with minecraft's code probably being in the top 10 list of most broken code of all time
Look I know notches code looks bad but in java if it ant broke dont fix it because if you do you'll nuke half of your classes and you'll have 5 hours of debugging on your hand. (Trust me I know from experience) In java everything is interconnected and as soon as you change 1 thing they will all break.
Idk java but in c#, just use a design pattern that doesn't require a whole bunch of references and it'd prolly doesn't fuck everything up. Wouldn't that work?
most stable java code
No, that's not the cause, if you follow proper programming principles and adhere to things like SOLID and proper OOP, this will not happen.
Source: I've been using Java for almost 8 years at the enterprise level.
@@IkeVoodooIf only notch did that...
@@IkeVoodoo do you really think any indie devs ever do that (I kinda do but not really)
Make sure the resources are generated from an existing minecraft instance to circumvent any legal issues. I love this though
What legal issues? The dude isn't selling it or even letting people download it he can use any assets he wants since it's his private game lol
@@eliescobis9922 Legally, no. While copyright holders generally only care when it comes to redistribution, using copyrighted materials, even privately without redistributing, is still a copyright violation.
But, @cycliii was likely referring 14:05: "I won't be posting it online to download *yet* "
@@eliescobis9922 but he said he's planning on releasing it..
@@NiaSwiftaslong as hes not "selling" it its all good
@@thereborne5219 sure - because giving someone's IP away for free isn't illegal, it's only illegal when you "sell" it??
might want to revisit IP and copyright law from you law school days
why the f-ck did you quote selling?
This man has the power to put Herobrine and the Aether in Minecraft
Oh my god
We can get game we wanted all along
Just wait til this man finds out about mods
@@yourmommydotcommy2650 difference is, those aren’t cannon
@@itsnotamasterpieceitsamist772 this game also isn't canon.
pretty fun seeing how game is structured, to make it more accurate there has to be particles, it will make everything 10 times more like the game. I also noticed that gravity still isn't exactly how it should be, falling is very slow, will be waiting for the next video
im so glad i dropped out of math as soon as i was allowed bc this all looks really hard. never had to bother with trig
Math is really helpful once you learn it, vital in coding
Dropping out of anything is very stupid in my opinion and will come back to slap you in the face in the future, but you do you
@@defenestratorrtrue, although the "come to slap you" can vary on the grade he dropped out in, uni? sure, no problem, but middle school or elementary is a real problem.
@@defenestratorridk dude, everyone has different life circumstances and ways of learning. Calling a decision someone made "stupid" as a blanket statement seems reckless to me, i say that as someone who was unable to finish school because of mental health issues that were severely impacting my ability to learn and function in general. I am much better now tho, not 100% yet but i'll get close enough to that in due time.
Point is, we don't know why they dropped out or why anyone does until asked :/ ultimately you do you, as you said
its not too bad, just some perspective projections for rendering the part of the block facing the camera. Not sure why he didnt explain that but theres a formula u use to get it. Someone a long time ago probably optimized it for computers architecture and he used that.
If you're curious find a tutorial video explaining Perspective Projection, or how computers display 3D onto a 2D screen. Was there anything else u got confused about?
Yeah, the way it's taught was a big problem too
I never got it until an adult education teacher, who actually cared, managed to teach 10 years of school maths to me in a few weeks.
I have a current obsession with Minecraft clones
This video could not have come out at a better time
Bro did not hessitate 💀 0:04
💀
Notch has gone on record saying he doesn't want to be associated with Minecraft. I think we should call the creator of Minecraft...
A: the creator of Minecraft
B: God
but it is true that hes the creator
you cant really do anything about that
@@kickin_ass all we can do is change the terminology. If he wants to be forgotten, then that's that. A whisper on the web.
wdym? hatsune miku made minecraft??
@TheStudioArchitectidk maybe he shouldn't have been a transphobic annoying right wing asshole and there wouldn't be such a negative connotation 👍 no wonder he now wants to not be associated with a game so public about inclusivity and equity
@@kelpstormno, i made minecraft using sticks and mud
11:08 the grass is always greener on the other side.
the other side:
We goin back to 2011 with the MLG Edit 🗣🔥🔥🔥
Wow, another fellow minecraft cloner, I actually went through almost all steps like you, like making code to load models, painting gray-scale textures manually, because I was lazy to do it Minecraft way.
Btw making code that can load almost any minecraft model was kinda hard and confusing, I still didn't finish it, but I can already load complex models like lectern, anvil etc (but they are without a texture)
I still dont have ambient occlusion though and player physics like block collision and block placing/breaking. I was mainly focused on optimizing rendering code to look like a minecraft with shader pack, but with much higher fps. I already have shadow maps, and frustum culling, but I'm still yet to implement PBR, SSAO, SSR, occlusion culling etc.
One minor difference though is that I dont make a minecraft clone, but rather a minecraft client from scratch that can pottentially (if finished) connect to local vanilla minecraft server so I can play minecraft with 100+fps with fancy shaders (I cant do that in regular modded MC with shaders cuz my GPU is poop (integrated AMD Vega 8 moment), and shader API and code in iris/optifine is very unoptimized in my opinion)
i was also looking to make a open source minecraft clone with shaders - but i wanted to use vulkan and writing a rendering engine takes a lot of work so i haven't gotten very far lol.
I hope you succeed in your project and it gets released so other people with the same problem can use it for the same purpose
That MLG part really brought me back, thank you for the memories
That is INSANE. It looks just like minecraft
the MLG brainrot was such an awesome throwback lol
this looks like real minecraft more than minecraft bedrock ever will
@the-rats-ruckus there's nothing to explain, it's just a fact. (edit: May have come off as a bit rude, sorry)
@the-rats-ruckus the lighting system is near identical to java (what the oc called real) minecraft, and the foliage (grass & leaves) also looks more like java
The java version having a local server with its own clock is probably the reason why redstone and physics are jenky in bedrock. If you lag in java, the speed of the game kinda keeps the same; on bedrock, 1 second of lag makes the game think you accelerated to mach 5 and kills you by collision since its synced with the computer/external time.
Insanely good videos coming from small channels lately
11:15 bro predicted pale garden
I'm sorry but the child labor joke got me...
I was thinking of doing the exact same thing in Rust. Great that I've come across this. Yours is a highlight out of all the voxel videos I've seen because of the trying to be close to actual minecraft. Great job!
Bruh , you're good with all of this stuff. Can't even imagine how much patience your have!
Good montage and 3d!
As soon as he said what do you think 3d is. 0 hesitation I responded with. "Not 2d"
the prefix of '-uh' at the end of every sentence
"Notch Minecraft is so cool, I really hope he won't say something dumb on Twitter" - Nelson Mandella, 2014
He only spoke facts and no saying “it’s okay to be white” isn’t dumb, would you call someone saying “it’s okay to be black” dumb?
He got billions in dollars, he doesn’t care what a bunch of terminally online middle schoolers say about him and their pathetic canceling attempts on twitter 😂
@@ChickenJoe-tq6xdBro...
@@Mark-xk3hh what’s the problem?
@@ChickenJoe-tq6xdwhat are you talking about
Came for the Minecraft, stayed for the MATH
The reason why Minecraft doesn't just have a set color for every biome is so when biomes mix together, the game can just blend the colors together.
This is really cool, you absolutely nailed everything about the way it looks! Good luck as you continue with your remake :)
The one thing I want to see a mincraft clone actually do is have a minecraft terrain generation. Most clones just use 2d noise instead of 3d noise for it, but I want more explanations on how it works with the 3d noise
Free minecraf?
Free Minecraf?
Well you actually can get Minecraft for free
Free minecraf?
@thesongshirjyhugo No, you can literally download free, normal Minecraft, and the only thing that will be different is that you can't play on servers that require premium Minecraft, and you probably won't see others skin and they won't see yours. That's all.
@@xMunix yeah, except its a federal crime :D
I never thought I would a montage parody after 2016, but its nice to see it here in 2024!
I love your editing style! Great video
I feel like I've gotta try to justify at least a little of Minecraft 's code here.
Block entities (or tileentities) exist simply because of the limitations placed on normal blocks in early minecraft.
Blocks are split into three parts to prevent instances infinitely piling up and consuming terabytes of RAM:
1. Blocks: these define the whole 'class' of a block, when you setblock minecraft:grass, you're referencing the class. A single Block doesn't have a position or any metadata, those are represented by the upcoming two.
2. BlockPos: This is extremely simple, represent's a block's position in the world. The reason something like this isn't bundled in the Block is that it would cause all the extra data relating to the block to be cloned for every single position in the world. However, storing it seperately infinitely reduces the amount of memory required.
3. BlockState: This stores the actual block's data; however, a regular BlockState without a BlockEntity can only store data that can be turned into numbers, like cardinal facing direction or whether or not a furnace is lit or not (before 1.13, they could only store data that could be represented by a number between 0-15, in fact). These are stored in a bitarray->pallet system, where one entry in the array points to a specific blockstate in the subchunk.
Since items are infinitely customizable (type, damage, enchantments, etc) they cannot be converted into numbers (and thus, cannot be represented by a normal block). Since items (or just other non-discrete data in general) can't be represented in a normal Block/BlockState pair, they have to make use of Block Entities (their whole business being that they *can* store data outside the normal limitations).
That is why block entities exist. I'm obviously glossing over a massive amount of extra information here, but you get the gist I hope.
Also, a Block Entities does not actually have to have a custom renderer (what you were referring to when you said the chest and bell were actually entities). The furnace has a Block Entity attached to it, but still uses normal block models.
TL;DR
Minecraft uses a very smart and very data-efficient way of storing blocks in the world. Block Entities are necessary to store some extra data that couldn't otherwise be stored by the smart system, and also sometimes they have a special renderer attached that doesn't get caught up in the rest of the world's meshing.
Not all Block Entities have special renderers, the furnace is an example of that.
P.S. The reason why the player movement bugs haven't been fixed is probably because they could break certain technical builds in previous versions of the game, which Mojang (and the ever backwards-compatible Microsoft) don't want to do.
Perfection before my eyes! 😁
yooo, you!
Soon it will be even perfecter
this was pretty cool, and something that was even cooler was that i was here before you got 10K subscribers and became super famous.
What was Notch thinking when he said to himself, "Oh, I'm going to make the player move at 4,317m/s with an extra percentage of increase and decrease depending on how out of control I get while keeping my life together and let's make it so inconsistent so it seems like I really wanted to provoke seizures to anyone else with coding knowledge!"
Awesome video. Probably one of my favourite minecraft clone videos now!!
The leaves look too much like Bedrock edition leaves due to the lack of culling the textures on the other side of the block (and also the lack of not rendering leaves 2 blocks behind other leaves, but that isn't seen here)
Oh i didn’t know they worked like that, May or may not be later fixed
I love the production of your videoes, so unique and humorous! Your edits are perfect and your character is a nice mix between scary and familiar lol. Keep up the videoes you deserve a much bigger audience! Love from denmark
11:22 "the cake is a lie" reference
My valveitis is crippling me
@@Twiddle_things I'm dealing with a bad case of Sourcer
There is already a Minecraft clone that nearly perfectly has each piece of the game. It’s called bedrock
A Minecraft clone that's not really Minecraft? We already have that, it's called Bedrock Edition.
8:19 This just brought be back to 2013 instantly haha, great job!
13:50 looks like minecraft bedrock
Java*
@@znxrrrno hes right, that lighting and stuff really screams minecraft bedrock
As a parkour player, I'm honestly surprised that you actually ended up on the correct place to find parkour related resources
it would be wildly, incomprehensively, unbelievably ILLEGAL for you to provide a download to this copy version of minecraft. reverse engineering the code isn't the issue. there's plenty of games which legally copy minecraft by simply being another survival block game. no, where you messed up is using the official minecraft textures, which are copyrighted and cannot be redistributed by a third party (you). if you want this game to be downloadable for your viewers, I highly suggest designing your own, original, minecraft inspired textures.
Definitely got me interested, im subscribing to see the results of this project
If you're going to post this online, you can't post it with the default Minecraft textures as they are copyrighted and Mojang is rather persistent with issuing DMCA notices to those who make them available for download online.
??? Give me ONE example of Mojang going after people who made stuff with their textures
@@eliescobis9922 trust him hes an attorneyatlaw4062
TNT texture is really common but yeah, most textures are
holy shit, this is actually pretty accurate
I enjoyed your video but PLEASE FOR THE LOVE OF GOD STOP SAYING "minecraft-uh", "bug-uh", "sucks-uh", "terrain-uhh" just stop using your voice after the word ends, I hate how it sounds when you speak like that and I can't be the only one bothered by that. But I still really enjoyed the video, it's exactly my taste and I subscribed!
SCREW YOU, you made me notice it >:(
Now i cant unhear it and i bestow upon the next reader to also be cursed
@@Bupboy im sorry :/ but it really bothered me and I hope in his new video he changed it
I love the calm boring voice saying the funniest thing to mankind without the slightest tone change.
love the skitzo sorta animated man explaining to me how absolutely unhinged the code holding this game together is, then c/v's the thing in a new game
You know I've seen a fair few minecraft clones over the years. This is the first one to get the movement to feel right. No wonder, since it's so insane under the hood.
You can see the 3D turning into 2D in a very nice visual in the "Model View Projection Matrices" video from Jamie King here on youtube from 10 years ago.
thats actually so badass. i'd love to see a sequel video where you add slightly more minor aesthetic features like screen bobbing and the hand and making the fov change when you run or sneaking. basically all the features that make the movement feel right and stuff but regardless so awesome
4:07 did the notch skin and shifting awaken long forgotten pinksheep memories and shi- holy cow the old cinematics-
:O
Your minecraft clone is actually quite accurate! Impressive.
Just checked and someone has already fixed the acceleration error on the wiki
this guy deserves more attention for this
You give me vibes of Dani and CodeBullet's baby
the notch player character takes me back to oldish youtube, a better time
“9 missed calls from Mojang”💀
Now all you have to do is add:
Particles,
Sound effects (distance cutoffs, muffling underwater, etc)
Biomes (climate info),
Entities,
Block entities,
All blocks and their variants (includes functionality relating to specific blocks like obsidian/end portal blocks having the ability to make portals and respawn anchors having the ability to store a value depending on how many times you use glowstone on it. I don't think the resource pack and model folders handle block interactions but correct me if I'm wrong),
Health and hunger (Which should probably include damage sources and damage over time effects like poison?),
Items (Food, materials, weapons, etc),
An actual inventory,
Crafting,
Day and night cycles,
Blocks like sand and tnt (? Probably goes under "All blocks" ?),
Commands and a chat box (basically a mini command line for the game?),
Multiplayer functionality
and dimensions.
Mix well in a bowl and I think you might get something that functionally resembles minecraft?
(This is a joke please do not remove me from existence)
Bro didn't want to pay for minecraft 💀
It's almost perfect. The physics are a little wonky, but if you told me this was Minecraft by a still image, I would've instantly believed you.
Wow. This is the first UA-camr I have ever seen make a truly convincing Minecraft clone. Plz continue
This is the most accurate Minecraft clone i have ever seen, i just hope it does not get copyright striked. (it probably will but, who knows?)
I've played mcpk for a while and used that wiki a bunch, watching you figure out all the dumb movement mechanics was awesome - however, that wiki is for Minecraft 1.8.9, some mechanics such as the collision order are different in newer versions
Love the portal references throught the video
1:44
*"in parkour civilization NO ONE jumps for the beef"*
If you want to implement greedy meshing,
a brilliant/handsome guy named Tantan made an exellent video on that.
Not biased at all
@@scasz Ah yes, I've heard he's very humble to! :P
Funny I see a portal radio in the background right as I'm buying a life size one
Just so you know, using the wiki information for write the code is fine, but the moment you start decompiling the game yourself, it becomes legally grey. There's actually an existing project to make a perfect recreation of Minecraft that employs a technique referred to as the "cleanroom" technique, where one team decompiles the game and writes a document about the implementation, and another one implements that specification
Nah this content peak, this man deserves more subscribers fr. (I haven't seen a game dev youtuber make so much progress in 1 video, and make it look completely legit)
0:39 technically we humans see 3D in a 2D space too, if you wanted to see fully 3D you would have to be a 4 dimensional being, so that’s cool ig.
I feel so smart for understanding most of this! The only things i remember perfectly from highschool math is trigonometry and Pythagorean theorem
I'm shocked that Mojang still hasn't fixed these movement bugs after so long
i hope they don’t i love the java kovement
I love the kind of content that dive into minecraft’s code. It’s so wild
its 5am, I have had no sleep yet and I was tabbed out, that "MATH" part jump scared the hell out of me LMAO
This is just Mine craft, not MINECRAFT
Hey man, I’ve been trying to do this exact project for awhile now as a good way to learn GameDev, been trying for ages now so I’m happy to see other people still attempt this
I love, legally distinct block based building and survival game with no connection to hit game minecraft by mojang!
this in 2015 is fire
As someone who mods in his free time, I can absolutely agree that a lot of stuff in mcs code is absolute as weird as it gets.
example: world gen for caves only talks about spaghetti, noodles and cheese. Thats literally what the values are called.
another one is the overworld dimension having over 7600 biome entries.
Wish I had this when I was making my offbrand Minecraft maze for my coding class
Brooo this is sooo nice looking so far! Cannot wait for the next dev log if you do eventually do it. (Underrated channel)
Vsauce can hurt you.
Also Vsauce at my front door camera:
i love the combination between michael reeves and codebullet type of content mate. keep it up!
7:25 Vsauce moment😂