28 lines
558 B
Markdown
28 lines
558 B
Markdown
# IScriptItem.isSame
|
|
|
|
[← IScriptItem](index.md) · [← Master](../../wiki.md)
|
|
|
|
isSame(IScriptItem item)
|
|
|
|
boolean Check whether given item is same as this one
|
|
|
|
Method Detail
|
|
getMinecraftItem
|
|
|
|
Item getMinecraftItem()
|
|
|
|
Get Minecraft item instance. BEWARE: you need to know the MCP mappings in order to directly call
|
|
methods on this instance!
|
|
|
|
getId
|
|
|
|
java.lang.String getId()
|
|
|
|
Get item's ID like "minecraft:stick" or "minecraft:diamond_hoe"
|
|
|
|
isSame
|
|
|
|
boolean isSame(IScriptItem item)
|
|
|
|
Check whether given item is same as this one
|