Custom Biome Detection

I have been working on a shader for a custom map, and we have many biomes added via datapack. Unfortunately all of the biomes are considered to have an ID of 0. Is there a way to detect them? We just have a simple Boolean for detection.
variable.bool.is1=in(biome, 1)
variable.bool.is2=in(biome, 2)
variable.bool.is3=in(biome, 3)
variable.bool.is4=in(biome, 4)
variable.bool.is10=in(biome, 10)
variable.bool.is17=in(biome, 17)
variable.bool.is41=in(biome, 41)
variable.bool.is44=in(biome, 44)
variable.bool.is1=in(biome, 1)
variable.bool.is2=in(biome, 2)
variable.bool.is3=in(biome, 3)
variable.bool.is4=in(biome, 4)
variable.bool.is10=in(biome, 10)
variable.bool.is17=in(biome, 17)
variable.bool.is41=in(biome, 41)
variable.bool.is44=in(biome, 44)
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server