getMaterial

public static Material getMaterial(String name)

Attempts to get the Material with the given name.

This is a normal lookup, names must be the precise name they are given in the enum.

Return

Material if found, or null

Parameters

name

Name of the material to get