Hi, i'm trying to make a dynamic model for my tile that change based on the Unlisted state/property "seed" of the block that contain it.
I cannot get the state of the block from the class where I create the dynamic model.
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.