remove texture "extraction" from fluids

This commit is contained in:
Bixilon 2021-06-18 22:57:01 +02:00
parent 9400737fcc
commit 17eefedce6
No known key found for this signature in database
GPG Key ID: 5CAD791931B09AC4

View File

@ -32,31 +32,9 @@ object FluidGenerator : Generator(
when (fluid) {
is LavaFluid -> {
fluidData.addProperty("drip_particle_type", Registry.PARTICLE_TYPE.getRawId(fluid.particle?.type))
when (fluid) {
is LavaFluid.Flowing -> {
render.addProperty("texture", "block/lava_flow")
}
is LavaFluid.Still -> {
render.addProperty("texture", "block/lava_still")
}
else -> {
TODO()
}
}
}
is WaterFluid -> {
fluidData.addProperty("drip_particle_type", Registry.PARTICLE_TYPE.getRawId(fluid.particle?.type))
when (fluid) {
is WaterFluid.Flowing -> {
render.addProperty("texture", "block/water_flow")
}
is WaterFluid.Still -> {
render.addProperty("texture", "block/water_still")
}
else -> {
TODO()
}
}
}
is EmptyFluid -> {
}