diff options
| author | Foghrye4 <foghrye4@gmail.com> | 2017-08-10 18:50:56 +0300 |
|---|---|---|
| committer | Foghrye4 <foghrye4@gmail.com> | 2017-08-10 18:50:56 +0300 |
| commit | 877312184c472d9845e5ef1008bc538f4634059f (patch) | |
| tree | 4e098cc94296cc11f3b87e8ef64c3c568b6aeb51 /javadoc/net/minecraft/item/Item.html | |
| parent | 939d2ea16679ce64d98b98c716b85f851aa576e2 (diff) | |
fix missing source folder
Diffstat (limited to 'javadoc/net/minecraft/item/Item.html')
| -rw-r--r-- | javadoc/net/minecraft/item/Item.html | 2289 |
1 files changed, 0 insertions, 2289 deletions
diff --git a/javadoc/net/minecraft/item/Item.html b/javadoc/net/minecraft/item/Item.html deleted file mode 100644 index 5725b36..0000000 --- a/javadoc/net/minecraft/item/Item.html +++ /dev/null @@ -1,2289 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> -<!-- NewPage --> -<html lang="en"> -<head> -<!-- Generated by javadoc (version 1.7.0_65) on Thu Feb 05 20:10:15 EST 2015 --> -<title>Item (Forge API)</title> -<meta name="date" content="2015-02-05"> -<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> -</head> -<body> -<script type="text/javascript"><!-- - if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="Item (Forge API)"; - } -//--> -</script> -<noscript> -<div>JavaScript is disabled on your browser.</div> -</noscript> -<!-- ========= START OF TOP NAVBAR ======= --> -<div class="topNav"><a name="navbar_top"> -<!-- --> -</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> -<!-- --> -</a> -<ul class="navList" title="Navigation"> -<li><a href="../../../overview-summary.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-all.html">Index</a></li> -<li><a href="../../../help-doc.html">Help</a></li> -</ul> -</div> -<div class="subNav"> -<ul class="navList"> -<li><a href="../../../net/minecraft/item/EnumRarity.html" title="enum in net.minecraft.item"><span class="strong">Prev Class</span></a></li> -<li><a href="../../../net/minecraft/item/Item.ToolMaterial.html" title="enum in net.minecraft.item"><span class="strong">Next Class</span></a></li> -</ul> -<ul class="navList"> -<li><a href="../../../index.html?net/minecraft/item/Item.html" target="_top">Frames</a></li> -<li><a href="Item.html" target="_top">No Frames</a></li> -</ul> -<ul class="navList" id="allclasses_navbar_top"> -<li><a href="../../../allclasses-noframe.html">All Classes</a></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> -</div> -<div> -<ul class="subNavList"> -<li>Summary: </li> -<li><a href="#nested_class_summary">Nested</a> | </li> -<li><a href="#field_summary">Field</a> | </li> -<li><a href="#constructor_summary">Constr</a> | </li> -<li><a href="#method_summary">Method</a></li> -</ul> -<ul class="subNavList"> -<li>Detail: </li> -<li><a href="#field_detail">Field</a> | </li> -<li><a href="#constructor_detail">Constr</a> | </li> -<li><a href="#method_detail">Method</a></li> -</ul> -</div> -<a name="skip-navbar_top"> -<!-- --> -</a></div> -<!-- ========= END OF TOP NAVBAR ========= --> -<!-- ======== START OF CLASS DATA ======== --> -<div class="header"> -<div class="subTitle">net.minecraft.item</div> -<h2 title="Class Item" class="title">Class Item</h2> -</div> -<div class="contentContainer"> -<ul class="inheritance"> -<li>java.lang.Object</li> -<li> -<ul class="inheritance"> -<li>net.minecraft.item.Item</li> -</ul> -</li> -</ul> -<div class="description"> -<ul class="blockList"> -<li class="blockList"> -<dl> -<dt>Direct Known Subclasses:</dt> -<dd><a href="../../../net/minecraft/item/ItemArmor.html" title="class in net.minecraft.item">ItemArmor</a>, <a href="../../../net/minecraft/item/ItemBed.html" title="class in net.minecraft.item">ItemBed</a>, <a href="../../../net/minecraft/item/ItemBlock.html" title="class in net.minecraft.item">ItemBlock</a>, <a href="../../../net/minecraft/item/ItemBoat.html" title="class in net.minecraft.item">ItemBoat</a>, <a href="../../../net/minecraft/item/ItemBook.html" title="class in net.minecraft.item">ItemBook</a>, <a href="../../../net/minecraft/item/ItemBow.html" title="class in net.minecraft.item">ItemBow</a>, <a href="../../../net/minecraft/item/ItemBucket.html" title="class in net.minecraft.item">ItemBucket</a>, <a href="../../../net/minecraft/item/ItemBucketMilk.html" title="class in net.minecraft.item">ItemBucketMilk</a>, <a href="../../../net/minecraft/item/ItemCarrotOnAStick.html" title="class in net.minecraft.item">ItemCarrotOnAStick</a>, <a href="../../../net/minecraft/item/ItemCoal.html" title="class in net.minecraft.item">ItemCoal</a>, <a href="../../../net/minecraft/item/ItemDoor.html" title="class in net.minecraft.item">ItemDoor</a>, <a href="../../../net/minecraft/item/ItemDye.html" title="class in net.minecraft.item">ItemDye</a>, <a href="../../../net/minecraft/item/ItemEditableBook.html" title="class in net.minecraft.item">ItemEditableBook</a>, <a href="../../../net/minecraft/item/ItemEgg.html" title="class in net.minecraft.item">ItemEgg</a>, <a href="../../../net/minecraft/item/ItemEnchantedBook.html" title="class in net.minecraft.item">ItemEnchantedBook</a>, <a href="../../../net/minecraft/item/ItemEnderEye.html" title="class in net.minecraft.item">ItemEnderEye</a>, <a href="../../../net/minecraft/item/ItemEnderPearl.html" title="class in net.minecraft.item">ItemEnderPearl</a>, <a href="../../../net/minecraft/item/ItemExpBottle.html" title="class in net.minecraft.item">ItemExpBottle</a>, <a href="../../../net/minecraft/item/ItemFireball.html" title="class in net.minecraft.item">ItemFireball</a>, <a href="../../../net/minecraft/item/ItemFirework.html" title="class in net.minecraft.item">ItemFirework</a>, <a href="../../../net/minecraft/item/ItemFireworkCharge.html" title="class in net.minecraft.item">ItemFireworkCharge</a>, <a href="../../../net/minecraft/item/ItemFishingRod.html" title="class in net.minecraft.item">ItemFishingRod</a>, <a href="../../../net/minecraft/item/ItemFlintAndSteel.html" title="class in net.minecraft.item">ItemFlintAndSteel</a>, <a href="../../../net/minecraftforge/fluids/ItemFluidContainer.html" title="class in net.minecraftforge.fluids">ItemFluidContainer</a>, <a href="../../../net/minecraft/item/ItemFood.html" title="class in net.minecraft.item">ItemFood</a>, <a href="../../../net/minecraft/item/ItemGlassBottle.html" title="class in net.minecraft.item">ItemGlassBottle</a>, <a href="../../../net/minecraft/item/ItemHangingEntity.html" title="class in net.minecraft.item">ItemHangingEntity</a>, <a href="../../../net/minecraft/item/ItemHoe.html" title="class in net.minecraft.item">ItemHoe</a>, <a href="../../../net/minecraft/item/ItemLead.html" title="class in net.minecraft.item">ItemLead</a>, <a href="../../../net/minecraft/item/ItemMapBase.html" title="class in net.minecraft.item">ItemMapBase</a>, <a href="../../../net/minecraft/item/ItemMinecart.html" title="class in net.minecraft.item">ItemMinecart</a>, <a href="../../../net/minecraft/item/ItemMonsterPlacer.html" title="class in net.minecraft.item">ItemMonsterPlacer</a>, <a href="../../../net/minecraft/item/ItemNameTag.html" title="class in net.minecraft.item">ItemNameTag</a>, <a href="../../../net/minecraft/item/ItemPotion.html" title="class in net.minecraft.item">ItemPotion</a>, <a href="../../../net/minecraft/item/ItemRecord.html" title="class in net.minecraft.item">ItemRecord</a>, <a href="../../../net/minecraft/item/ItemRedstone.html" title="class in net.minecraft.item">ItemRedstone</a>, <a href="../../../net/minecraft/item/ItemReed.html" title="class in net.minecraft.item">ItemReed</a>, <a href="../../../net/minecraft/item/ItemSaddle.html" title="class in net.minecraft.item">ItemSaddle</a>, <a href="../../../net/minecraft/item/ItemSeeds.html" title="class in net.minecraft.item">ItemSeeds</a>, <a href="../../../net/minecraft/item/ItemShears.html" title="class in net.minecraft.item">ItemShears</a>, <a href="../../../net/minecraft/item/ItemSign.html" title="class in net.minecraft.item">ItemSign</a>, <a href="../../../net/minecraft/item/ItemSimpleFoiled.html" title="class in net.minecraft.item">ItemSimpleFoiled</a>, <a href="../../../net/minecraft/item/ItemSkull.html" title="class in net.minecraft.item">ItemSkull</a>, <a href="../../../net/minecraft/item/ItemSnowball.html" title="class in net.minecraft.item">ItemSnowball</a>, <a href="../../../net/minecraft/item/ItemSword.html" title="class in net.minecraft.item">ItemSword</a>, <a href="../../../net/minecraft/item/ItemTool.html" title="class in net.minecraft.item">ItemTool</a>, <a href="../../../net/minecraft/item/ItemWritableBook.html" title="class in net.minecraft.item">ItemWritableBook</a></dd> -</dl> -<hr> -<br> -<pre>public class <span class="strong">Item</span> -extends java.lang.Object</pre> -</li> -</ul> -</div> -<div class="summary"> -<ul class="blockList"> -<li class="blockList"> -<!-- ======== NESTED CLASS SUMMARY ======== --> -<ul class="blockList"> -<li class="blockList"><a name="nested_class_summary"> -<!-- --> -</a> -<h3>Nested Class Summary</h3> -<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> -<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> -<tr> -<th class="colFirst" scope="col">Modifier and Type</th> -<th class="colLast" scope="col">Class and Description</th> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>static class </code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.ToolMaterial.html" title="enum in net.minecraft.item">Item.ToolMaterial</a></strong></code> </td> -</tr> -</table> -</li> -</ul> -<!-- =========== FIELD SUMMARY =========== --> -<ul class="blockList"> -<li class="blockList"><a name="field_summary"> -<!-- --> -</a> -<h3>Field Summary</h3> -<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> -<caption><span>Fields</span><span class="tabEnd"> </span></caption> -<tr> -<th class="colFirst" scope="col">Modifier and Type</th> -<th class="colLast" scope="col">Field and Description</th> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>protected boolean</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#bFull3D">bFull3D</a></strong></code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>protected boolean</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#canRepair">canRepair</a></strong></code> </td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code><a href="../../../cpw/mods/fml/common/registry/RegistryDelegate.html" title="interface in cpw.mods.fml.common.registry">RegistryDelegate</a><<a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a>></code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#delegate">delegate</a></strong></code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>protected static java.util.UUID</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#field_111210_e">field_111210_e</a></strong></code> </td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>protected boolean</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#hasSubtypes">hasSubtypes</a></strong></code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>protected java.lang.String</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#iconString">iconString</a></strong></code> </td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>protected <a href="../../../net/minecraft/util/IIcon.html" title="interface in net.minecraft.util">IIcon</a></code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#itemIcon">itemIcon</a></strong></code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>protected static java.util.Random</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#itemRand">itemRand</a></strong></code> </td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>static <a href="../../../net/minecraft/util/RegistryNamespaced.html" title="class in net.minecraft.util">RegistryNamespaced</a></code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#itemRegistry">itemRegistry</a></strong></code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>protected int</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#maxStackSize">maxStackSize</a></strong></code> </td> -</tr> -</table> -</li> -</ul> -<!-- ======== CONSTRUCTOR SUMMARY ======== --> -<ul class="blockList"> -<li class="blockList"><a name="constructor_summary"> -<!-- --> -</a> -<h3>Constructor Summary</h3> -<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> -<caption><span>Constructors</span><span class="tabEnd"> </span></caption> -<tr> -<th class="colOne" scope="col">Constructor and Description</th> -</tr> -<tr class="altColor"> -<td class="colOne"><code><strong><a href="../../../net/minecraft/item/Item.html#Item()">Item</a></strong>()</code> </td> -</tr> -</table> -</li> -</ul> -<!-- ========== METHOD SUMMARY =========== --> -<ul class="blockList"> -<li class="blockList"><a name="method_summary"> -<!-- --> -</a> -<h3>Method Summary</h3> -<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> -<caption><span>Methods</span><span class="tabEnd"> </span></caption> -<tr> -<th class="colFirst" scope="col">Modifier and Type</th> -<th class="colLast" scope="col">Method and Description</th> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>void</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#addInformation(net.minecraft.item.ItemStack,%20net.minecraft.entity.player.EntityPlayer,%20java.util.List,%20boolean)">addInformation</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_77624_1_, - <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> p_77624_2_, - java.util.List p_77624_3_, - boolean p_77624_4_)</code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>boolean</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#canHarvestBlock(net.minecraft.block.Block,%20net.minecraft.item.ItemStack)">canHarvestBlock</a></strong>(<a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> par1Block, - <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> itemStack)</code> -<div class="block">ItemStack sensitive version of <code>#canHarvestBlock(Block)</code></div> -</td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>boolean</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#canItemEditBlocks()">canItemEditBlocks</a></strong>()</code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code><a href="../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a></code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#createEntity(net.minecraft.world.World,%20net.minecraft.entity.Entity,%20net.minecraft.item.ItemStack)">createEntity</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, - <a href="../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a> location, - <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> itemstack)</code> -<div class="block">This function should return a new entity to replace the dropped item.</div> -</td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>boolean</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#doesContainerItemLeaveCraftingGrid(net.minecraft.item.ItemStack)">doesContainerItemLeaveCraftingGrid</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_77630_1_)</code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>boolean</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#doesSneakBypassUse(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.entity.player.EntityPlayer)">doesSneakBypassUse</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, - int x, - int y, - int z, - <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> player)</code> -<div class="block">Should this item, when held, allow sneak-clicks to pass through to the underlying block?</div> -</td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>float</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#func_150893_a(net.minecraft.item.ItemStack,%20net.minecraft.block.Block)">func_150893_a</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_150893_1_, - <a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> p_150893_2_)</code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>boolean</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#func_150897_b(net.minecraft.block.Block)">func_150897_b</a></strong>(<a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> p_150897_1_)</code> </td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code><a href="../../../net/minecraft/client/model/ModelBiped.html" title="class in net.minecraft.client.model">ModelBiped</a></code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getArmorModel(net.minecraft.entity.EntityLivingBase,%20net.minecraft.item.ItemStack,%20int)">getArmorModel</a></strong>(<a href="../../../net/minecraft/entity/EntityLivingBase.html" title="class in net.minecraft.entity">EntityLivingBase</a> entityLiving, - <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> itemStack, - int armorSlot)</code> -<div class="block">Override this method to have an item handle its own armor rendering.</div> -</td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>java.lang.String</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getArmorTexture(net.minecraft.item.ItemStack,%20net.minecraft.entity.Entity,%20int,%20java.lang.String)">getArmorTexture</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack, - <a href="../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a> entity, - int slot, - java.lang.String type)</code> -<div class="block">Called by RenderBiped and RenderPlayer to determine the armor texture that - should be use for the currently equiped item.</div> -</td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>com.google.common.collect.Multimap</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getAttributeModifiers(net.minecraft.item.ItemStack)">getAttributeModifiers</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack)</code> -<div class="block">ItemStack sensitive version of getItemAttributeModifiers</div> -</td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code><a href="../../../net/minecraft/util/WeightedRandomChestContent.html" title="class in net.minecraft.util">WeightedRandomChestContent</a></code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getChestGenBase(net.minecraftforge.common.ChestGenHooks,%20java.util.Random,%20net.minecraft.util.WeightedRandomChestContent)">getChestGenBase</a></strong>(<a href="../../../net/minecraftforge/common/ChestGenHooks.html" title="class in net.minecraftforge.common">ChestGenHooks</a> chest, - java.util.Random rnd, - <a href="../../../net/minecraft/util/WeightedRandomChestContent.html" title="class in net.minecraft.util">WeightedRandomChestContent</a> original)</code> -<div class="block">Generates the base Random item for a specific instance of the chest gen, - Enchanted books use this to pick a random enchantment.</div> -</td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>int</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getColorFromItemStack(net.minecraft.item.ItemStack,%20int)">getColorFromItemStack</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_82790_1_, - int p_82790_2_)</code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code><a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a></code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getContainerItem()">getContainerItem</a></strong>()</code> </td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code><a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a></code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getContainerItem(net.minecraft.item.ItemStack)">getContainerItem</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> itemStack)</code> -<div class="block">ItemStack sensitive version of getContainerItem.</div> -</td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code><a href="../../../net/minecraft/creativetab/CreativeTabs.html" title="class in net.minecraft.creativetab">CreativeTabs</a></code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getCreativeTab()">getCreativeTab</a></strong>()</code> </td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code><a href="../../../net/minecraft/creativetab/CreativeTabs.html" title="class in net.minecraft.creativetab">CreativeTabs</a>[]</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getCreativeTabs()">getCreativeTabs</a></strong>()</code> -<div class="block">Gets a list of tabs that items belonging to this class can display on, - combined properly with getSubItems allows for a single item to span - many sub-items across many tabs.</div> -</td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>int</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getDamage(net.minecraft.item.ItemStack)">getDamage</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack)</code> -<div class="block">Return the itemDamage represented by this ItemStack.</div> -</td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>float</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getDigSpeed(net.minecraft.item.ItemStack,%20net.minecraft.block.Block,%20int)">getDigSpeed</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> itemstack, - <a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> block, - int metadata)</code> -<div class="block">Metadata-sensitive version of getStrVsBlock</div> -</td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>int</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getDisplayDamage(net.minecraft.item.ItemStack)">getDisplayDamage</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack)</code> -<div class="block"><strong>Deprecated.</strong> </div> -</td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>double</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getDurabilityForDisplay(net.minecraft.item.ItemStack)">getDurabilityForDisplay</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack)</code> -<div class="block">Queries the percentage of the 'Durability' bar that should be drawn.</div> -</td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>int</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getEntityLifespan(net.minecraft.item.ItemStack,%20net.minecraft.world.World)">getEntityLifespan</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> itemStack, - <a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world)</code> -<div class="block">Retrieves the normal 'lifespan' of this item when it is dropped on the ground as a EntityItem.</div> -</td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code><a href="../../../net/minecraft/client/gui/FontRenderer.html" title="class in net.minecraft.client.gui">FontRenderer</a></code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getFontRenderer(net.minecraft.item.ItemStack)">getFontRenderer</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack)</code> -<div class="block">Returns the font renderer used to render tooltips and overlays for this item.</div> -</td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>int</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getHarvestLevel(net.minecraft.item.ItemStack,%20java.lang.String)">getHarvestLevel</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack, - java.lang.String toolClass)</code> -<div class="block">Queries the harvest level of this item stack for the specifred tool class, - Returns -1 if this tool is not of the specified type</div> -</td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>boolean</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getHasSubtypes()">getHasSubtypes</a></strong>()</code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code><a href="../../../net/minecraft/util/IIcon.html" title="interface in net.minecraft.util">IIcon</a></code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getIcon(net.minecraft.item.ItemStack,%20int)">getIcon</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack, - int pass)</code> -<div class="block">Return the correct icon for rendering based on the supplied ItemStack and render pass.</div> -</td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code><a href="../../../net/minecraft/util/IIcon.html" title="interface in net.minecraft.util">IIcon</a></code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getIcon(net.minecraft.item.ItemStack,%20int,%20net.minecraft.entity.player.EntityPlayer,%20net.minecraft.item.ItemStack,%20int)">getIcon</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack, - int renderPass, - <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> player, - <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> usingItem, - int useRemaining)</code> -<div class="block">Player, Render pass, and item usage sensitive version of getIconIndex.</div> -</td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code><a href="../../../net/minecraft/util/IIcon.html" title="interface in net.minecraft.util">IIcon</a></code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getIconFromDamage(int)">getIconFromDamage</a></strong>(int p_77617_1_)</code> </td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code><a href="../../../net/minecraft/util/IIcon.html" title="interface in net.minecraft.util">IIcon</a></code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getIconFromDamageForRenderPass(int,%20int)">getIconFromDamageForRenderPass</a></strong>(int p_77618_1_, - int p_77618_2_)</code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code><a href="../../../net/minecraft/util/IIcon.html" title="interface in net.minecraft.util">IIcon</a></code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getIconIndex(net.minecraft.item.ItemStack)">getIconIndex</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_77650_1_)</code> </td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>protected java.lang.String</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getIconString()">getIconString</a></strong>()</code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>static int</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getIdFromItem(net.minecraft.item.Item)">getIdFromItem</a></strong>(<a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a> p_150891_0_)</code> </td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>boolean</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getIsRepairable(net.minecraft.item.ItemStack,%20net.minecraft.item.ItemStack)">getIsRepairable</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_82789_1_, - <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_82789_2_)</code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>com.google.common.collect.Multimap</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getItemAttributeModifiers()">getItemAttributeModifiers</a></strong>()</code> -<div class="block"><strong>Deprecated.</strong> </div> -</td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>static <a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a></code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getItemById(int)">getItemById</a></strong>(int p_150899_0_)</code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>int</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getItemEnchantability()">getItemEnchantability</a></strong>()</code> </td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>int</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getItemEnchantability(net.minecraft.item.ItemStack)">getItemEnchantability</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack)</code> -<div class="block">ItemStack sensitive version of getItemEnchantability</div> -</td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>static <a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a></code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getItemFromBlock(net.minecraft.block.Block)">getItemFromBlock</a></strong>(<a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> p_150898_0_)</code> </td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>java.lang.String</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getItemStackDisplayName(net.minecraft.item.ItemStack)">getItemStackDisplayName</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_77653_1_)</code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>int</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getItemStackLimit()">getItemStackLimit</a></strong>()</code> -<div class="block"><strong>Deprecated.</strong> </div> -</td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>int</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getItemStackLimit(net.minecraft.item.ItemStack)">getItemStackLimit</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack)</code> -<div class="block">Gets the maximum number of items that this stack should be able to hold.</div> -</td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code><a href="../../../net/minecraft/item/EnumAction.html" title="enum in net.minecraft.item">EnumAction</a></code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getItemUseAction(net.minecraft.item.ItemStack)">getItemUseAction</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_77661_1_)</code> </td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>int</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getMaxDamage()">getMaxDamage</a></strong>()</code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>int</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getMaxDamage(net.minecraft.item.ItemStack)">getMaxDamage</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack)</code> -<div class="block">Return the maxDamage for this ItemStack.</div> -</td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>int</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getMaxItemUseDuration(net.minecraft.item.ItemStack)">getMaxItemUseDuration</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_77626_1_)</code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>int</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getMetadata(int)">getMetadata</a></strong>(int p_77647_1_)</code> </td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>protected <a href="../../../net/minecraft/util/MovingObjectPosition.html" title="class in net.minecraft.util">MovingObjectPosition</a></code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getMovingObjectPositionFromPlayer(net.minecraft.world.World,%20net.minecraft.entity.player.EntityPlayer,%20boolean)">getMovingObjectPositionFromPlayer</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_77621_1_, - <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> p_77621_2_, - boolean p_77621_3_)</code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>java.lang.String</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getPotionEffect(net.minecraft.item.ItemStack)">getPotionEffect</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_150896_1_)</code> </td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code><a href="../../../net/minecraft/item/EnumRarity.html" title="enum in net.minecraft.item">EnumRarity</a></code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getRarity(net.minecraft.item.ItemStack)">getRarity</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_77613_1_)</code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>int</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getRenderPasses(int)">getRenderPasses</a></strong>(int metadata)</code> -<div class="block">Returns the number of render passes/layers this item has.</div> -</td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>boolean</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getShareTag()">getShareTag</a></strong>()</code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>float</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getSmeltingExperience(net.minecraft.item.ItemStack)">getSmeltingExperience</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> item)</code> -<div class="block">Determines the base experience for a player when they remove this item from a furnace slot.</div> -</td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>int</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getSpriteNumber()">getSpriteNumber</a></strong>()</code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>void</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getSubItems(net.minecraft.item.Item,%20net.minecraft.creativetab.CreativeTabs,%20java.util.List)">getSubItems</a></strong>(<a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a> p_150895_1_, - <a href="../../../net/minecraft/creativetab/CreativeTabs.html" title="class in net.minecraft.creativetab">CreativeTabs</a> p_150895_2_, - java.util.List p_150895_3_)</code> </td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>java.util.Set<java.lang.String></code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getToolClasses(net.minecraft.item.ItemStack)">getToolClasses</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack)</code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>java.lang.String</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getUnlocalizedName()">getUnlocalizedName</a></strong>()</code> </td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>java.lang.String</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getUnlocalizedName(net.minecraft.item.ItemStack)">getUnlocalizedName</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_77667_1_)</code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>java.lang.String</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#getUnlocalizedNameInefficiently(net.minecraft.item.ItemStack)">getUnlocalizedNameInefficiently</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_77657_1_)</code> </td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>boolean</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#hasContainerItem()">hasContainerItem</a></strong>()</code> -<div class="block"><strong>Deprecated.</strong> </div> -</td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>boolean</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#hasContainerItem(net.minecraft.item.ItemStack)">hasContainerItem</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack)</code> -<div class="block">ItemStack sensitive version of hasContainerItem</div> -</td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>boolean</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#hasCustomEntity(net.minecraft.item.ItemStack)">hasCustomEntity</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack)</code> -<div class="block">Determines if this Item has a special entity for when they are in the world.</div> -</td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>boolean</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#hasEffect(net.minecraft.item.ItemStack)">hasEffect</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_77636_1_)</code> -<div class="block"><strong>Deprecated.</strong> </div> -</td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>boolean</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#hasEffect(net.minecraft.item.ItemStack,%20int)">hasEffect</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> par1ItemStack, - int pass)</code> -<div class="block">Render Pass sensitive version of hasEffect()</div> -</td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>boolean</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#hitEntity(net.minecraft.item.ItemStack,%20net.minecraft.entity.EntityLivingBase,%20net.minecraft.entity.EntityLivingBase)">hitEntity</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_77644_1_, - <a href="../../../net/minecraft/entity/EntityLivingBase.html" title="class in net.minecraft.entity">EntityLivingBase</a> p_77644_2_, - <a href="../../../net/minecraft/entity/EntityLivingBase.html" title="class in net.minecraft.entity">EntityLivingBase</a> p_77644_3_)</code> </td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>boolean</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#isBeaconPayment(net.minecraft.item.ItemStack)">isBeaconPayment</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack)</code> -<div class="block">Whether this Item can be used as a payment to activate the vanilla beacon.</div> -</td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>boolean</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#isBookEnchantable(net.minecraft.item.ItemStack,%20net.minecraft.item.ItemStack)">isBookEnchantable</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack, - <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> book)</code> -<div class="block">Allow or forbid the specific book/item combination as an anvil enchant</div> -</td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>boolean</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#isDamageable()">isDamageable</a></strong>()</code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>boolean</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#isDamaged(net.minecraft.item.ItemStack)">isDamaged</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack)</code> -<div class="block">Return if this itemstack is damaged.</div> -</td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>boolean</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#isFull3D()">isFull3D</a></strong>()</code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>boolean</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#isItemTool(net.minecraft.item.ItemStack)">isItemTool</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_77616_1_)</code> </td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>boolean</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#isMap()">isMap</a></strong>()</code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>boolean</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#isPotionIngredient(net.minecraft.item.ItemStack)">isPotionIngredient</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_150892_1_)</code> </td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>boolean</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#isRepairable()">isRepairable</a></strong>()</code> -<div class="block">Called by CraftingManager to determine if an item is reparable.</div> -</td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>boolean</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#isValidArmor(net.minecraft.item.ItemStack,%20int,%20net.minecraft.entity.Entity)">isValidArmor</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack, - int armorType, - <a href="../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a> entity)</code> -<div class="block">Determines if the specific ItemStack can be placed in the specified armor slot.</div> -</td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>boolean</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#itemInteractionForEntity(net.minecraft.item.ItemStack,%20net.minecraft.entity.player.EntityPlayer,%20net.minecraft.entity.EntityLivingBase)">itemInteractionForEntity</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_111207_1_, - <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> p_111207_2_, - <a href="../../../net/minecraft/entity/EntityLivingBase.html" title="class in net.minecraft.entity">EntityLivingBase</a> p_111207_3_)</code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>void</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#onArmorTick(net.minecraft.world.World,%20net.minecraft.entity.player.EntityPlayer,%20net.minecraft.item.ItemStack)">onArmorTick</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, - <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> player, - <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> itemStack)</code> -<div class="block">Called to tick armor in the armor slot.</div> -</td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>boolean</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#onBlockDestroyed(net.minecraft.item.ItemStack,%20net.minecraft.world.World,%20net.minecraft.block.Block,%20int,%20int,%20int,%20net.minecraft.entity.EntityLivingBase)">onBlockDestroyed</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_150894_1_, - <a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_150894_2_, - <a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> p_150894_3_, - int p_150894_4_, - int p_150894_5_, - int p_150894_6_, - <a href="../../../net/minecraft/entity/EntityLivingBase.html" title="class in net.minecraft.entity">EntityLivingBase</a> p_150894_7_)</code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>boolean</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#onBlockStartBreak(net.minecraft.item.ItemStack,%20int,%20int,%20int,%20net.minecraft.entity.player.EntityPlayer)">onBlockStartBreak</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> itemstack, - int X, - int Y, - int Z, - <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> player)</code> -<div class="block">Called before a block is broken.</div> -</td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>void</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#onCreated(net.minecraft.item.ItemStack,%20net.minecraft.world.World,%20net.minecraft.entity.player.EntityPlayer)">onCreated</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_77622_1_, - <a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_77622_2_, - <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> p_77622_3_)</code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>boolean</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#onDroppedByPlayer(net.minecraft.item.ItemStack,%20net.minecraft.entity.player.EntityPlayer)">onDroppedByPlayer</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> item, - <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> player)</code> -<div class="block">Called when a player drops the item into the world, - returning false from this will prevent the item from - being removed from the players inventory and spawning - in the world</div> -</td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code><a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a></code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#onEaten(net.minecraft.item.ItemStack,%20net.minecraft.world.World,%20net.minecraft.entity.player.EntityPlayer)">onEaten</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_77654_1_, - <a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_77654_2_, - <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> p_77654_3_)</code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>boolean</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#onEntityItemUpdate(net.minecraft.entity.item.EntityItem)">onEntityItemUpdate</a></strong>(<a href="../../../net/minecraft/entity/item/EntityItem.html" title="class in net.minecraft.entity.item">EntityItem</a> entityItem)</code> -<div class="block">Called by the default implemetation of EntityItem's onUpdate method, allowing for cleaner - control over the update of the item without having to write a subclass.</div> -</td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>boolean</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#onEntitySwing(net.minecraft.entity.EntityLivingBase,%20net.minecraft.item.ItemStack)">onEntitySwing</a></strong>(<a href="../../../net/minecraft/entity/EntityLivingBase.html" title="class in net.minecraft.entity">EntityLivingBase</a> entityLiving, - <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack)</code> -<div class="block">Called when a entity tries to play the 'swing' animation.</div> -</td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code><a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a></code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#onItemRightClick(net.minecraft.item.ItemStack,%20net.minecraft.world.World,%20net.minecraft.entity.player.EntityPlayer)">onItemRightClick</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_77659_1_, - <a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_77659_2_, - <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> p_77659_3_)</code> </td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>boolean</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#onItemUse(net.minecraft.item.ItemStack,%20net.minecraft.entity.player.EntityPlayer,%20net.minecraft.world.World,%20int,%20int,%20int,%20int,%20float,%20float,%20float)">onItemUse</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_77648_1_, - <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> p_77648_2_, - <a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_77648_3_, - int p_77648_4_, - int p_77648_5_, - int p_77648_6_, - int p_77648_7_, - float p_77648_8_, - float p_77648_9_, - float p_77648_10_)</code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>boolean</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#onItemUseFirst(net.minecraft.item.ItemStack,%20net.minecraft.entity.player.EntityPlayer,%20net.minecraft.world.World,%20int,%20int,%20int,%20int,%20float,%20float,%20float)">onItemUseFirst</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack, - <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> player, - <a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, - int x, - int y, - int z, - int side, - float hitX, - float hitY, - float hitZ)</code> -<div class="block">This is called when the item is used, before the block is activated.</div> -</td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>boolean</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#onLeftClickEntity(net.minecraft.item.ItemStack,%20net.minecraft.entity.player.EntityPlayer,%20net.minecraft.entity.Entity)">onLeftClickEntity</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack, - <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> player, - <a href="../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a> entity)</code> -<div class="block">Called when the player Left Clicks (attacks) an entity.</div> -</td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>void</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#onPlayerStoppedUsing(net.minecraft.item.ItemStack,%20net.minecraft.world.World,%20net.minecraft.entity.player.EntityPlayer,%20int)">onPlayerStoppedUsing</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_77615_1_, - <a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_77615_2_, - <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> p_77615_3_, - int p_77615_4_)</code> </td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>void</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#onUpdate(net.minecraft.item.ItemStack,%20net.minecraft.world.World,%20net.minecraft.entity.Entity,%20int,%20boolean)">onUpdate</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_77663_1_, - <a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_77663_2_, - <a href="../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a> p_77663_3_, - int p_77663_4_, - boolean p_77663_5_)</code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>void</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#onUsingTick(net.minecraft.item.ItemStack,%20net.minecraft.entity.player.EntityPlayer,%20int)">onUsingTick</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack, - <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> player, - int count)</code> -<div class="block">Called each tick while using an item.</div> -</td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>void</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#registerIcons(net.minecraft.client.renderer.texture.IIconRegister)">registerIcons</a></strong>(<a href="../../../net/minecraft/client/renderer/texture/IIconRegister.html" title="interface in net.minecraft.client.renderer.texture">IIconRegister</a> p_94581_1_)</code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>static void</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#registerItems()">registerItems</a></strong>()</code> </td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>void</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#renderHelmetOverlay(net.minecraft.item.ItemStack,%20net.minecraft.entity.player.EntityPlayer,%20net.minecraft.client.gui.ScaledResolution,%20float,%20boolean,%20int,%20int)">renderHelmetOverlay</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack, - <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> player, - <a href="../../../net/minecraft/client/gui/ScaledResolution.html" title="class in net.minecraft.client.gui">ScaledResolution</a> resolution, - float partialTicks, - boolean hasScreen, - int mouseX, - int mouseY)</code> -<div class="block">Called when the client starts rendering the HUD, for whatever item the player currently has as a helmet.</div> -</td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>boolean</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#requiresMultipleRenderPasses()">requiresMultipleRenderPasses</a></strong>()</code> </td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code><a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a></code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#setContainerItem(net.minecraft.item.Item)">setContainerItem</a></strong>(<a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a> p_77642_1_)</code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code><a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a></code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#setCreativeTab(net.minecraft.creativetab.CreativeTabs)">setCreativeTab</a></strong>(<a href="../../../net/minecraft/creativetab/CreativeTabs.html" title="class in net.minecraft.creativetab">CreativeTabs</a> p_77637_1_)</code> </td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>void</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#setDamage(net.minecraft.item.ItemStack,%20int)">setDamage</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack, - int damage)</code> -<div class="block">Set the damage for this itemstack.</div> -</td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code><a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a></code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#setFull3D()">setFull3D</a></strong>()</code> </td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>void</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#setHarvestLevel(java.lang.String,%20int)">setHarvestLevel</a></strong>(java.lang.String toolClass, - int level)</code> -<div class="block">Sets or removes the harvest level for the specified tool class.</div> -</td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code><a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a></code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#setHasSubtypes(boolean)">setHasSubtypes</a></strong>(boolean p_77627_1_)</code> </td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code><a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a></code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#setMaxDamage(int)">setMaxDamage</a></strong>(int p_77656_1_)</code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code><a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a></code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#setMaxStackSize(int)">setMaxStackSize</a></strong>(int p_77625_1_)</code> </td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code><a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a></code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#setNoRepair()">setNoRepair</a></strong>()</code> -<div class="block">Call to disable repair recipes.</div> -</td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code><a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a></code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#setPotionEffect(java.lang.String)">setPotionEffect</a></strong>(java.lang.String p_77631_1_)</code> </td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code><a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a></code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#setTextureName(java.lang.String)">setTextureName</a></strong>(java.lang.String p_111206_1_)</code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code><a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a></code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#setUnlocalizedName(java.lang.String)">setUnlocalizedName</a></strong>(java.lang.String p_77655_1_)</code> </td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>boolean</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#shouldRotateAroundWhenRendering()">shouldRotateAroundWhenRendering</a></strong>()</code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>boolean</code></td> -<td class="colLast"><code><strong><a href="../../../net/minecraft/item/Item.html#showDurabilityBar(net.minecraft.item.ItemStack)">showDurabilityBar</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack)</code> -<div class="block">Determines if the durability bar should be rendered for this item.</div> -</td> -</tr> -</table> -<ul class="blockList"> -<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> -<!-- --> -</a> -<h3>Methods inherited from class java.lang.Object</h3> -<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> -</ul> -</li> -</ul> -</li> -</ul> -</div> -<div class="details"> -<ul class="blockList"> -<li class="blockList"> -<!-- ============ FIELD DETAIL =========== --> -<ul class="blockList"> -<li class="blockList"><a name="field_detail"> -<!-- --> -</a> -<h3>Field Detail</h3> -<a name="itemRegistry"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>itemRegistry</h4> -<pre>public static final <a href="../../../net/minecraft/util/RegistryNamespaced.html" title="class in net.minecraft.util">RegistryNamespaced</a> itemRegistry</pre> -</li> -</ul> -<a name="field_111210_e"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>field_111210_e</h4> -<pre>protected static final java.util.UUID field_111210_e</pre> -</li> -</ul> -<a name="itemRand"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>itemRand</h4> -<pre>protected static java.util.Random itemRand</pre> -</li> -</ul> -<a name="maxStackSize"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>maxStackSize</h4> -<pre>protected int maxStackSize</pre> -</li> -</ul> -<a name="bFull3D"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>bFull3D</h4> -<pre>protected boolean bFull3D</pre> -</li> -</ul> -<a name="hasSubtypes"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>hasSubtypes</h4> -<pre>protected boolean hasSubtypes</pre> -</li> -</ul> -<a name="itemIcon"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>itemIcon</h4> -<pre>protected <a href="../../../net/minecraft/util/IIcon.html" title="interface in net.minecraft.util">IIcon</a> itemIcon</pre> -</li> -</ul> -<a name="iconString"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>iconString</h4> -<pre>protected java.lang.String iconString</pre> -</li> -</ul> -<a name="delegate"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>delegate</h4> -<pre>public final <a href="../../../cpw/mods/fml/common/registry/RegistryDelegate.html" title="interface in cpw.mods.fml.common.registry">RegistryDelegate</a><<a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a>> delegate</pre> -</li> -</ul> -<a name="canRepair"> -<!-- --> -</a> -<ul class="blockListLast"> -<li class="blockList"> -<h4>canRepair</h4> -<pre>protected boolean canRepair</pre> -</li> -</ul> -</li> -</ul> -<!-- ========= CONSTRUCTOR DETAIL ======== --> -<ul class="blockList"> -<li class="blockList"><a name="constructor_detail"> -<!-- --> -</a> -<h3>Constructor Detail</h3> -<a name="Item()"> -<!-- --> -</a> -<ul class="blockListLast"> -<li class="blockList"> -<h4>Item</h4> -<pre>public Item()</pre> -</li> -</ul> -</li> -</ul> -<!-- ============ METHOD DETAIL ========== --> -<ul class="blockList"> -<li class="blockList"><a name="method_detail"> -<!-- --> -</a> -<h3>Method Detail</h3> -<a name="getIdFromItem(net.minecraft.item.Item)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getIdFromItem</h4> -<pre>public static int getIdFromItem(<a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a> p_150891_0_)</pre> -</li> -</ul> -<a name="getItemById(int)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getItemById</h4> -<pre>public static <a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a> getItemById(int p_150899_0_)</pre> -</li> -</ul> -<a name="getItemFromBlock(net.minecraft.block.Block)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getItemFromBlock</h4> -<pre>public static <a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a> getItemFromBlock(<a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> p_150898_0_)</pre> -</li> -</ul> -<a name="registerItems()"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>registerItems</h4> -<pre>public static void registerItems()</pre> -</li> -</ul> -<a name="setMaxStackSize(int)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>setMaxStackSize</h4> -<pre>public <a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a> setMaxStackSize(int p_77625_1_)</pre> -</li> -</ul> -<a name="getSpriteNumber()"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getSpriteNumber</h4> -<pre>public int getSpriteNumber()</pre> -</li> -</ul> -<a name="getIconFromDamage(int)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getIconFromDamage</h4> -<pre>public <a href="../../../net/minecraft/util/IIcon.html" title="interface in net.minecraft.util">IIcon</a> getIconFromDamage(int p_77617_1_)</pre> -</li> -</ul> -<a name="getIconIndex(net.minecraft.item.ItemStack)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getIconIndex</h4> -<pre>public <a href="../../../net/minecraft/util/IIcon.html" title="interface in net.minecraft.util">IIcon</a> getIconIndex(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_77650_1_)</pre> -</li> -</ul> -<a name="onItemUse(net.minecraft.item.ItemStack, net.minecraft.entity.player.EntityPlayer, net.minecraft.world.World, int, int, int, int, float, float, float)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>onItemUse</h4> -<pre>public boolean onItemUse(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_77648_1_, - <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> p_77648_2_, - <a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_77648_3_, - int p_77648_4_, - int p_77648_5_, - int p_77648_6_, - int p_77648_7_, - float p_77648_8_, - float p_77648_9_, - float p_77648_10_)</pre> -</li> -</ul> -<a name="func_150893_a(net.minecraft.item.ItemStack, net.minecraft.block.Block)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>func_150893_a</h4> -<pre>public float func_150893_a(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_150893_1_, - <a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> p_150893_2_)</pre> -</li> -</ul> -<a name="onItemRightClick(net.minecraft.item.ItemStack, net.minecraft.world.World, net.minecraft.entity.player.EntityPlayer)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>onItemRightClick</h4> -<pre>public <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> onItemRightClick(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_77659_1_, - <a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_77659_2_, - <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> p_77659_3_)</pre> -</li> -</ul> -<a name="onEaten(net.minecraft.item.ItemStack, net.minecraft.world.World, net.minecraft.entity.player.EntityPlayer)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>onEaten</h4> -<pre>public <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> onEaten(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_77654_1_, - <a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_77654_2_, - <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> p_77654_3_)</pre> -</li> -</ul> -<a name="getItemStackLimit()"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getItemStackLimit</h4> -<pre>@Deprecated -public int getItemStackLimit()</pre> -<div class="block"><span class="strong">Deprecated.</span> </div> -</li> -</ul> -<a name="getMetadata(int)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getMetadata</h4> -<pre>public int getMetadata(int p_77647_1_)</pre> -</li> -</ul> -<a name="getHasSubtypes()"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getHasSubtypes</h4> -<pre>public boolean getHasSubtypes()</pre> -</li> -</ul> -<a name="setHasSubtypes(boolean)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>setHasSubtypes</h4> -<pre>public <a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a> setHasSubtypes(boolean p_77627_1_)</pre> -</li> -</ul> -<a name="getMaxDamage()"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getMaxDamage</h4> -<pre>public int getMaxDamage()</pre> -</li> -</ul> -<a name="setMaxDamage(int)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>setMaxDamage</h4> -<pre>public <a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a> setMaxDamage(int p_77656_1_)</pre> -</li> -</ul> -<a name="isDamageable()"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>isDamageable</h4> -<pre>public boolean isDamageable()</pre> -</li> -</ul> -<a name="hitEntity(net.minecraft.item.ItemStack, net.minecraft.entity.EntityLivingBase, net.minecraft.entity.EntityLivingBase)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>hitEntity</h4> -<pre>public boolean hitEntity(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_77644_1_, - <a href="../../../net/minecraft/entity/EntityLivingBase.html" title="class in net.minecraft.entity">EntityLivingBase</a> p_77644_2_, - <a href="../../../net/minecraft/entity/EntityLivingBase.html" title="class in net.minecraft.entity">EntityLivingBase</a> p_77644_3_)</pre> -</li> -</ul> -<a name="onBlockDestroyed(net.minecraft.item.ItemStack, net.minecraft.world.World, net.minecraft.block.Block, int, int, int, net.minecraft.entity.EntityLivingBase)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>onBlockDestroyed</h4> -<pre>public boolean onBlockDestroyed(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_150894_1_, - <a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_150894_2_, - <a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> p_150894_3_, - int p_150894_4_, - int p_150894_5_, - int p_150894_6_, - <a href="../../../net/minecraft/entity/EntityLivingBase.html" title="class in net.minecraft.entity">EntityLivingBase</a> p_150894_7_)</pre> -</li> -</ul> -<a name="func_150897_b(net.minecraft.block.Block)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>func_150897_b</h4> -<pre>public boolean func_150897_b(<a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> p_150897_1_)</pre> -</li> -</ul> -<a name="itemInteractionForEntity(net.minecraft.item.ItemStack, net.minecraft.entity.player.EntityPlayer, net.minecraft.entity.EntityLivingBase)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>itemInteractionForEntity</h4> -<pre>public boolean itemInteractionForEntity(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_111207_1_, - <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> p_111207_2_, - <a href="../../../net/minecraft/entity/EntityLivingBase.html" title="class in net.minecraft.entity">EntityLivingBase</a> p_111207_3_)</pre> -</li> -</ul> -<a name="setFull3D()"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>setFull3D</h4> -<pre>public <a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a> setFull3D()</pre> -</li> -</ul> -<a name="isFull3D()"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>isFull3D</h4> -<pre>public boolean isFull3D()</pre> -</li> -</ul> -<a name="shouldRotateAroundWhenRendering()"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>shouldRotateAroundWhenRendering</h4> -<pre>public boolean shouldRotateAroundWhenRendering()</pre> -</li> -</ul> -<a name="setUnlocalizedName(java.lang.String)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>setUnlocalizedName</h4> -<pre>public <a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a> setUnlocalizedName(java.lang.String p_77655_1_)</pre> -</li> -</ul> -<a name="getUnlocalizedNameInefficiently(net.minecraft.item.ItemStack)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getUnlocalizedNameInefficiently</h4> -<pre>public java.lang.String getUnlocalizedNameInefficiently(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_77657_1_)</pre> -</li> -</ul> -<a name="getUnlocalizedName()"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getUnlocalizedName</h4> -<pre>public java.lang.String getUnlocalizedName()</pre> -</li> -</ul> -<a name="getUnlocalizedName(net.minecraft.item.ItemStack)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getUnlocalizedName</h4> -<pre>public java.lang.String getUnlocalizedName(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_77667_1_)</pre> -</li> -</ul> -<a name="setContainerItem(net.minecraft.item.Item)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>setContainerItem</h4> -<pre>public <a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a> setContainerItem(<a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a> p_77642_1_)</pre> -</li> -</ul> -<a name="doesContainerItemLeaveCraftingGrid(net.minecraft.item.ItemStack)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>doesContainerItemLeaveCraftingGrid</h4> -<pre>public boolean doesContainerItemLeaveCraftingGrid(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_77630_1_)</pre> -</li> -</ul> -<a name="getShareTag()"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getShareTag</h4> -<pre>public boolean getShareTag()</pre> -</li> -</ul> -<a name="getContainerItem()"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getContainerItem</h4> -<pre>public <a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a> getContainerItem()</pre> -</li> -</ul> -<a name="hasContainerItem()"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>hasContainerItem</h4> -<pre>@Deprecated -public boolean hasContainerItem()</pre> -<div class="block"><span class="strong">Deprecated.</span> </div> -</li> -</ul> -<a name="getColorFromItemStack(net.minecraft.item.ItemStack, int)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getColorFromItemStack</h4> -<pre>public int getColorFromItemStack(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_82790_1_, - int p_82790_2_)</pre> -</li> -</ul> -<a name="onUpdate(net.minecraft.item.ItemStack, net.minecraft.world.World, net.minecraft.entity.Entity, int, boolean)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>onUpdate</h4> -<pre>public void onUpdate(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_77663_1_, - <a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_77663_2_, - <a href="../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a> p_77663_3_, - int p_77663_4_, - boolean p_77663_5_)</pre> -</li> -</ul> -<a name="onCreated(net.minecraft.item.ItemStack, net.minecraft.world.World, net.minecraft.entity.player.EntityPlayer)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>onCreated</h4> -<pre>public void onCreated(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_77622_1_, - <a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_77622_2_, - <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> p_77622_3_)</pre> -</li> -</ul> -<a name="isMap()"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>isMap</h4> -<pre>public boolean isMap()</pre> -</li> -</ul> -<a name="getItemUseAction(net.minecraft.item.ItemStack)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getItemUseAction</h4> -<pre>public <a href="../../../net/minecraft/item/EnumAction.html" title="enum in net.minecraft.item">EnumAction</a> getItemUseAction(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_77661_1_)</pre> -</li> -</ul> -<a name="getMaxItemUseDuration(net.minecraft.item.ItemStack)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getMaxItemUseDuration</h4> -<pre>public int getMaxItemUseDuration(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_77626_1_)</pre> -</li> -</ul> -<a name="onPlayerStoppedUsing(net.minecraft.item.ItemStack, net.minecraft.world.World, net.minecraft.entity.player.EntityPlayer, int)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>onPlayerStoppedUsing</h4> -<pre>public void onPlayerStoppedUsing(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_77615_1_, - <a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_77615_2_, - <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> p_77615_3_, - int p_77615_4_)</pre> -</li> -</ul> -<a name="setPotionEffect(java.lang.String)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>setPotionEffect</h4> -<pre>public <a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a> setPotionEffect(java.lang.String p_77631_1_)</pre> -</li> -</ul> -<a name="getPotionEffect(net.minecraft.item.ItemStack)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getPotionEffect</h4> -<pre>public java.lang.String getPotionEffect(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_150896_1_)</pre> -</li> -</ul> -<a name="isPotionIngredient(net.minecraft.item.ItemStack)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>isPotionIngredient</h4> -<pre>public boolean isPotionIngredient(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_150892_1_)</pre> -</li> -</ul> -<a name="addInformation(net.minecraft.item.ItemStack, net.minecraft.entity.player.EntityPlayer, java.util.List, boolean)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>addInformation</h4> -<pre>public void addInformation(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_77624_1_, - <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> p_77624_2_, - java.util.List p_77624_3_, - boolean p_77624_4_)</pre> -</li> -</ul> -<a name="getItemStackDisplayName(net.minecraft.item.ItemStack)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getItemStackDisplayName</h4> -<pre>public java.lang.String getItemStackDisplayName(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_77653_1_)</pre> -</li> -</ul> -<a name="hasEffect(net.minecraft.item.ItemStack)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>hasEffect</h4> -<pre>@Deprecated -public boolean hasEffect(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_77636_1_)</pre> -<div class="block"><span class="strong">Deprecated.</span> </div> -</li> -</ul> -<a name="getRarity(net.minecraft.item.ItemStack)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getRarity</h4> -<pre>public <a href="../../../net/minecraft/item/EnumRarity.html" title="enum in net.minecraft.item">EnumRarity</a> getRarity(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_77613_1_)</pre> -</li> -</ul> -<a name="isItemTool(net.minecraft.item.ItemStack)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>isItemTool</h4> -<pre>public boolean isItemTool(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_77616_1_)</pre> -</li> -</ul> -<a name="getMovingObjectPositionFromPlayer(net.minecraft.world.World, net.minecraft.entity.player.EntityPlayer, boolean)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getMovingObjectPositionFromPlayer</h4> -<pre>protected <a href="../../../net/minecraft/util/MovingObjectPosition.html" title="class in net.minecraft.util">MovingObjectPosition</a> getMovingObjectPositionFromPlayer(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> p_77621_1_, - <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> p_77621_2_, - boolean p_77621_3_)</pre> -</li> -</ul> -<a name="getItemEnchantability()"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getItemEnchantability</h4> -<pre>public int getItemEnchantability()</pre> -</li> -</ul> -<a name="requiresMultipleRenderPasses()"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>requiresMultipleRenderPasses</h4> -<pre>public boolean requiresMultipleRenderPasses()</pre> -</li> -</ul> -<a name="getIconFromDamageForRenderPass(int, int)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getIconFromDamageForRenderPass</h4> -<pre>public <a href="../../../net/minecraft/util/IIcon.html" title="interface in net.minecraft.util">IIcon</a> getIconFromDamageForRenderPass(int p_77618_1_, - int p_77618_2_)</pre> -</li> -</ul> -<a name="getSubItems(net.minecraft.item.Item, net.minecraft.creativetab.CreativeTabs, java.util.List)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getSubItems</h4> -<pre>public void getSubItems(<a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a> p_150895_1_, - <a href="../../../net/minecraft/creativetab/CreativeTabs.html" title="class in net.minecraft.creativetab">CreativeTabs</a> p_150895_2_, - java.util.List p_150895_3_)</pre> -</li> -</ul> -<a name="setCreativeTab(net.minecraft.creativetab.CreativeTabs)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>setCreativeTab</h4> -<pre>public <a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a> setCreativeTab(<a href="../../../net/minecraft/creativetab/CreativeTabs.html" title="class in net.minecraft.creativetab">CreativeTabs</a> p_77637_1_)</pre> -</li> -</ul> -<a name="getCreativeTab()"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getCreativeTab</h4> -<pre>public <a href="../../../net/minecraft/creativetab/CreativeTabs.html" title="class in net.minecraft.creativetab">CreativeTabs</a> getCreativeTab()</pre> -</li> -</ul> -<a name="canItemEditBlocks()"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>canItemEditBlocks</h4> -<pre>public boolean canItemEditBlocks()</pre> -</li> -</ul> -<a name="getIsRepairable(net.minecraft.item.ItemStack, net.minecraft.item.ItemStack)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getIsRepairable</h4> -<pre>public boolean getIsRepairable(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_82789_1_, - <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_82789_2_)</pre> -</li> -</ul> -<a name="registerIcons(net.minecraft.client.renderer.texture.IIconRegister)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>registerIcons</h4> -<pre>public void registerIcons(<a href="../../../net/minecraft/client/renderer/texture/IIconRegister.html" title="interface in net.minecraft.client.renderer.texture">IIconRegister</a> p_94581_1_)</pre> -</li> -</ul> -<a name="getItemAttributeModifiers()"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getItemAttributeModifiers</h4> -<pre>@Deprecated -public com.google.common.collect.Multimap getItemAttributeModifiers()</pre> -<div class="block"><span class="strong">Deprecated.</span> </div> -</li> -</ul> -<a name="setTextureName(java.lang.String)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>setTextureName</h4> -<pre>public <a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a> setTextureName(java.lang.String p_111206_1_)</pre> -</li> -</ul> -<a name="getIconString()"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getIconString</h4> -<pre>protected java.lang.String getIconString()</pre> -</li> -</ul> -<a name="getAttributeModifiers(net.minecraft.item.ItemStack)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getAttributeModifiers</h4> -<pre>public com.google.common.collect.Multimap getAttributeModifiers(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack)</pre> -<div class="block">ItemStack sensitive version of getItemAttributeModifiers</div> -</li> -</ul> -<a name="onDroppedByPlayer(net.minecraft.item.ItemStack, net.minecraft.entity.player.EntityPlayer)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>onDroppedByPlayer</h4> -<pre>public boolean onDroppedByPlayer(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> item, - <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> player)</pre> -<div class="block">Called when a player drops the item into the world, - returning false from this will prevent the item from - being removed from the players inventory and spawning - in the world</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>player</code> - The player that dropped the item</dd><dd><code>item</code> - The item stack, before the item is removed.</dd></dl> -</li> -</ul> -<a name="onItemUseFirst(net.minecraft.item.ItemStack, net.minecraft.entity.player.EntityPlayer, net.minecraft.world.World, int, int, int, int, float, float, float)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>onItemUseFirst</h4> -<pre>public boolean onItemUseFirst(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack, - <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> player, - <a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, - int x, - int y, - int z, - int side, - float hitX, - float hitY, - float hitZ)</pre> -<div class="block">This is called when the item is used, before the block is activated.</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>stack</code> - The Item Stack</dd><dd><code>player</code> - The Player that used the item</dd><dd><code>world</code> - The Current World</dd><dd><code>x</code> - Target X Position</dd><dd><code>y</code> - Target Y Position</dd><dd><code>z</code> - Target Z Position</dd><dd><code>side</code> - The side of the target hit</dd> -<dt><span class="strong">Returns:</span></dt><dd>Return true to prevent any further processing.</dd></dl> -</li> -</ul> -<a name="getDigSpeed(net.minecraft.item.ItemStack, net.minecraft.block.Block, int)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getDigSpeed</h4> -<pre>public float getDigSpeed(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> itemstack, - <a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> block, - int metadata)</pre> -<div class="block">Metadata-sensitive version of getStrVsBlock</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>itemstack</code> - The Item Stack</dd><dd><code>block</code> - The block the item is trying to break</dd><dd><code>metadata</code> - The items current metadata</dd> -<dt><span class="strong">Returns:</span></dt><dd>The damage strength</dd></dl> -</li> -</ul> -<a name="isRepairable()"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>isRepairable</h4> -<pre>public boolean isRepairable()</pre> -<div class="block">Called by CraftingManager to determine if an item is reparable.</div> -<dl><dt><span class="strong">Returns:</span></dt><dd>True if reparable</dd></dl> -</li> -</ul> -<a name="setNoRepair()"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>setNoRepair</h4> -<pre>public <a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a> setNoRepair()</pre> -<div class="block">Call to disable repair recipes.</div> -<dl><dt><span class="strong">Returns:</span></dt><dd>The current Item instance</dd></dl> -</li> -</ul> -<a name="onBlockStartBreak(net.minecraft.item.ItemStack, int, int, int, net.minecraft.entity.player.EntityPlayer)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>onBlockStartBreak</h4> -<pre>public boolean onBlockStartBreak(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> itemstack, - int X, - int Y, - int Z, - <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> player)</pre> -<div class="block">Called before a block is broken. Return true to prevent default block harvesting. - - Note: In SMP, this is called on both client and server sides!</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>itemstack</code> - The current ItemStack</dd><dd><code>X</code> - The X Position</dd><dd><code>Y</code> - The X Position</dd><dd><code>Z</code> - The X Position</dd><dd><code>player</code> - The Player that is wielding the item</dd> -<dt><span class="strong">Returns:</span></dt><dd>True to prevent harvesting, false to continue as normal</dd></dl> -</li> -</ul> -<a name="onUsingTick(net.minecraft.item.ItemStack, net.minecraft.entity.player.EntityPlayer, int)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>onUsingTick</h4> -<pre>public void onUsingTick(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack, - <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> player, - int count)</pre> -<div class="block">Called each tick while using an item.</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>stack</code> - The Item being used</dd><dd><code>player</code> - The Player using the item</dd><dd><code>count</code> - The amount of time in tick the item has been used for continuously</dd></dl> -</li> -</ul> -<a name="onLeftClickEntity(net.minecraft.item.ItemStack, net.minecraft.entity.player.EntityPlayer, net.minecraft.entity.Entity)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>onLeftClickEntity</h4> -<pre>public boolean onLeftClickEntity(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack, - <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> player, - <a href="../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a> entity)</pre> -<div class="block">Called when the player Left Clicks (attacks) an entity. - Processed before damage is done, if return value is true further processing is canceled - and the entity is not attacked.</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>stack</code> - The Item being used</dd><dd><code>player</code> - The player that is attacking</dd><dd><code>entity</code> - The entity being attacked</dd> -<dt><span class="strong">Returns:</span></dt><dd>True to cancel the rest of the interaction.</dd></dl> -</li> -</ul> -<a name="getIcon(net.minecraft.item.ItemStack, int, net.minecraft.entity.player.EntityPlayer, net.minecraft.item.ItemStack, int)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getIcon</h4> -<pre>public <a href="../../../net/minecraft/util/IIcon.html" title="interface in net.minecraft.util">IIcon</a> getIcon(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack, - int renderPass, - <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> player, - <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> usingItem, - int useRemaining)</pre> -<div class="block">Player, Render pass, and item usage sensitive version of getIconIndex.</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>stack</code> - The item stack to get the icon for. (Usually this, and usingItem will be the same if usingItem is not null)</dd><dd><code>renderPass</code> - The pass to get the icon for, 0 is default.</dd><dd><code>player</code> - The player holding the item</dd><dd><code>usingItem</code> - The item the player is actively using. Can be null if not using anything.</dd><dd><code>useRemaining</code> - The ticks remaining for the active item.</dd> -<dt><span class="strong">Returns:</span></dt><dd>The icon index</dd></dl> -</li> -</ul> -<a name="getRenderPasses(int)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getRenderPasses</h4> -<pre>public int getRenderPasses(int metadata)</pre> -<div class="block">Returns the number of render passes/layers this item has. - Usually equates to ItemRenderer.renderItem being called for this many passes. - Does not get called unless requiresMultipleRenderPasses() is true;</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>metadata</code> - The item's metadata</dd> -<dt><span class="strong">Returns:</span></dt><dd>The number of passes to run.</dd></dl> -</li> -</ul> -<a name="getContainerItem(net.minecraft.item.ItemStack)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getContainerItem</h4> -<pre>public <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> getContainerItem(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> itemStack)</pre> -<div class="block">ItemStack sensitive version of getContainerItem. - Returns a full ItemStack instance of the result.</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>itemStack</code> - The current ItemStack</dd> -<dt><span class="strong">Returns:</span></dt><dd>The resulting ItemStack</dd></dl> -</li> -</ul> -<a name="hasContainerItem(net.minecraft.item.ItemStack)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>hasContainerItem</h4> -<pre>public boolean hasContainerItem(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack)</pre> -<div class="block">ItemStack sensitive version of hasContainerItem</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>stack</code> - The current item stack</dd> -<dt><span class="strong">Returns:</span></dt><dd>True if this item has a 'container'</dd></dl> -</li> -</ul> -<a name="getEntityLifespan(net.minecraft.item.ItemStack, net.minecraft.world.World)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getEntityLifespan</h4> -<pre>public int getEntityLifespan(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> itemStack, - <a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world)</pre> -<div class="block">Retrieves the normal 'lifespan' of this item when it is dropped on the ground as a EntityItem. - This is in ticks, standard result is 6000, or 5 mins.</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>itemStack</code> - The current ItemStack</dd><dd><code>world</code> - The world the entity is in</dd> -<dt><span class="strong">Returns:</span></dt><dd>The normal lifespan in ticks.</dd></dl> -</li> -</ul> -<a name="hasCustomEntity(net.minecraft.item.ItemStack)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>hasCustomEntity</h4> -<pre>public boolean hasCustomEntity(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack)</pre> -<div class="block">Determines if this Item has a special entity for when they are in the world. - Is called when a EntityItem is spawned in the world, if true and Item#createCustomEntity - returns non null, the EntityItem will be destroyed and the new Entity will be added to the world.</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>stack</code> - The current item stack</dd> -<dt><span class="strong">Returns:</span></dt><dd>True of the item has a custom entity, If true, Item#createCustomEntity will be called</dd></dl> -</li> -</ul> -<a name="createEntity(net.minecraft.world.World, net.minecraft.entity.Entity, net.minecraft.item.ItemStack)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>createEntity</h4> -<pre>public <a href="../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a> createEntity(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, - <a href="../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a> location, - <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> itemstack)</pre> -<div class="block">This function should return a new entity to replace the dropped item. - Returning null here will not kill the EntityItem and will leave it to function normally. - Called when the item it placed in a world.</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - The world object</dd><dd><code>location</code> - The EntityItem object, useful for getting the position of the entity</dd><dd><code>itemstack</code> - The current item stack</dd> -<dt><span class="strong">Returns:</span></dt><dd>A new Entity object to spawn or null</dd></dl> -</li> -</ul> -<a name="onEntityItemUpdate(net.minecraft.entity.item.EntityItem)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>onEntityItemUpdate</h4> -<pre>public boolean onEntityItemUpdate(<a href="../../../net/minecraft/entity/item/EntityItem.html" title="class in net.minecraft.entity.item">EntityItem</a> entityItem)</pre> -<div class="block">Called by the default implemetation of EntityItem's onUpdate method, allowing for cleaner - control over the update of the item without having to write a subclass.</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>entityItem</code> - The entity Item</dd> -<dt><span class="strong">Returns:</span></dt><dd>Return true to skip any further update code.</dd></dl> -</li> -</ul> -<a name="getCreativeTabs()"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getCreativeTabs</h4> -<pre>public <a href="../../../net/minecraft/creativetab/CreativeTabs.html" title="class in net.minecraft.creativetab">CreativeTabs</a>[] getCreativeTabs()</pre> -<div class="block">Gets a list of tabs that items belonging to this class can display on, - combined properly with getSubItems allows for a single item to span - many sub-items across many tabs.</div> -<dl><dt><span class="strong">Returns:</span></dt><dd>A list of all tabs that this item could possibly be one.</dd></dl> -</li> -</ul> -<a name="getSmeltingExperience(net.minecraft.item.ItemStack)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getSmeltingExperience</h4> -<pre>public float getSmeltingExperience(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> item)</pre> -<div class="block">Determines the base experience for a player when they remove this item from a furnace slot. - This number must be between 0 and 1 for it to be valid. - This number will be multiplied by the stack size to get the total experience.</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>item</code> - The item stack the player is picking up.</dd> -<dt><span class="strong">Returns:</span></dt><dd>The amount to award for each item.</dd></dl> -</li> -</ul> -<a name="getIcon(net.minecraft.item.ItemStack, int)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getIcon</h4> -<pre>public <a href="../../../net/minecraft/util/IIcon.html" title="interface in net.minecraft.util">IIcon</a> getIcon(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack, - int pass)</pre> -<div class="block">Return the correct icon for rendering based on the supplied ItemStack and render pass. - - Defers to <a href="../../../net/minecraft/item/Item.html#getIconFromDamageForRenderPass(int,%20int)"><code>getIconFromDamageForRenderPass(int, int)</code></a></div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>stack</code> - to render for</dd><dd><code>pass</code> - the multi-render pass</dd> -<dt><span class="strong">Returns:</span></dt><dd>the icon</dd></dl> -</li> -</ul> -<a name="getChestGenBase(net.minecraftforge.common.ChestGenHooks, java.util.Random, net.minecraft.util.WeightedRandomChestContent)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getChestGenBase</h4> -<pre>public <a href="../../../net/minecraft/util/WeightedRandomChestContent.html" title="class in net.minecraft.util">WeightedRandomChestContent</a> getChestGenBase(<a href="../../../net/minecraftforge/common/ChestGenHooks.html" title="class in net.minecraftforge.common">ChestGenHooks</a> chest, - java.util.Random rnd, - <a href="../../../net/minecraft/util/WeightedRandomChestContent.html" title="class in net.minecraft.util">WeightedRandomChestContent</a> original)</pre> -<div class="block">Generates the base Random item for a specific instance of the chest gen, - Enchanted books use this to pick a random enchantment.</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>chest</code> - The chest category to generate for</dd><dd><code>rnd</code> - World RNG</dd><dd><code>original</code> - Original result registered with the chest gen hooks.</dd> -<dt><span class="strong">Returns:</span></dt><dd>New values to use as the random item, typically this will be original</dd></dl> -</li> -</ul> -<a name="doesSneakBypassUse(net.minecraft.world.World, int, int, int, net.minecraft.entity.player.EntityPlayer)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>doesSneakBypassUse</h4> -<pre>public boolean doesSneakBypassUse(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, - int x, - int y, - int z, - <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> player)</pre> -<div class="block">Should this item, when held, allow sneak-clicks to pass through to the underlying block?</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - The world</dd><dd><code>x</code> - The X Position</dd><dd><code>y</code> - The X Position</dd><dd><code>z</code> - The X Position</dd><dd><code>player</code> - The Player that is wielding the item</dd> -<dt><span class="strong">Returns:</span></dt><dd></dd></dl> -</li> -</ul> -<a name="onArmorTick(net.minecraft.world.World, net.minecraft.entity.player.EntityPlayer, net.minecraft.item.ItemStack)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>onArmorTick</h4> -<pre>public void onArmorTick(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, - <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> player, - <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> itemStack)</pre> -<div class="block">Called to tick armor in the armor slot. Override to do something</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - </dd><dd><code>player</code> - </dd><dd><code>itemStack</code> - </dd></dl> -</li> -</ul> -<a name="isValidArmor(net.minecraft.item.ItemStack, int, net.minecraft.entity.Entity)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>isValidArmor</h4> -<pre>public boolean isValidArmor(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack, - int armorType, - <a href="../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a> entity)</pre> -<div class="block">Determines if the specific ItemStack can be placed in the specified armor slot.</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>stack</code> - The ItemStack</dd><dd><code>armorType</code> - Armor slot ID: 0: Helmet, 1: Chest, 2: Legs, 3: Boots</dd><dd><code>entity</code> - The entity trying to equip the armor</dd> -<dt><span class="strong">Returns:</span></dt><dd>True if the given ItemStack can be inserted in the slot</dd></dl> -</li> -</ul> -<a name="isBookEnchantable(net.minecraft.item.ItemStack, net.minecraft.item.ItemStack)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>isBookEnchantable</h4> -<pre>public boolean isBookEnchantable(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack, - <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> book)</pre> -<div class="block">Allow or forbid the specific book/item combination as an anvil enchant</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>stack</code> - The item</dd><dd><code>book</code> - The book</dd> -<dt><span class="strong">Returns:</span></dt><dd>if the enchantment is allowed</dd></dl> -</li> -</ul> -<a name="getArmorTexture(net.minecraft.item.ItemStack, net.minecraft.entity.Entity, int, java.lang.String)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getArmorTexture</h4> -<pre>public java.lang.String getArmorTexture(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack, - <a href="../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a> entity, - int slot, - java.lang.String type)</pre> -<div class="block">Called by RenderBiped and RenderPlayer to determine the armor texture that - should be use for the currently equiped item. - This will only be called on instances of ItemArmor. - - Returning null from this function will use the default value.</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>stack</code> - ItemStack for the equpt armor</dd><dd><code>entity</code> - The entity wearing the armor</dd><dd><code>slot</code> - The slot the armor is in</dd><dd><code>type</code> - The subtype, can be null or "overlay"</dd> -<dt><span class="strong">Returns:</span></dt><dd>Path of texture to bind, or null to use default</dd></dl> -</li> -</ul> -<a name="getFontRenderer(net.minecraft.item.ItemStack)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getFontRenderer</h4> -<pre>public <a href="../../../net/minecraft/client/gui/FontRenderer.html" title="class in net.minecraft.client.gui">FontRenderer</a> getFontRenderer(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack)</pre> -<div class="block">Returns the font renderer used to render tooltips and overlays for this item. - Returning null will use the standard font renderer.</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>stack</code> - The current item stack</dd> -<dt><span class="strong">Returns:</span></dt><dd>A instance of FontRenderer or null to use default</dd></dl> -</li> -</ul> -<a name="getArmorModel(net.minecraft.entity.EntityLivingBase, net.minecraft.item.ItemStack, int)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getArmorModel</h4> -<pre>public <a href="../../../net/minecraft/client/model/ModelBiped.html" title="class in net.minecraft.client.model">ModelBiped</a> getArmorModel(<a href="../../../net/minecraft/entity/EntityLivingBase.html" title="class in net.minecraft.entity">EntityLivingBase</a> entityLiving, - <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> itemStack, - int armorSlot)</pre> -<div class="block">Override this method to have an item handle its own armor rendering.</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>entityLiving</code> - The entity wearing the armor</dd><dd><code>itemStack</code> - The itemStack to render the model of</dd><dd><code>armorSlot</code> - 0=head, 1=torso, 2=legs, 3=feet</dd> -<dt><span class="strong">Returns:</span></dt><dd>A ModelBiped to render instead of the default</dd></dl> -</li> -</ul> -<a name="onEntitySwing(net.minecraft.entity.EntityLivingBase, net.minecraft.item.ItemStack)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>onEntitySwing</h4> -<pre>public boolean onEntitySwing(<a href="../../../net/minecraft/entity/EntityLivingBase.html" title="class in net.minecraft.entity">EntityLivingBase</a> entityLiving, - <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack)</pre> -<div class="block">Called when a entity tries to play the 'swing' animation.</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>entityLiving</code> - The entity swinging the item.</dd><dd><code>stack</code> - The Item stack</dd> -<dt><span class="strong">Returns:</span></dt><dd>True to cancel any further processing by EntityLiving</dd></dl> -</li> -</ul> -<a name="renderHelmetOverlay(net.minecraft.item.ItemStack, net.minecraft.entity.player.EntityPlayer, net.minecraft.client.gui.ScaledResolution, float, boolean, int, int)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>renderHelmetOverlay</h4> -<pre>public void renderHelmetOverlay(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack, - <a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> player, - <a href="../../../net/minecraft/client/gui/ScaledResolution.html" title="class in net.minecraft.client.gui">ScaledResolution</a> resolution, - float partialTicks, - boolean hasScreen, - int mouseX, - int mouseY)</pre> -<div class="block">Called when the client starts rendering the HUD, for whatever item the player currently has as a helmet. - This is where pumpkins would render there overlay.</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>stack</code> - The ItemStack that is equipped</dd><dd><code>player</code> - Reference to the current client entity</dd><dd><code>resolution</code> - Resolution information about the current viewport and configured GUI Scale</dd><dd><code>partialTicks</code> - Partial ticks for the renderer, useful for interpolation</dd><dd><code>hasScreen</code> - If the player has a screen up, which will be rendered after this.</dd><dd><code>mouseX</code> - Mouse's X position on screen</dd><dd><code>mouseY</code> - Mouse's Y position on screen</dd></dl> -</li> -</ul> -<a name="getDamage(net.minecraft.item.ItemStack)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getDamage</h4> -<pre>public int getDamage(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack)</pre> -<div class="block">Return the itemDamage represented by this ItemStack. Defaults to the itemDamage field on ItemStack, but can be overridden here for other sources such as NBT.</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>stack</code> - The itemstack that is damaged</dd> -<dt><span class="strong">Returns:</span></dt><dd>the damage value</dd></dl> -</li> -</ul> -<a name="getDisplayDamage(net.minecraft.item.ItemStack)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getDisplayDamage</h4> -<pre>@Deprecated -public int getDisplayDamage(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack)</pre> -<div class="block"><span class="strong">Deprecated.</span> </div> -</li> -</ul> -<a name="showDurabilityBar(net.minecraft.item.ItemStack)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>showDurabilityBar</h4> -<pre>public boolean showDurabilityBar(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack)</pre> -<div class="block">Determines if the durability bar should be rendered for this item. - Defaults to vanilla stack.isDamaged behavior. - But modders can use this for any data they wish.</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>stack</code> - The current Item Stack</dd> -<dt><span class="strong">Returns:</span></dt><dd>True if it should render the 'durability' bar.</dd></dl> -</li> -</ul> -<a name="getDurabilityForDisplay(net.minecraft.item.ItemStack)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getDurabilityForDisplay</h4> -<pre>public double getDurabilityForDisplay(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack)</pre> -<div class="block">Queries the percentage of the 'Durability' bar that should be drawn.</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>stack</code> - The current ItemStack</dd> -<dt><span class="strong">Returns:</span></dt><dd>1.0 for 100% 0 for 0%</dd></dl> -</li> -</ul> -<a name="getMaxDamage(net.minecraft.item.ItemStack)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getMaxDamage</h4> -<pre>public int getMaxDamage(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack)</pre> -<div class="block">Return the maxDamage for this ItemStack. Defaults to the maxDamage field in this item, - but can be overridden here for other sources such as NBT.</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>stack</code> - The itemstack that is damaged</dd> -<dt><span class="strong">Returns:</span></dt><dd>the damage value</dd></dl> -</li> -</ul> -<a name="isDamaged(net.minecraft.item.ItemStack)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>isDamaged</h4> -<pre>public boolean isDamaged(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack)</pre> -<div class="block">Return if this itemstack is damaged. Note only called if <a href="../../../net/minecraft/item/Item.html#isDamageable()"><code>isDamageable()</code></a> is true.</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>stack</code> - the stack</dd> -<dt><span class="strong">Returns:</span></dt><dd>if the stack is damaged</dd></dl> -</li> -</ul> -<a name="setDamage(net.minecraft.item.ItemStack, int)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>setDamage</h4> -<pre>public void setDamage(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack, - int damage)</pre> -<div class="block">Set the damage for this itemstack. Note, this method is responsible for zero checking.</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>stack</code> - the stack</dd><dd><code>damage</code> - the new damage value</dd></dl> -</li> -</ul> -<a name="canHarvestBlock(net.minecraft.block.Block, net.minecraft.item.ItemStack)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>canHarvestBlock</h4> -<pre>public boolean canHarvestBlock(<a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> par1Block, - <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> itemStack)</pre> -<div class="block">ItemStack sensitive version of <code>#canHarvestBlock(Block)</code></div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>par1Block</code> - The block trying to harvest</dd><dd><code>itemStack</code> - The itemstack used to harvest the block</dd> -<dt><span class="strong">Returns:</span></dt><dd>true if can harvest the block</dd></dl> -</li> -</ul> -<a name="hasEffect(net.minecraft.item.ItemStack, int)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>hasEffect</h4> -<pre>public boolean hasEffect(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> par1ItemStack, - int pass)</pre> -<div class="block">Render Pass sensitive version of hasEffect()</div> -</li> -</ul> -<a name="getItemStackLimit(net.minecraft.item.ItemStack)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getItemStackLimit</h4> -<pre>public int getItemStackLimit(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack)</pre> -<div class="block">Gets the maximum number of items that this stack should be able to hold. - This is a ItemStack (and thus NBT) sensitive version of Item.getItemStackLimit()</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>stack</code> - The ItemStack</dd> -<dt><span class="strong">Returns:</span></dt><dd>THe maximum number this item can be stacked to</dd></dl> -</li> -</ul> -<a name="setHarvestLevel(java.lang.String, int)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>setHarvestLevel</h4> -<pre>public void setHarvestLevel(java.lang.String toolClass, - int level)</pre> -<div class="block">Sets or removes the harvest level for the specified tool class.</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>toolClass</code> - Class</dd><dd><code>level</code> - Harvest level: - Wood: 0 - Stone: 1 - Iron: 2 - Diamond: 3 - Gold: 0</dd></dl> -</li> -</ul> -<a name="getToolClasses(net.minecraft.item.ItemStack)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getToolClasses</h4> -<pre>public java.util.Set<java.lang.String> getToolClasses(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack)</pre> -</li> -</ul> -<a name="getHarvestLevel(net.minecraft.item.ItemStack, java.lang.String)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getHarvestLevel</h4> -<pre>public int getHarvestLevel(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack, - java.lang.String toolClass)</pre> -<div class="block">Queries the harvest level of this item stack for the specifred tool class, - Returns -1 if this tool is not of the specified type</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>stack</code> - This item stack instance</dd><dd><code>toolClass</code> - Tool Class</dd> -<dt><span class="strong">Returns:</span></dt><dd>Harvest level, or -1 if not the specified tool type.</dd></dl> -</li> -</ul> -<a name="getItemEnchantability(net.minecraft.item.ItemStack)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getItemEnchantability</h4> -<pre>public int getItemEnchantability(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack)</pre> -<div class="block">ItemStack sensitive version of getItemEnchantability</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>stack</code> - The ItemStack</dd> -<dt><span class="strong">Returns:</span></dt><dd>the item echantability value</dd></dl> -</li> -</ul> -<a name="isBeaconPayment(net.minecraft.item.ItemStack)"> -<!-- --> -</a> -<ul class="blockListLast"> -<li class="blockList"> -<h4>isBeaconPayment</h4> -<pre>public boolean isBeaconPayment(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack)</pre> -<div class="block">Whether this Item can be used as a payment to activate the vanilla beacon.</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>stack</code> - the ItemStack</dd> -<dt><span class="strong">Returns:</span></dt><dd>true if this Item can be used</dd></dl> -</li> -</ul> -</li> -</ul> -</li> -</ul> -</div> -</div> -<!-- ========= END OF CLASS DATA ========= --> -<!-- ======= START OF BOTTOM NAVBAR ====== --> -<div class="bottomNav"><a name="navbar_bottom"> -<!-- --> -</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> -<!-- --> -</a> -<ul class="navList" title="Navigation"> -<li><a href="../../../overview-summary.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-all.html">Index</a></li> -<li><a href="../../../help-doc.html">Help</a></li> -</ul> -</div> -<div class="subNav"> -<ul class="navList"> -<li><a href="../../../net/minecraft/item/EnumRarity.html" title="enum in net.minecraft.item"><span class="strong">Prev Class</span></a></li> -<li><a href="../../../net/minecraft/item/Item.ToolMaterial.html" title="enum in net.minecraft.item"><span class="strong">Next Class</span></a></li> -</ul> -<ul class="navList"> -<li><a href="../../../index.html?net/minecraft/item/Item.html" target="_top">Frames</a></li> -<li><a href="Item.html" target="_top">No Frames</a></li> -</ul> -<ul class="navList" id="allclasses_navbar_bottom"> -<li><a href="../../../allclasses-noframe.html">All 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> -</div> -<div> -<ul class="subNavList"> -<li>Summary: </li> -<li><a href="#nested_class_summary">Nested</a> | </li> -<li><a href="#field_summary">Field</a> | </li> -<li><a href="#constructor_summary">Constr</a> | </li> -<li><a href="#method_summary">Method</a></li> -</ul> -<ul class="subNavList"> -<li>Detail: </li> -<li><a href="#field_detail">Field</a> | </li> -<li><a href="#constructor_detail">Constr</a> | </li> -<li><a href="#method_detail">Method</a></li> -</ul> -</div> -<a name="skip-navbar_bottom"> -<!-- --> -</a></div> -<!-- ======== END OF BOTTOM NAVBAR ======= --> -</body> -</html> |
