r/MinecraftMod • • Mar 04 '26

Minecraft x Hytale Crossplay (Open Source)

I made a Minecraft x Hytale crossplay mod and it's fully open source. Let Minecraft players join your Hytale server.
Github: https://github.com/EdwardBelt/HyCraft
Curseforge: https://www.curseforge.com/hytale/mods/hycraft-crossplay

2.1k Upvotes

92 comments sorted by

42

u/MarijnIsN00B Mar 05 '26 edited Mar 05 '26

I mean this in the best way possible, what the fuck is wrong with you people

You have to be actually insane to be able to make a mod that makes crossplay possible between two COMPLETELY DIFFERENT GAMES.

Incredibly impressive, will 100% be checking this out

2

u/EdwardBelt Mar 05 '26

Thank you so much!!!

9

u/TerdyTheTerd Mar 05 '26

Fun fact, they are basically the same game. Also fun fact, cross-platform tech is actually pretty trivial at its core, companies are just historically lazy and typically it makes no sense to have crossplay between actually different games.

1

u/IQueliciuous Mar 05 '26

Wait what do you mean same game? Can you elaborate?

2

u/The_Rat_King14 Mar 11 '26

The way they did this, there is no minecraft server, they are just translating the hytale server packets into ones a minecraft client can read and vice versa. u/EdwardBelt is this mostly correct?

1

u/EdwardBelt Mar 11 '26

Exactly

1

u/The_Rat_King14 Mar 12 '26

Is it a modded client or server or both and are you able to do the hytale movement (climbing) on the Minecraft client?

1

u/EdwardBelt Mar 12 '26

It’s a Hytale mod running on the Hytale server. Climbing isn’t possible as the client isn’t modified

1

u/The_Rat_King14 Mar 12 '26

Ok that is what I assumed, do you have plans for that?

1

u/EdwardBelt Mar 12 '26

Nope

1

u/The_Rat_King14 Mar 13 '26

Would there be a way to make it a minecraft client mod instead? Not saying you should but that seems like it would be better if it were possible.

→ More replies (0)

6

u/One3Two_ Mar 05 '26

One is Minecraft, the other is Hytale, thats it, elaboration done

2

u/Unusual-Marzipan5465 Mar 05 '26

Modding architecture is EXTREMELY similar, I would not be surprised if everything is more or less samey under the hood

1

u/TerdyTheTerd Mar 05 '26

Their underlying code and developer APIs are so near identical you can basically directly import assets. Modders were already porting mods between the two on day 1 of release, that doesn't happen unless the games are identical.

Not to mention Hytale was developed by Simon, taking massive and direct inspiration from Minecraft itself. As direct proof of their similarity there is the above proof of concept cross-"platform" mod. You dont ever see that unless the games are near identical to each other.

72

u/Mr_Snifles Mar 04 '26

Can you really have meaningful gameplay like this? I just know most of the features outside of walking around and some general blocks existing wouldn't translate, so what really is the point of this?

Very impressive though, if it's just to learn or prove a point, you succeeded

62

u/EdwardBelt Mar 05 '26

You actually can, almost all blocks and items can be mapped to Minecraft ones, and I'm planning on adding a resource pack generator so blocks items and entities look exactly like the Hytale ones. pvp also works pretty well. This week I'll try to add crafting to it

thank you so much!

21

u/emil836k Mar 05 '26

What about logic?

Is it basically just a Minecraft world constantly edited to copy the hytale one?

(“Just”, an absolute insane achievement, can’t even imagine how you pull of something like that)

18

u/EdwardBelt Mar 05 '26

Thank you so much!!
So there's no Minecraft server or Minecraft world. It fully relies on packet translation, e.g., when a Hytale chunk packet is sent, I catch it for Minecraft players, decode it, and encode it again into a Minecraft chunk packet

6

u/emil836k Mar 05 '26

Interesting, so it’s like a Minecraft skin or resource pack put on top of a hytale instance?

More than that of course, but you get the idea

12

u/EdwardBelt Mar 05 '26

Not exactly. The Hytale mod opens a TCP listener (minecraft protocol) and starts listening for connections. It acts as a proxy between the Minecraft client and the Hytale server. When a Minecraft player sends a packet, the proxy intercepts, processes, and translates it into a Hytale compatible packet so the Hytale server treats them as just another Hytale player

1

u/emil836k Mar 05 '26

Don’t quite get it, but very cool

7

u/Amrelll Mar 05 '26

imagine Hytale and Minecraft are both languages and the internet is just a way to talk.
They could theoretically talk to each other, but would each just understand gibberish, so when the Hytale server talks to a minecraft player it gives that information to a translator first and vice versa.

Since behaviour and all that is controlled by the Hytale server, the minecraft server just displays the Translated stuff in Minecraft terms

1

u/emil836k Mar 05 '26

That makes sense, good explanation

1

u/Morg1603 Mar 07 '26

Minecraft is mirroring what happens in Hytale. Hytale is mirroring what happens in Minecraft

1

u/wibbly-water Mar 09 '26

That is insane... and genius...

1

u/trotski94 Mar 07 '26

It’s minecraft acting as little more than a rendering engine for the hytale backend.. except it wasn’t designed for that so there’s a lot of translation happening between the two

2

u/toybonnie1604 Mar 06 '26

basically GeyserMC but harder?

1

u/pritjam Mar 05 '26

That's crazy. Did you have to reverse engineer the Minecraft packet protocol or was it relatively well documented?

1

u/ImDahUnicorn Mar 07 '26

Huge respect! I have done some small stuff like this on a more primitive scale, and it was not easy.

0

u/SpinnyBoy_ Mar 05 '26

but you dont punch trees in hytale qwq

1

u/EdwardBelt Mar 05 '26

What do you mean?

1

