I asked myself why it is not possible to combine Java and Bedrock?
Can't you program something like a translator?
So that the Java version of the translator translates the commands from the C ++ version into Java commands understandable for the Java version and vice versa.
Or why is it that the two versions can't be connected?
Please what? C ++ is a compiled language, you would have to rewrite your program so that it works on both platforms.
I mean now Minecraft server, for example, data has to be exchanged between user and server all the time.
If a Bedrock player now goes to a Java server with this designed translator, the data transfer should look something like this
The user client sends data to the server (eg a movement). The translator on the server makes the information understandable for the server since it runs with Java and the information is in C ++.
Huh?
You simply send a signal to the server via UDP, it doesn't matter to the server where the signal comes from, it just has to be in the same format. The clients must both send the same signal. They usually do, Mojang is not stupid either.
Yes, but the format is different for Bedrock and Java and a translator should translate the "wrong" into the correct one
No, they don't.
Otherwise it would be difficult to play together on servers as a PC player with Android players.
I don't know about Minecraft. In general, it is possible to develop software communication independent of platform and language by maintaining an interface documentation. In the case of online games e.g. All communicate with the server using only one language.
Technically, this is not a problem.
See e.g. OMG (Object management group and since e.g. CORBA for cross-platform communication)
This has nothing to do with the programming language. Some packets are sent to the server and they have to have the same structure
What are you talking about I'm talking about whether Java can play with Bedrock
Yes, same principle.
Bedrock players can join Java servers and vice versa.
Java and Bedrock can't play together
That is still not a question of programming languages.
Yes sry that's why I'm asking. It was an idea and I didn't know that it had nothing to do with the programming language.
But couldn't you translate the packages into the right structure with such a translator?
The packages are already in the right structure…
And why then a Bedrock player can't join a Java server
No idea, other information may be needed
That means it is possible to just screw on the software?
Ahh ok do you want to answer ne so I can give you the star? XD
That actually has nothing to do with the programming language. Some packets are sent to the server and they have to have the same structure and information.
OK.
Yes, this is actually possible (at least to a limited extent): https://github.com/...rMC/Geyser
The project used to be called "DragonProxy". The program "translates" some packets, adds some and just makes some disappear so that the two versions can communicate properly.
Correct.
Thats is quite easy:
Windows 10 Edition has been completely re-programmed to make up for the loss of the Mojang purchase.
Since this version is rewritten, neither is the same. The physics are so different (to be noted from the redstone physics). That means that the server code is zero compatible. Theoretically, it is possible to make it compatible, but it is 1. Too much effort and 2. Of course you want to take the money out of people's pockets and that is only possible if you use these stupid micro transactions of the BR Edition