public class MaterialLibrary
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
MaterialLibrary.Material |
Modifier and Type | Field and Description |
---|---|
static MaterialLibrary |
EMPTY |
(package private) java.util.Map<java.lang.String,MaterialLibrary.Material> |
materials |
Modifier | Constructor and Description |
---|---|
private |
MaterialLibrary() |
|
MaterialLibrary(LineReader reader) |
Modifier and Type | Method and Description |
---|---|
MaterialLibrary.Material |
getMaterial(java.lang.String mat) |
public static final MaterialLibrary EMPTY
final java.util.Map<java.lang.String,MaterialLibrary.Material> materials
private MaterialLibrary()
public MaterialLibrary(LineReader reader) throws java.io.IOException
java.io.IOException
public MaterialLibrary.Material getMaterial(java.lang.String mat)