mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-17 05:54:05 +09:00
Fluid.NULL is identical to Block.AIR
This commit is contained in:
@@ -8,7 +8,7 @@ import net.torvald.terrarum.gameitems.ItemID
|
||||
*/
|
||||
object Fluid {
|
||||
|
||||
val NULL = "fluid@basegame:0"
|
||||
val NULL = Block.AIR
|
||||
val WATER = "fluid@basegame:1"
|
||||
val LAVA = "fluid@basegame:2"
|
||||
|
||||
|
||||
@@ -33,6 +33,9 @@ class FluidCodex {
|
||||
}
|
||||
}
|
||||
|
||||
fun getOrNull(blockID: ItemID?): FluidProp? {
|
||||
return fluidProps[blockID]
|
||||
}
|
||||
|
||||
/**
|
||||
* Later entry (possible from other modules) will replace older ones
|
||||
|
||||
Reference in New Issue
Block a user