Files
CustomNPC-Plus/docs/noppes/npcs/api/item/IItemCustomizable.html
2025-05-29 16:27:42 -04:00

982 lines
37 KiB
HTML

<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.20) on Thu May 29 16:24:46 EDT 2025 -->
<title>IItemCustomizable</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2025-05-29">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../jquery/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-ui.min.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="IItemCustomizable";
}
}
catch(err) {
}
//-->
var data = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6,"i24":6,"i25":6,"i26":6,"i27":6,"i28":6,"i29":6,"i30":6,"i31":6,"i32":6,"i33":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">noppes.npcs.api.item</a></div>
<h2 title="Interface IItemCustomizable" class="title">Interface IItemCustomizable</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Superinterfaces:</dt>
<dd><code><a href="IItemStack.html" title="interface in noppes.npcs.api.item">IItemStack</a></code></dd>
</dl>
<dl>
<dt>All Known Subinterfaces:</dt>
<dd><code><a href="IItemCustom.html" title="interface in noppes.npcs.api.item">IItemCustom</a></code>, <code><a href="IItemLinked.html" title="interface in noppes.npcs.api.item">IItemLinked</a></code></dd>
</dl>
<hr>
<pre>public interface <span class="typeNameLabel">IItemCustomizable</span>
extends <a href="IItemStack.html" title="interface in noppes.npcs.api.item">IItemStack</a></pre>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<section>
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getArmorType()">getArmorType</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets the armor type for the scripted item.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>java.lang.Integer</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getColor()">getColor</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets the color of the scripted item.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDigSpeed()">getDigSpeed</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets the dig speed for the scripted item.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>java.lang.Integer</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDurabilityColor()">getDurabilityColor</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets the color of the durability bar for the scripted item.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>java.lang.Boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDurabilityShow()">getDurabilityShow</a></span>()</code></th>
<td class="colLast">
<div class="block">Checks if the durability bar should be shown for the scripted item.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>double</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDurabilityValue()">getDurabilityValue</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets the current durability value for the scripted item.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEnchantability()">getEnchantability</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets the enchantability for the scripted item.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getItemUseAction()">getItemUseAction</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets the item use action for the scripted item.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMaxItemUseDuration()">getMaxItemUseDuration</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets the maximum item use duration for the scripted item.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMaxStackSize()">getMaxStackSize</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>java.lang.Float</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRotationX()">getRotationX</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets the X-axis rotation for the scripted item.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>java.lang.Float</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRotationXRate()">getRotationXRate</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets the X-axis rotation rate for the scripted item.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>java.lang.Float</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRotationY()">getRotationY</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets the Y-axis rotation for the scripted item.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>java.lang.Float</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRotationYRate()">getRotationYRate</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets the Y-axis rotation rate for the scripted item.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>java.lang.Float</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRotationZ()">getRotationZ</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets the Z-axis rotation for the scripted item.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>java.lang.Float</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRotationZRate()">getRotationZRate</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets the Z-axis rotation rate for the scripted item.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>java.lang.Float</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getScaleX()">getScaleX</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets the X-axis scale for the scripted item.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>java.lang.Float</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getScaleY()">getScaleY</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets the Y-axis scale for the scripted item.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>java.lang.Float</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getScaleZ()">getScaleZ</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets the Z-axis scale for the scripted item.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>java.lang.Object</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getScriptHandler()">getScriptHandler</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTexture()">getTexture</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets the texture path for the scripted item.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>java.lang.Float</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTranslateX()">getTranslateX</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets the X-axis translation for the scripted item.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>java.lang.Float</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTranslateY()">getTranslateY</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets the Y-axis translation for the scripted item.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>java.lang.Float</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTranslateZ()">getTranslateZ</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets the Z-axis translation for the scripted item.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isNormalItem()">isNormalItem</a></span>()</code></th>
<td class="colLast">
<div class="block">Checks if the scripted item is a normal item.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isTool()">isTool</a></span>()</code></th>
<td class="colLast">
<div class="block">Checks if the scripted item is a tool.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setColor(java.lang.Integer)">setColor</a></span>&#8203;(java.lang.Integer&nbsp;color)</code></th>
<td class="colLast">
<div class="block">Sets the color of the scripted item.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setDurabilityColor(java.lang.Integer)">setDurabilityColor</a></span>&#8203;(java.lang.Integer&nbsp;durabilityColor)</code></th>
<td class="colLast">
<div class="block">Sets the color of the durability bar for the scripted item.</div>
</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setDurabilityShow(java.lang.Boolean)">setDurabilityShow</a></span>&#8203;(java.lang.Boolean&nbsp;durabilityShow)</code></th>
<td class="colLast">
<div class="block">Sets whether the durability bar should be shown for the scripted item.</div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRotation(java.lang.Float,java.lang.Float,java.lang.Float)">setRotation</a></span>&#8203;(java.lang.Float&nbsp;rotationX,
java.lang.Float&nbsp;rotationY,
java.lang.Float&nbsp;rotationZ)</code></th>
<td class="colLast">
<div class="block">Sets the rotation values for the scripted item.</div>
</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRotationRate(java.lang.Float,java.lang.Float,java.lang.Float)">setRotationRate</a></span>&#8203;(java.lang.Float&nbsp;rotationXRate,
java.lang.Float&nbsp;rotationYRate,
java.lang.Float&nbsp;rotationZRate)</code></th>
<td class="colLast">
<div class="block">Sets the rotation rate values for the scripted item.</div>
</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setScale(java.lang.Float,java.lang.Float,java.lang.Float)">setScale</a></span>&#8203;(java.lang.Float&nbsp;scaleX,
java.lang.Float&nbsp;scaleY,
java.lang.Float&nbsp;scaleZ)</code></th>
<td class="colLast">
<div class="block">Sets the scale values for the scripted item.</div>
</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setTexture(java.lang.String)">setTexture</a></span>&#8203;(java.lang.String&nbsp;texture)</code></th>
<td class="colLast">
<div class="block">Sets the texture path for the scripted item.</div>
</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setTranslate(java.lang.Float,java.lang.Float,java.lang.Float)">setTranslate</a></span>&#8203;(java.lang.Float&nbsp;translateX,
java.lang.Float&nbsp;translateY,
java.lang.Float&nbsp;translateZ)</code></th>
<td class="colLast">
<div class="block">Sets the translation values for the scripted item.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.noppes.npcs.api.item.IItemStack">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;noppes.npcs.api.item.<a href="IItemStack.html" title="interface in noppes.npcs.api.item">IItemStack</a></h3>
<code><a href="IItemStack.html#addEnchant(int,int)">addEnchant</a>, <a href="IItemStack.html#compare(noppes.npcs.api.item.IItemStack,boolean)">compare</a>, <a href="IItemStack.html#compare(noppes.npcs.api.item.IItemStack,boolean,boolean)">compare</a>, <a href="IItemStack.html#copy()">copy</a>, <a href="IItemStack.html#getAttribute(java.lang.String)">getAttribute</a>, <a href="IItemStack.html#getBookAuthor()">getBookAuthor</a>, <a href="IItemStack.html#getBookText()">getBookText</a>, <a href="IItemStack.html#getBookTitle()">getBookTitle</a>, <a href="IItemStack.html#getCustomAttribute(java.lang.String)">getCustomAttribute</a>, <a href="IItemStack.html#getCustomAttributeKeys()">getCustomAttributeKeys</a>, <a href="IItemStack.html#getDisplayName()">getDisplayName</a>, <a href="IItemStack.html#getItemDamage()">getItemDamage</a>, <a href="IItemStack.html#getItemName()">getItemName</a>, <a href="IItemStack.html#getItemNbt()">getItemNbt</a>, <a href="IItemStack.html#getLore()">getLore</a>, <a href="IItemStack.html#getMagicAttribute(java.lang.String,int)">getMagicAttribute</a>, <a href="IItemStack.html#getMagicAttributeKeys(java.lang.String)">getMagicAttributeKeys</a>, <a href="IItemStack.html#getMaxItemDamage()">getMaxItemDamage</a>, <a href="IItemStack.html#getMCItemStack()">getMCItemStack</a>, <a href="IItemStack.html#getMCNbt()">getMCNbt</a>, <a href="IItemStack.html#getName()">getName</a>, <a href="IItemStack.html#getNbt()">getNbt</a>, <a href="IItemStack.html#getRequirement(java.lang.String)">getRequirement</a>, <a href="IItemStack.html#getRequirementKeys()">getRequirementKeys</a>, <a href="IItemStack.html#getStackSize()">getStackSize</a>, <a href="IItemStack.html#getTag(java.lang.String)">getTag</a>, <a href="IItemStack.html#hasAttribute(java.lang.String)">hasAttribute</a>, <a href="IItemStack.html#hasCustomAttribute(java.lang.String)">hasCustomAttribute</a>, <a href="IItemStack.html#hasCustomName()">hasCustomName</a>, <a href="IItemStack.html#hasEnchant(int)">hasEnchant</a>, <a href="IItemStack.html#hasLore()">hasLore</a>, <a href="IItemStack.html#hasMagicAttribute(java.lang.String,int)">hasMagicAttribute</a>, <a href="IItemStack.html#hasRequirement(java.lang.String)">hasRequirement</a>, <a href="IItemStack.html#hasTag(java.lang.String)">hasTag</a>, <a href="IItemStack.html#isBlock()">isBlock</a>, <a href="IItemStack.html#isEnchanted()">isEnchanted</a>, <a href="IItemStack.html#isWrittenBook()">isWrittenBook</a>, <a href="IItemStack.html#itemHash()">itemHash</a>, <a href="IItemStack.html#removeCustomAttribute(java.lang.String)">removeCustomAttribute</a>, <a href="IItemStack.html#removeMagicAttribute(java.lang.String,int)">removeMagicAttribute</a>, <a href="IItemStack.html#removeRequirement(java.lang.String)">removeRequirement</a>, <a href="IItemStack.html#removeTags()">removeTags</a>, <a href="IItemStack.html#setAttribute(java.lang.String,double)">setAttribute</a>, <a href="IItemStack.html#setCustomAttribute(java.lang.String,double)">setCustomAttribute</a>, <a href="IItemStack.html#setCustomName(java.lang.String)">setCustomName</a>, <a href="IItemStack.html#setItemDamage(int)">setItemDamage</a>, <a href="IItemStack.html#setLore(java.lang.String%5B%5D)">setLore</a>, <a href="IItemStack.html#setMagicAttribute(java.lang.String,int,double)">setMagicAttribute</a>, <a href="IItemStack.html#setMCNbt(net.minecraft.nbt.NBTTagCompound)">setMCNbt</a>, <a href="IItemStack.html#setRequirement(java.lang.String,java.lang.Object)">setRequirement</a>, <a href="IItemStack.html#setStackSize(int)">setStackSize</a>, <a href="IItemStack.html#setTag(java.lang.String,java.lang.Object)">setTag</a></code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<section>
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="getScriptHandler()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getScriptHandler</h4>
<pre class="methodSignature">java.lang.Object&nbsp;getScriptHandler()</pre>
</li>
</ul>
<a id="getMaxStackSize()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMaxStackSize</h4>
<pre class="methodSignature">int&nbsp;getMaxStackSize()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="IItemStack.html#getMaxStackSize()">getMaxStackSize</a></code>&nbsp;in interface&nbsp;<code><a href="IItemStack.html" title="interface in noppes.npcs.api.item">IItemStack</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the maximum stack size for this item.</dd>
</dl>
</li>
</ul>
<a id="getArmorType()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getArmorType</h4>
<pre class="methodSignature">int&nbsp;getArmorType()</pre>
<div class="block">Gets the armor type for the scripted item.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The armor type</dd>
</dl>
</li>
</ul>
<a id="isTool()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isTool</h4>
<pre class="methodSignature">boolean&nbsp;isTool()</pre>
<div class="block">Checks if the scripted item is a tool. Allows for enchanting</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>True if the item is a tool, false otherwise</dd>
</dl>
</li>
</ul>
<a id="isNormalItem()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isNormalItem</h4>
<pre class="methodSignature">boolean&nbsp;isNormalItem()</pre>
<div class="block">Checks if the scripted item is a normal item.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>True if the item is a normal item, false otherwise</dd>
</dl>
</li>
</ul>
<a id="getDigSpeed()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDigSpeed</h4>
<pre class="methodSignature">int&nbsp;getDigSpeed()</pre>
<div class="block">Gets the dig speed for the scripted item.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The dig speed</dd>
</dl>
</li>
</ul>
<a id="getDurabilityValue()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDurabilityValue</h4>
<pre class="methodSignature">double&nbsp;getDurabilityValue()</pre>
<div class="block">Gets the current durability value for the scripted item.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The durability value</dd>
</dl>
</li>
</ul>
<a id="getMaxItemUseDuration()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMaxItemUseDuration</h4>
<pre class="methodSignature">int&nbsp;getMaxItemUseDuration()</pre>
<div class="block">Gets the maximum item use duration for the scripted item.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The maximum item use duration</dd>
</dl>
</li>
</ul>
<a id="getItemUseAction()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getItemUseAction</h4>
<pre class="methodSignature">int&nbsp;getItemUseAction()</pre>
<div class="block">Gets the item use action for the scripted item.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The item use action</dd>
</dl>
</li>
</ul>
<a id="getEnchantability()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEnchantability</h4>
<pre class="methodSignature">int&nbsp;getEnchantability()</pre>
<div class="block">Gets the enchantability for the scripted item.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The enchantability</dd>
</dl>
</li>
</ul>
<a id="getTexture()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTexture</h4>
<pre class="methodSignature">java.lang.String&nbsp;getTexture()</pre>
<div class="block">Gets the texture path for the scripted item.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The texture path</dd>
</dl>
</li>
</ul>
<a id="setTexture(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTexture</h4>
<pre class="methodSignature">void&nbsp;setTexture&#8203;(java.lang.String&nbsp;texture)</pre>
<div class="block">Sets the texture path for the scripted item. Can be a URL</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>texture</code> - The texture path</dd>
</dl>
</li>
</ul>
<a id="getDurabilityShow()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDurabilityShow</h4>
<pre class="methodSignature">java.lang.Boolean&nbsp;getDurabilityShow()</pre>
<div class="block">Checks if the durability bar should be shown for the scripted item.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>True if the durability bar should be shown, false otherwise</dd>
</dl>
</li>
</ul>
<a id="setDurabilityShow(java.lang.Boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDurabilityShow</h4>
<pre class="methodSignature">void&nbsp;setDurabilityShow&#8203;(java.lang.Boolean&nbsp;durabilityShow)</pre>
<div class="block">Sets whether the durability bar should be shown for the scripted item.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>durabilityShow</code> - True if the durability bar should be shown, false otherwise</dd>
</dl>
</li>
</ul>
<a id="getDurabilityColor()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDurabilityColor</h4>
<pre class="methodSignature">java.lang.Integer&nbsp;getDurabilityColor()</pre>
<div class="block">Gets the color of the durability bar for the scripted item.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The durability bar color</dd>
</dl>
</li>
</ul>
<a id="setDurabilityColor(java.lang.Integer)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDurabilityColor</h4>
<pre class="methodSignature">void&nbsp;setDurabilityColor&#8203;(java.lang.Integer&nbsp;durabilityColor)</pre>
<div class="block">Sets the color of the durability bar for the scripted item.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>durabilityColor</code> - The durability bar color</dd>
</dl>
</li>
</ul>
<a id="getColor()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getColor</h4>
<pre class="methodSignature">java.lang.Integer&nbsp;getColor()</pre>
<div class="block">Gets the color of the scripted item.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The item color</dd>
</dl>
</li>
</ul>
<a id="setColor(java.lang.Integer)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setColor</h4>
<pre class="methodSignature">void&nbsp;setColor&#8203;(java.lang.Integer&nbsp;color)</pre>
<div class="block">Sets the color of the scripted item.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>color</code> - The item color</dd>
</dl>
</li>
</ul>
<a id="setRotation(java.lang.Float,java.lang.Float,java.lang.Float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRotation</h4>
<pre class="methodSignature">void&nbsp;setRotation&#8203;(java.lang.Float&nbsp;rotationX,
java.lang.Float&nbsp;rotationY,
java.lang.Float&nbsp;rotationZ)</pre>
<div class="block">Sets the rotation values for the scripted item.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>rotationX</code> - The X-axis rotation</dd>
<dd><code>rotationY</code> - The Y-axis rotation</dd>
<dd><code>rotationZ</code> - The Z-axis rotation</dd>
</dl>
</li>
</ul>
<a id="setRotationRate(java.lang.Float,java.lang.Float,java.lang.Float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRotationRate</h4>
<pre class="methodSignature">void&nbsp;setRotationRate&#8203;(java.lang.Float&nbsp;rotationXRate,
java.lang.Float&nbsp;rotationYRate,
java.lang.Float&nbsp;rotationZRate)</pre>
<div class="block">Sets the rotation rate values for the scripted item. Spinning Speed</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>rotationXRate</code> - The X-axis rotation rate</dd>
<dd><code>rotationYRate</code> - The Y-axis rotation rate</dd>
<dd><code>rotationZRate</code> - The Z-axis rotation rate</dd>
</dl>
</li>
</ul>
<a id="setScale(java.lang.Float,java.lang.Float,java.lang.Float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setScale</h4>
<pre class="methodSignature">void&nbsp;setScale&#8203;(java.lang.Float&nbsp;scaleX,
java.lang.Float&nbsp;scaleY,
java.lang.Float&nbsp;scaleZ)</pre>
<div class="block">Sets the scale values for the scripted item.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>scaleX</code> - The X-axis scale</dd>
<dd><code>scaleY</code> - The Y-axis scale</dd>
<dd><code>scaleZ</code> - The Z-axis scale</dd>
</dl>
</li>
</ul>
<a id="setTranslate(java.lang.Float,java.lang.Float,java.lang.Float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTranslate</h4>
<pre class="methodSignature">void&nbsp;setTranslate&#8203;(java.lang.Float&nbsp;translateX,
java.lang.Float&nbsp;translateY,
java.lang.Float&nbsp;translateZ)</pre>
<div class="block">Sets the translation values for the scripted item.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>translateX</code> - The X-axis translation</dd>
<dd><code>translateY</code> - The Y-axis translation</dd>
<dd><code>translateZ</code> - The Z-axis translation</dd>
</dl>
</li>
</ul>
<a id="getRotationX()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRotationX</h4>
<pre class="methodSignature">java.lang.Float&nbsp;getRotationX()</pre>
<div class="block">Gets the X-axis rotation for the scripted item.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The X-axis rotation</dd>
</dl>
</li>
</ul>
<a id="getRotationY()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRotationY</h4>
<pre class="methodSignature">java.lang.Float&nbsp;getRotationY()</pre>
<div class="block">Gets the Y-axis rotation for the scripted item.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The Y-axis rotation</dd>
</dl>
</li>
</ul>
<a id="getRotationZ()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRotationZ</h4>
<pre class="methodSignature">java.lang.Float&nbsp;getRotationZ()</pre>
<div class="block">Gets the Z-axis rotation for the scripted item.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The Z-axis rotation</dd>
</dl>
</li>
</ul>
<a id="getRotationXRate()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRotationXRate</h4>
<pre class="methodSignature">java.lang.Float&nbsp;getRotationXRate()</pre>
<div class="block">Gets the X-axis rotation rate for the scripted item.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The X-axis rotation rate</dd>
</dl>
</li>
</ul>
<a id="getRotationYRate()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRotationYRate</h4>
<pre class="methodSignature">java.lang.Float&nbsp;getRotationYRate()</pre>
<div class="block">Gets the Y-axis rotation rate for the scripted item.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The Y-axis rotation rate</dd>
</dl>
</li>
</ul>
<a id="getRotationZRate()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRotationZRate</h4>
<pre class="methodSignature">java.lang.Float&nbsp;getRotationZRate()</pre>
<div class="block">Gets the Z-axis rotation rate for the scripted item.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The Z-axis rotation rate</dd>
</dl>
</li>
</ul>
<a id="getScaleX()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getScaleX</h4>
<pre class="methodSignature">java.lang.Float&nbsp;getScaleX()</pre>
<div class="block">Gets the X-axis scale for the scripted item.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The X-axis scale</dd>
</dl>
</li>
</ul>
<a id="getScaleY()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getScaleY</h4>
<pre class="methodSignature">java.lang.Float&nbsp;getScaleY()</pre>
<div class="block">Gets the Y-axis scale for the scripted item.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The Y-axis scale</dd>
</dl>
</li>
</ul>
<a id="getScaleZ()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getScaleZ</h4>
<pre class="methodSignature">java.lang.Float&nbsp;getScaleZ()</pre>
<div class="block">Gets the Z-axis scale for the scripted item.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The Z-axis scale</dd>
</dl>
</li>
</ul>
<a id="getTranslateX()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTranslateX</h4>
<pre class="methodSignature">java.lang.Float&nbsp;getTranslateX()</pre>
<div class="block">Gets the X-axis translation for the scripted item.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The X-axis translation</dd>
</dl>
</li>
</ul>
<a id="getTranslateY()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTranslateY</h4>
<pre class="methodSignature">java.lang.Float&nbsp;getTranslateY()</pre>
<div class="block">Gets the Y-axis translation for the scripted item.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The Y-axis translation</dd>
</dl>
</li>
</ul>
<a id="getTranslateZ()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getTranslateZ</h4>
<pre class="methodSignature">java.lang.Float&nbsp;getTranslateZ()</pre>
<div class="block">Gets the Z-axis translation for the scripted item.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The Z-axis translation</dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
</footer>
</body>
</html>