public class MaterialName extends Object
| Constructor and Description |
|---|
MaterialName() |
| Modifier and Type | Method and Description |
|---|---|
static String |
materialName(int type)
Returns the name of a material based on its id
|
static String |
materialName(int type,
short data)
Returns the name of a material based on its id and data
|
static Integer |
typeFromName(String name) |
public static String materialName(int type)
type - The type of the materialpublic static String materialName(int type, short data)
type - The type of the materialdata - The data of the materialCopyright © 2015. All rights reserved.