Jump to content

[1.12.2] Get biomes id from getBiomes


elle

Recommended Posts

I have already tried the following can someone help me out?

    Set<Biome> WaterBiomes = BiomeDictionary.getBiomes(BiomeDictionary.Type.WATER);
    //System.out.println(WaterBiomes);
    for(Biome WaterBiome : WaterBiomes ){
        System.out.println(WaterBiome);

    }

The only thing I get is: 

net.minecraft.world.biome.BiomeRiver@74a03bd5
net.minecraft.world.biome.BiomeRiver@5ef591af
net.minecraft.world.biome.BiomeOcean@4b76251c
net.minecraft.world.biome.BiomeOcean@5cd6719d
net.minecraft.world.biome.BiomeOcean@4af606e9

but i want minecraft:ocean etc...
So i tried:

Set<Biome> WaterBiomes = BiomeDictionary.getBiomes(BiomeDictionary.Type.WATER);
//System.out.println(WaterBiomes);
for(Biome WaterBiome : WaterBiomes ){
    System.out.println(WaterBiome);
    int biomev = Biome.getIdForBiome(WaterBiome);
    System.out.println(biomev);

}

But nothing has changed.

Edited by elle
Link to comment
Share on other sites

1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.

It's sad how much time mods spend saying "x is no longer supported on this forum. Please update to a modern version of Minecraft to receive support".

Link to comment
Share on other sites

  • Guest locked this topic
Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

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