get a materialdata object from a string specification . the specification is a string or numeric material name , optionally followed by a colon :-rrb- and a numeric data byte . concode_field_sep String[] metadata concode_elem_sep short data concode_elem_sep int matId concode_elem_sep Map<String,MaterialWithData> materialCache concode_field_sep MaterialWithData rotate concode_elem_sep String[] getText concode_elem_sep int getId concode_elem_sep void applyTileEntityData concode_elem_sep String[] makeText concode_elem_sep void applyToBlock concode_elem_sep void applyToBlock concode_elem_sep ItemStack makeItemStack concode_elem_sep ItemStack makeItemStack concode_elem_sep ItemStack makeItemStack concode_elem_sep MaterialData getMaterialData concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep MaterialWithData clone concode_elem_sep String toString concode_elem_sep Material getBukkitMaterial concode_elem_sep short getData
MaterialWithData function ( String arg0 ) { String loc0 = arg0 . toLowerCase ( ) ; if ( materialCache . containsKey ( loc0 ) ) { return materialCache . get ( loc0 ) ; } else { MaterialWithData loc1 = new MaterialWithData ( arg0 ) ; materialCache . put ( loc0 , loc1 ) ; return loc1 ; } }