MCPcopy Create free account
hub / github.com/Bukkit/Bukkit / getItemType

Method getItemType

src/main/java/org/bukkit/material/MaterialData.java:53–55  ·  view source on GitHub ↗

Gets the Material that this MaterialData represents @return Material represented by this MaterialData

()

Source from the content-addressed store, hash-verified

51 * @return Material represented by this MaterialData
52 */
53 public Material getItemType() {
54 return Material.getMaterial(type);
55 }
56
57 /**
58 * Gets the Material Id that this MaterialData represents

Callers 5

toStringMethod · 0.95
isWallSignMethod · 0.80
isPoweredMethod · 0.80
isLitMethod · 0.80
isStickyMethod · 0.80

Calls 1

getMaterialMethod · 0.95

Tested by

no test coverage detected