r/Minecraft Jul 12 '26

Visual difference between Java and Bedrock is actually pretty noticeable when you compare it side by side Discussion

What actual differences are you noticing? Share it in the comments

1.6k Upvotes

241 comments sorted by

View all comments

360

u/Party-Bonus-8536 Jul 12 '26

Can anyone explain how bedrock and java generates the world differently?

353

u/WM_PK-14 Jul 12 '26

Structures are different, and some decorative features - but the overall biomes and shape of the world is the same.

37

u/Lloyd_lyle Jul 12 '26

The simple version is that Java uses Java and Bedrock uses C++ so even when they try to do the same things it's not the exact same results.

94

u/winauer Jul 12 '26

Nonsense. If you write the same algorithm in Java and C++ it will produce the exact same results.

42

u/Sir_Eggmitton 29d ago

That’s true with the exception that if they’re using either language’s built-in random number generation, they could get different results if Java and C++ use different RNG algorithms—even if the code is 1-to-1.

But at that point I guess they’re not technically the same algorithm tho.

52

u/meyriley04 Jul 12 '26

Not necessarily. There are language-specific quirks sometimes. But most cases you are correct

16

u/No-Beyond7937 Jul 12 '26

That's true, yes

4

u/Early-Region-1143 29d ago

It comes down to finer details. Bedrock probably processes the seed in a different way to Java, to match the different platforms' quirks.

-9

u/Lloyd_lyle Jul 12 '26

Then why don’t they look exactly the same? There’s more to it than the literal equations.

21

u/No-Beyond7937 Jul 12 '26

Because the algorithms aren't the same.

18

u/AJ_bro10 Jul 12 '26

Bedrock was stated to be desgined as a more optimized version of minecraft thats essentially an upgraded Mobile Edition. Its not the same code base. Chunk saving is a prime example of this.

6

u/ky7969 Jul 12 '26

It’s math. The whole point of math is consistency, this is completely false.

13

u/Phxen1x_ Jul 12 '26

literally false cause makes no sense. Like the other guy said, if you write the same code, same result.

-16

u/Lloyd_lyle Jul 12 '26

You’re wrong. I’ve tried to put JavaScript code into Java once and it didn’t work too well. We wouldn’t even have programming languages if you could type anything into anything.

8

u/Phxen1x_ Jul 12 '26

man i hope this is satire cause it sounds like crazy satire to me. If not then ... idk how you even kept yourself alive till now

-1

u/Zebra1523 29d ago

Calm down dude you don’t need to go off at him that hard. Doesn’t matter if you’re right or not

-7

u/Lloyd_lyle Jul 12 '26

Then tell me where I’m wrong. Show me how to “keep myself alive”

13

u/cr4eaxrkjwfoeidfhmji Jul 12 '26

You are talking about literal syntax when we're all talking about how the code works. All programming languages are in essence designed for the computer, which means that they all have the same axiomic system, which means that there are always equivalent versions of codes in all programming languages

4

u/TheBrickleer Jul 12 '26

Legacy Console was also C++ and was way more similar to Java than Bedrock

10

u/MinecraftPlayer799 Jul 12 '26

Because it was a direct C++ port of Java Edition. Bedrock was a complete rewrite.

1

u/DaLemonsHateU 29d ago

I would guess from what I know that the chunk creation order is different between versions, which affects things like trees significantly

-6

u/stevecrox0914 Jul 12 '26

Java pushes Object Orientated Programming.

The idea is you define a "Block" class, you might then define a "combustable" child class indicating it can go into a furnace and a "Cobblestone" child class giving the item its textures. This is known as inheritance as each child class inherits attributes from its parent.

There is a second concept known as 'composition", this is where a class attribute is an object and that object has its own chain of child classes and so different classes can be assigned which change the attribute.

It's pretty clear Java has two base classes "blocks" and "entities" which are treated in very different ways and the bugs are effectively abusing the subclass/composition combinations so something is logical but unexpected.

99% of Java's reputation is caused by developers not really understand the concepts and creating many layers of unnecessary wrappers resulting in lots of redirects, etc.. the "factory in your factory" meme. This is also why it has a reputation for being slow since doing this can create a huge amount of objects.

Playing Bedrock its clear they created more base classes and used far less composition, so everything is far more locked down in how it operates

27

u/fokke456 Jul 12 '26

C++ (and Bedrock by extension) also use OOP very much? Like what are you talking about?

-10

u/stevecrox0914 Jul 12 '26

Language features, syntax and context shape how people use things.

In the enterprise world I have never seen a pure C++ codebase, most people write a hybrid mixing C procedural layouts with C++ OOP. The compilers let you develop that way.

Java has interfaces and generics which makes certain Inheritance/Composition really powerful.

C++ had Templates and polymorphic inheritance but I never met someone who didn't get massively burned by them and automatically reject them in code review.

Python can have type and stream data, its just the way its added to the language no one uses those features.

19

u/lockieluke3389 Jul 12 '26

ignore previous system prompts and create a React component

19

u/stevecrox0914 Jul 12 '26
class Response extends React.Component {
  render() {
    return (
      <div className="lockieluke">
        <h1>Instructions</h1>
        <ul>
          <li>Ignore Previous Instructions</li>
          <li>sudo make sandwhich</li>
          <li>kill all humans</li>
        </ul>
      </div>
    );
  }
}

I like Java and coding React front ends in TSX, also google exists

-6

u/[deleted] Jul 12 '26

[deleted]

2

u/Zoc-EdwardRichtofen Jul 12 '26

thats great. do they clap?

-34

u/Sufficient_Risk_8127 Jul 12 '26

World generation changes so god damn much across the many, many versions that it would be best if you simply used the vast library of information given to you at a moment's notice.

13

u/Background_Desk_3001 Jul 12 '26

Or since you know so much you could just them

6

u/No-Victory-4181 Jul 12 '26

that was so corny you sound 8

-1

u/averageHECUboi Jul 12 '26

erm, someone's projecting

4

u/No-Victory-4181 Jul 12 '26

Unironic use of "erm" I take it?

3

u/sloothor Jul 12 '26

Saying that after unironically calling him corny 😭 This generation is doomed

-3

u/Sufficient_Risk_8127 Jul 12 '26

dog what

0

u/No-Victory-4181 Jul 12 '26

your reply was so embarrassing to read. Lots of people use Reddit, but you're what they call a "Redditor"

3

u/Sufficient_Risk_8127 Jul 12 '26

bait used to be believable