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?
Code:
@SubscribeEvent
public static void onPlayerJoin(EntityJoinWorldEvent event) {
if (Minecraft.getInstance().player == null || event.getEntity() != Minecraft.getInstance().player) {
return;
}
BiomeManager biomeManager = Minecraft.getInstance().player.getEntityWorld().getBiomeManager();
Long seed = ObfuscationReflectionHelper.getPrivateValue(BiomeManager.class, biomeManager, "field_226833_b_");
if (seed == null) {
return;
}
System.out.println("SEED: " + seed); // DEBUG
}