package net.minecraft.world.biome;
@SideOnly(Side.CLIENT)
public final String getBiomeName() {
return this.biomeName;
}
Why it CLIENT side only? It needs for me on the server to determine biome name.
Because Minecraft only ships it in the client jar. Only the client needs to know the name.
I need to know biome names during world generation on the server.
Then access the field directly using reflection or an access transformer.
you could also just use their resourcelocations to identify the biomes
This issue has been automatically marked as stale because it has not had activity in a long time. If this issue is still relevant and should remain open, please reply with a short explanation (e.g. "I have checked the code and this issue is still relevant because ___." or "Here's a screenshot of this issue on the latest version"). Thank you for your contributions!
This issue has been automatically closed because it has not had activity in a long time. Please feel free to reopen it or create a new issue.
Most helpful comment
you could also just use their resourcelocations to identify the biomes