Jump to content

Client-side server world info


Recommended Posts



I would like to create an 1.16.4 client-side mod which can store per-world info but I don’t know how can I get any unique info about a world in a server?

I only found the dimension but I would like to add multiworld support so I have to distinguish the worlds.

Thanks for your answer.

Link to comment
Share on other sites

  • 4 weeks later...

I found that on some servers (like Hypixel) the seed is 0.

What can cause this? Is there any other way to identify the world?



public static void onPlayerJoin(EntityJoinWorldEvent event) {
    if (Minecraft.getInstance().player == null || event.getEntity() != Minecraft.getInstance().player) {

    BiomeManager biomeManager = Minecraft.getInstance().player.getEntityWorld().getBiomeManager();
    Long seed = ObfuscationReflectionHelper.getPrivateValue(BiomeManager.class, biomeManager, "field_226833_b_");

    if (seed == null) {

    System.out.println("SEED: " + seed); // DEBUG
Edited by Abattoir
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.