MCPcopy Create free account
hub / github.com/Teneted/Tenet / getItemMeta

Method getItemMeta

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

Get a copy of this ItemStack's ItemMeta. @return a copy of the current ItemStack's ItemData

()

Source from the content-addressed store, hash-verified

545 * @return a copy of the current ItemStack's ItemData
546 */
547 @Nullable
548 public ItemMeta getItemMeta() {
549 return this.meta == null ? Bukkit.getItemFactory().getItemMeta(this.type) : this.meta.clone();
550 }
551
552 /**
553 * Checks to see if any meta data has been defined.

Callers 7

toItemStackMethod · 0.95
setDurabilityMethod · 0.95
getDurabilityMethod · 0.95
toStringMethod · 0.95
isSimilarMethod · 0.95
hashCodeMethod · 0.95
serializeMethod · 0.95

Calls 3

getItemFactoryMethod · 0.95
getItemMetaMethod · 0.65
cloneMethod · 0.65

Tested by

no test coverage detected