fix missing Optifine shader wind effects

+minor cleanup
This commit is contained in:
octarine-noise
2021-05-14 14:36:48 +02:00
parent a5a5d53341
commit a97a575dd5
13 changed files with 64 additions and 164 deletions

View File

@@ -4,6 +4,6 @@ import net.minecraft.block.BlockState
import net.minecraft.block.Blocks
import net.minecraft.block.material.Material
val BlockState.isSnow: Boolean get() = material.let { it == Material.SNOW }
val DIRT_BLOCKS = listOf(Blocks.DIRT, Blocks.COARSE_DIRT)