People in here really don't want to accept that java was never meant to be used to make a game in the scope of Minecraft. Bedrock runs better because it's made with a coding language which is actually meant to make games.
You're using the terms wrong. Bedrock only simulates all these chunks. Event it comes to loading them, it can be between 16 and I think 256 (that would mean a load distance of 4-16). They're not even generated. If you see an old nether chunk in the distance, then update to nether update, it will become an updated nether chunk
The purpose? Java is the original one developed by Notch. Notch never expected Minecraft to become so popular and to have to add so many features to it - so he programmed it in a simple an easy language: Java.
When Microsoft bought Minecraft from Notch they wanted to bring the game to more platforms and also allow cross-platform connectivity - but they also realized that there was no way they could do this in Java so they remade the game from scratch in C++/C#.
Oh, and Microsoft most likely also wanted to remake the game from scratch because that would allow them to implement more commercially viable features (such as paying for skins and server-hosting).
Just to stop me from getting crucified by Java-enthusiasts: Java is a good language because it's simple and relatively versatile. The problem is that it is intended to make small apps and simple games - it was never intended to make complex games such as Minecraft.
Small crucifix by java enthusiast:”it is intended for small apps and simple games” -> java is intended to achieve 90+% performance with ease of development over lower level languages. And small apps are not quite the target, I would say instead extremely fucking huge apps like banks/basically every server-side thing everything. The reason it is not as good of a fit for games is that the JVM is mostly optimizes for throughput not latency and that games often require more elaborate memory management.
Correction: they did not use C# and C++, that would be horrible to develop, they used C and C++, which are very compatible with each other (C++ is built of C)
This is because Minecraft comes with its own special copy of Java. You can't run something that's written in Java without the Java Virtual Machine. That's like... one of the fundamental facts of Java as a language. The person you're responding to is correct: Java is slower than, say, C++.
This is, however, far from the only reason that Java is slower than Bedrock. Virtualization adds overhead, but not that much overhead. And when you compare the editions in a general sense (not just looking at performance), there are plenty of reasons why many prefer Java to Bedrock. There's the sentimental value, of course, but also things like redstone functionality. Bugrock redstone lacks many extremely important features of Java redstone and is quite literally random, making building any sort of complex machine orders of magnitude more difficult. For many people, myself included, this is a deal-breaker.
Just because I prefer Java doesn't mean Bedrock is inferior. It depends on what matters to you. Bedrock is designed to run fast for mobile devices, but it comes with sacrifices.
Well i dont see how its that random, i built a redstone computer on my phone with java tutorials and then built it exactly the same when i got my pc on java to test randomness.
When you have multiple things happening in one tick, it’s random on bedrock (which makes sence) while its arbitrary always the same on Java (and it can be locational and directional)
What do you mean by 'randomness makes sense'? If I build a contraption and give it an input I would expect to always get the same output (unless there is some explicit randomising part implemented), at least IRL e.g. with electric logic circuit this should be the case. So having randomness is IMO counter-intuitive
Why is that the most sensible thing? I'm of the mind that if I do X, then Y should happen. The most sensible thing is the same input resulting in the same output each time
I could write a lengthy explanation of the major, contraption-breaking differences between Java and Bedrock redstone. I could find one of the many videos online showing Bedrock sticky pistons fighting over a block to demonstrate how Bedrock will not behave consistently even though the situation is the same every other tick.
Instead, I will ask you to try to build any type of complex or compact flying machine with Bedrock redstone. For reference, it is possible to build a 2 x 2 x 2, bi-directional flying machine along any axis with Java redstone. In Bedrock, that is impossible due to the aforementioned randomness. This, along with other problems, makes it incredibly difficult to build any contraption involving (sticky) pistons in Bedrock without the contraption being excessively large or slow.
Again, this is all up to preference. Bedrock even has one thing that Java doesn't, in terms of redstone: blocks with inventories are movable. In general, however, redstone contraptions that are more technical in nature are simply impossible in Bedrock.
(P.S.: Can you share your redstone computer? I really like redstone computers.)
I agree. I’m just confused as to why Java can’t just use the same code language as bedrock - it could still keep all of the the things that make it Java minecraft-y but just use a different language to make it more optimised. Idk...
79
u/Saintdemon Dec 18 '20
People in here really don't want to accept that java was never meant to be used to make a game in the scope of Minecraft. Bedrock runs better because it's made with a coding language which is actually meant to make games.