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

Method getType

src/main/java/org/bukkit/inventory/ItemStack.java:62–64  ·  view source on GitHub ↗

Gets the type of this item @return Type of the items in this stack

()

Source from the content-addressed store, hash-verified

60 * @return Type of the items in this stack
61 */
62 public Material getType() {
63 return Material.getMaterial(type);
64 }
65
66 /**
67 * Sets the type of this item<br />

Callers 3

setDataMethod · 0.95
toStringMethod · 0.95
serializeMethod · 0.95

Calls 1

getMaterialMethod · 0.95

Tested by

no test coverage detected