u/SpinnyBoy_ Mar 05 '26

you make a lil axe to cut em down

1

u/EdwardBelt Mar 05 '26

1

u/SpinnyBoy_ Mar 05 '26

you can see how it takes longer than minecraft pretty clearly so my problem is that ones gonna feel weird no matter what -w-

1

u/EdwardBelt Mar 05 '26

It doesn't! The break block speed is the same

1

u/EdwardBelt Mar 05 '26

Watch both videos carefully, you can even use a timer and you'll see that in both it took around 11 seconds to break a log. The block breaking speed for all blocks and all tools is the same. This is something I developed and spent a lot of time on

7

u/Wild_Honeydew5096 Mar 05 '26

In all seriousness though, this is incredible.

2

u/EdwardBelt Mar 05 '26

LOL, thank you so much!

3

u/rabidhyperfocus Mar 05 '26

can this be done with vintage story, or is vs too complex to translate well to minecraft? or does vs operate way too differently internally?

2

u/EdwardBelt Mar 05 '26

It’s possible but requires a lot of work

3

u/Ludivagus Mar 07 '26

Was reading your explanation of how this works, and I gotta say. Truly magnificent

1

u/EdwardBelt Mar 07 '26

Thank you so much!

4

u/TomTyhell Mar 05 '26

Woah this is crazy impressive

3

u/NoobiePerfect Mar 07 '26

How did u made that

2

u/AresXX22 Mar 05 '26

What the fuck?

2

u/ethaaaaaaaaannnn Mar 06 '26

Minecraft modders will never not be the goats

2

u/lucky19132 Mar 06 '26

Now we can cross-bombing with happy ghast.

1

u/Far_Piano_7825 Mar 19 '26

How do you plan to get a happy ghast? It is a Hytale server, I don't think you could even cheat one in.

2

u/yoru-_ Mar 06 '26

hoky shit.

2

u/Morg1603 Mar 07 '26

u/cobwebster needs to see this

2

u/LudwigSpectre Mar 04 '26

Reminded me of Split Fiction

0

u/Reasonable-Hair-187 Mar 04 '26

how?

1

u/blockCoder2021 Mar 06 '26

Probably because of the two similar but slightly different art styles between Minecraft and Hytale. In Split Fiction, your characters alternate between a fantasy setting and a sci-fi setting. Note: I’ve never actually played the game, so guaranteed no real spoilers; only what you see from the trailers.

In a way, the way it’s on here reminds me more of a different co-op game that I keep seeing clips from, though I don’t remember what it’s called. However, both players see the world differently, and each interacts with both worlds in slightly different ways simultaneously. For instance, moving a box in one world might move a tower that looks like it’s a severed spine that the other character can now climb.

1

u/LudwigSpectre Mar 05 '26

Wouldn’t want to spoil you on the finale

1

u/BoxCivil1851 Mar 05 '26

Awesome cool shit epicness

1

u/BackAgainAgain1 Mar 05 '26

ultra crossplay SMP where each member is playing on a different version (or game) when

1

u/NightsGift Mar 06 '26

you should totally submit this to the hytale modding competition. Im unsure how high it will place but im sure people will love it. If its able to be accepted that is. Regardless i still encourage you to do so!

1

u/Southern-Wafer-6375 Mar 07 '26

What sort of fuckin witchcraft?

1

u/Vegetable-Ad2028 Mar 07 '26

What does it look like when using dash ability on the dagger in Minecraft

1

u/wal_rider1 Mar 07 '26

That's insane..

But why?

1

u/Weak_Juggernaut3177 Mar 08 '26

Very cool proof of concept so far, excited to see where it'll go

1

u/Over-Friendship7238 Apr 02 '26

Ottima idea! Se puoi fare una texture pack/mod che fa vedere le cose dal lato Minecraft come su Hytale meglio, ma già cosi è fantastico

-11

u/charsarg256321 Mar 04 '26

Try it with the console editio leaked code

5

u/EdwardBelt Mar 04 '26

Atm it just works with Minecraft Java 1.21.11

1

u/charsarg256321 Mar 05 '26

Once I get it to compile I am going to try to make a mod loader/launcher for it since none really exists yet

2

u/Myithspa25 Mar 05 '26

Console and Java are different by the way

1

u/charsarg256321 Mar 05 '26

I know... java is writen in java and console is written in c++

-22

u/[deleted] Mar 04 '26

okay but this has already been done? so what's the difference here?

16

u/EdwardBelt Mar 04 '26

It has been "done" before but never published. Also the other guy who first did it didn't do it the right way. His implementation works by running 2 instances, a Hytale one and a Minecraft one. My implementation doesn't run a Minecraft instance and fully relies on packet translation and includes way more features. If I remember correctly the other guy who started this project abandoned it

3

u/Tight-Subject-4841 Mar 04 '26

I love how you dumb it down so well for clueless people

0

u/Tight-Subject-4841 Mar 04 '26

I clutched a supercharger in my car... had half the internet tryna find out how I did

-6

u/[deleted] Mar 04 '26

https://www.reddit.com/r/hytale/comments/1qhgyjh/hytale_client_minecraft_client_crossplay_wip/

this was posted literally a month ago. it got global news coverage. it supports bedrock, hytale and java. it's said nothing of needing two instances.

https://x.com/iamcxv711/status/2014353187957072173?s=20

so again what exactly is the difference here? why not contribute to the other project?

5

u/EdwardBelt Mar 04 '26

That project was never made publicly available. It's closed source and will never be released. The developer talked about it in a Hytale modding Discord and explained how it works internally, which is by running a Minecraft instance inside the Hytale mod. That's not ideal and is unoptimised, and the best way to achieve crossplay is by fully relying on packet translation, as I did. So yeah, next time could you do your research before talking? Thanks!!