Attempts to match the Material with the given name. This is a match lookup; names will be stripped of the "minecraft:" namespace, converted to uppercase, then stripped of special characters in an attempt to format it like the enum. @param name Name of the material to get @return Material if fou
(@NotNull final String name)
| 4617 | * @return Material if found, or null |
| 4618 | */ |
| 4619 | @Nullable |
| 4620 | public static Material matchMaterial(@NotNull final String name) { |
| 4621 | return matchMaterial(name, false); |
| 4622 | } |
| 4623 | |
| 4624 | /** |
| 4625 | * Attempts to match the Material with the given name. |
no test coverage detected