mirror of
https://gitlab.bixilon.de/bixilon/pixlyzer.git
synced 2025-09-24 20:58:04 -04:00
remove texture "extraction" from fluids
This commit is contained in:
parent
9400737fcc
commit
17eefedce6
@ -32,31 +32,9 @@ object FluidGenerator : Generator(
|
|||||||
when (fluid) {
|
when (fluid) {
|
||||||
is LavaFluid -> {
|
is LavaFluid -> {
|
||||||
fluidData.addProperty("drip_particle_type", Registry.PARTICLE_TYPE.getRawId(fluid.particle?.type))
|
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 -> {
|
is WaterFluid -> {
|
||||||
fluidData.addProperty("drip_particle_type", Registry.PARTICLE_TYPE.getRawId(fluid.particle?.type))
|
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 -> {
|
is EmptyFluid -> {
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user