mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-12 03:24:06 +09:00
smelting sand to make glass
This commit is contained in:
@@ -177,6 +177,8 @@ class BlockCodex {
|
||||
return blockProps[blockID]
|
||||
}
|
||||
|
||||
fun filter(predicate: (BlockProp) -> Boolean) = blockProps.entries.filter { (_, prop) -> predicate(prop) }
|
||||
|
||||
private fun setProp(modname: String, key: Int, record: CSVRecord) {
|
||||
val prop = BlockProp()
|
||||
prop.nameKey = record.get("name")
|
||||
|
||||
Reference in New Issue
Block a user