tags on ingame blocks

This commit is contained in:
minjaesong
2022-03-11 15:05:06 +09:00
parent 6c7cbc02ae
commit b5aacd976c
4 changed files with 134 additions and 136 deletions

View File

@@ -35,6 +35,7 @@ class BlockProp {
var strength: Int = 0
var density: Int = 0
var viscosity: Int = 0
/** Fluid colour */
var colour: Int = 0
/** isSolid is NOT SAME AS !isOpaqueis
@@ -98,6 +99,8 @@ class BlockProp {
@Transient var rngBase1 = Math.random().toFloat() // flicker P0, etc
@Transient var rngBase2 = Math.random().toFloat() // flicker P1, etc
var tags = HashSet<String>()
/**
* Mainly intended to be used by third-party modules
*/