diff options
| author | Foghrye4 <foghrye4@gmail.com> | 2017-06-17 08:12:18 +0300 |
|---|---|---|
| committer | Foghrye4 <foghrye4@gmail.com> | 2017-06-17 08:12:18 +0300 |
| commit | dc3df3edd5843bde0c1335d6a8e460b2c832aa48 (patch) | |
| tree | af13bfeee567f2351e35e1ef176d168fe37c8aac /javadoc/net/minecraft/inventory/Slot.html | |
| parent | 1da8dcd58647e34c9af94ceeecaeaf3b0d08c48c (diff) | |
full project files
Diffstat (limited to 'javadoc/net/minecraft/inventory/Slot.html')
| -rw-r--r-- | javadoc/net/minecraft/inventory/Slot.html | 631 |
1 files changed, 631 insertions, 0 deletions
diff --git a/javadoc/net/minecraft/inventory/Slot.html b/javadoc/net/minecraft/inventory/Slot.html new file mode 100644 index 0000000..959be3a --- /dev/null +++ b/javadoc/net/minecraft/inventory/Slot.html @@ -0,0 +1,631 @@ +<!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:10 EST 2015 --> +<title>Slot (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="Slot (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/inventory/ISidedInventory.html" title="interface in net.minecraft.inventory"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraft/inventory/SlotCrafting.html" title="class in net.minecraft.inventory"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraft/inventory/Slot.html" target="_top">Frames</a></li> +<li><a href="Slot.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>Nested | </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.inventory</div> +<h2 title="Class Slot" class="title">Class Slot</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>net.minecraft.inventory.Slot</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>Direct Known Subclasses:</dt> +<dd><a href="../../../net/minecraft/inventory/SlotCrafting.html" title="class in net.minecraft.inventory">SlotCrafting</a>, <a href="../../../net/minecraft/inventory/SlotFurnace.html" title="class in net.minecraft.inventory">SlotFurnace</a>, <a href="../../../net/minecraft/inventory/SlotMerchantResult.html" title="class in net.minecraft.inventory">SlotMerchantResult</a></dd> +</dl> +<hr> +<br> +<pre>public class <span class="strong">Slot</span> +extends java.lang.Object</pre> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- =========== 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 <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/inventory/Slot.html#backgroundIcon">backgroundIcon</a></strong></code> +<div class="block">Position within background texture file, normally -1 which causes no background to be drawn.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraft/inventory/IInventory.html" title="interface in net.minecraft.inventory">IInventory</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/inventory/Slot.html#inventory">inventory</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/inventory/Slot.html#slotNumber">slotNumber</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected <a href="../../../net/minecraft/util/ResourceLocation.html" title="class in net.minecraft.util">ResourceLocation</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/inventory/Slot.html#texture">texture</a></strong></code> +<div class="block">Background texture file assigned to this slot, if any.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/inventory/Slot.html#xDisplayPosition">xDisplayPosition</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/inventory/Slot.html#yDisplayPosition">yDisplayPosition</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/inventory/Slot.html#Slot(net.minecraft.inventory.IInventory,%20int,%20int,%20int)">Slot</a></strong>(<a href="../../../net/minecraft/inventory/IInventory.html" title="interface in net.minecraft.inventory">IInventory</a> p_i1824_1_, + int p_i1824_2_, + int p_i1824_3_, + int p_i1824_4_)</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>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/inventory/Slot.html#canTakeStack(net.minecraft.entity.player.EntityPlayer)">canTakeStack</a></strong>(<a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> p_82869_1_)</code> </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/inventory/Slot.html#decrStackSize(int)">decrStackSize</a></strong>(int p_75209_1_)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/inventory/Slot.html#func_111238_b()">func_111238_b</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/inventory/Slot.html#getBackgroundIconIndex()">getBackgroundIconIndex</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../net/minecraft/util/ResourceLocation.html" title="class in net.minecraft.util">ResourceLocation</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/inventory/Slot.html#getBackgroundIconTexture()">getBackgroundIconTexture</a></strong>()</code> +<div class="block">Gets the path of the texture file to use for the background image of this slot when drawing the GUI.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/inventory/Slot.html#getHasStack()">getHasStack</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/inventory/Slot.html#getSlotIndex()">getSlotIndex</a></strong>()</code> +<div class="block">Retrieves the index in the inventory for this slot, this value should typically not + be used, but can be useful for some occasions.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/inventory/Slot.html#getSlotStackLimit()">getSlotStackLimit</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/inventory/Slot.html#getStack()">getStack</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/inventory/Slot.html#isItemValid(net.minecraft.item.ItemStack)">isItemValid</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_75214_1_)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/inventory/Slot.html#isSlotInInventory(net.minecraft.inventory.IInventory,%20int)">isSlotInInventory</a></strong>(<a href="../../../net/minecraft/inventory/IInventory.html" title="interface in net.minecraft.inventory">IInventory</a> p_75217_1_, + int p_75217_2_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/inventory/Slot.html#onCrafting(net.minecraft.item.ItemStack)">onCrafting</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_75208_1_)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/inventory/Slot.html#onCrafting(net.minecraft.item.ItemStack,%20int)">onCrafting</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_75210_1_, + int p_75210_2_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/inventory/Slot.html#onPickupFromSlot(net.minecraft.entity.player.EntityPlayer,%20net.minecraft.item.ItemStack)">onPickupFromSlot</a></strong>(<a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> p_82870_1_, + <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_82870_2_)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/inventory/Slot.html#onSlotChange(net.minecraft.item.ItemStack,%20net.minecraft.item.ItemStack)">onSlotChange</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_75220_1_, + <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_75220_2_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/inventory/Slot.html#onSlotChanged()">onSlotChanged</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/inventory/Slot.html#putStack(net.minecraft.item.ItemStack)">putStack</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_75215_1_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/inventory/Slot.html#setBackgroundIcon(net.minecraft.util.IIcon)">setBackgroundIcon</a></strong>(<a href="../../../net/minecraft/util/IIcon.html" title="interface in net.minecraft.util">IIcon</a> icon)</code> +<div class="block">Sets which icon index to use as the background image of the slot when it's empty.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/inventory/Slot.html#setBackgroundIconTexture(net.minecraft.util.ResourceLocation)">setBackgroundIconTexture</a></strong>(<a href="../../../net/minecraft/util/ResourceLocation.html" title="class in net.minecraft.util">ResourceLocation</a> texture)</code> +<div class="block">Sets the texture file to use for the background image of the slot when it's empty.</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="inventory"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>inventory</h4> +<pre>public final <a href="../../../net/minecraft/inventory/IInventory.html" title="interface in net.minecraft.inventory">IInventory</a> inventory</pre> +</li> +</ul> +<a name="slotNumber"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>slotNumber</h4> +<pre>public int slotNumber</pre> +</li> +</ul> +<a name="xDisplayPosition"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>xDisplayPosition</h4> +<pre>public int xDisplayPosition</pre> +</li> +</ul> +<a name="yDisplayPosition"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>yDisplayPosition</h4> +<pre>public int yDisplayPosition</pre> +</li> +</ul> +<a name="backgroundIcon"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>backgroundIcon</h4> +<pre>protected <a href="../../../net/minecraft/util/IIcon.html" title="interface in net.minecraft.util">IIcon</a> backgroundIcon</pre> +<div class="block">Position within background texture file, normally -1 which causes no background to be drawn.</div> +</li> +</ul> +<a name="texture"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>texture</h4> +<pre>protected <a href="../../../net/minecraft/util/ResourceLocation.html" title="class in net.minecraft.util">ResourceLocation</a> texture</pre> +<div class="block">Background texture file assigned to this slot, if any. Vanilla "/gui/items.png" is used if this is null.</div> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="Slot(net.minecraft.inventory.IInventory, int, int, int)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>Slot</h4> +<pre>public Slot(<a href="../../../net/minecraft/inventory/IInventory.html" title="interface in net.minecraft.inventory">IInventory</a> p_i1824_1_, + int p_i1824_2_, + int p_i1824_3_, + int p_i1824_4_)</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="onSlotChange(net.minecraft.item.ItemStack, net.minecraft.item.ItemStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>onSlotChange</h4> +<pre>public void onSlotChange(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_75220_1_, + <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_75220_2_)</pre> +</li> +</ul> +<a name="onCrafting(net.minecraft.item.ItemStack, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>onCrafting</h4> +<pre>protected void onCrafting(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_75210_1_, + int p_75210_2_)</pre> +</li> +</ul> +<a name="onCrafting(net.minecraft.item.ItemStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>onCrafting</h4> +<pre>protected void onCrafting(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_75208_1_)</pre> +</li> +</ul> +<a name="onPickupFromSlot(net.minecraft.entity.player.EntityPlayer, net.minecraft.item.ItemStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>onPickupFromSlot</h4> +<pre>public void onPickupFromSlot(<a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> p_82870_1_, + <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_82870_2_)</pre> +</li> +</ul> +<a name="isItemValid(net.minecraft.item.ItemStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isItemValid</h4> +<pre>public boolean isItemValid(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_75214_1_)</pre> +</li> +</ul> +<a name="getStack()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getStack</h4> +<pre>public <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> getStack()</pre> +</li> +</ul> +<a name="getHasStack()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getHasStack</h4> +<pre>public boolean getHasStack()</pre> +</li> +</ul> +<a name="putStack(net.minecraft.item.ItemStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>putStack</h4> +<pre>public void putStack(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_75215_1_)</pre> +</li> +</ul> +<a name="onSlotChanged()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>onSlotChanged</h4> +<pre>public void onSlotChanged()</pre> +</li> +</ul> +<a name="getSlotStackLimit()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getSlotStackLimit</h4> +<pre>public int getSlotStackLimit()</pre> +</li> +</ul> +<a name="decrStackSize(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>decrStackSize</h4> +<pre>public <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> decrStackSize(int p_75209_1_)</pre> +</li> +</ul> +<a name="isSlotInInventory(net.minecraft.inventory.IInventory, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isSlotInInventory</h4> +<pre>public boolean isSlotInInventory(<a href="../../../net/minecraft/inventory/IInventory.html" title="interface in net.minecraft.inventory">IInventory</a> p_75217_1_, + int p_75217_2_)</pre> +</li> +</ul> +<a name="canTakeStack(net.minecraft.entity.player.EntityPlayer)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>canTakeStack</h4> +<pre>public boolean canTakeStack(<a href="../../../net/minecraft/entity/player/EntityPlayer.html" title="class in net.minecraft.entity.player">EntityPlayer</a> p_82869_1_)</pre> +</li> +</ul> +<a name="getBackgroundIconIndex()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getBackgroundIconIndex</h4> +<pre>public <a href="../../../net/minecraft/util/IIcon.html" title="interface in net.minecraft.util">IIcon</a> getBackgroundIconIndex()</pre> +</li> +</ul> +<a name="func_111238_b()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>func_111238_b</h4> +<pre>public boolean func_111238_b()</pre> +</li> +</ul> +<a name="getBackgroundIconTexture()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getBackgroundIconTexture</h4> +<pre>public <a href="../../../net/minecraft/util/ResourceLocation.html" title="class in net.minecraft.util">ResourceLocation</a> getBackgroundIconTexture()</pre> +<div class="block">Gets the path of the texture file to use for the background image of this slot when drawing the GUI.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd>String: The texture file that will be used in GuiContainer.drawSlotInventory for the slot background.</dd></dl> +</li> +</ul> +<a name="setBackgroundIcon(net.minecraft.util.IIcon)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setBackgroundIcon</h4> +<pre>public void setBackgroundIcon(<a href="../../../net/minecraft/util/IIcon.html" title="interface in net.minecraft.util">IIcon</a> icon)</pre> +<div class="block">Sets which icon index to use as the background image of the slot when it's empty.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>icon</code> - The icon to use, null for none</dd></dl> +</li> +</ul> +<a name="setBackgroundIconTexture(net.minecraft.util.ResourceLocation)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setBackgroundIconTexture</h4> +<pre>public void setBackgroundIconTexture(<a href="../../../net/minecraft/util/ResourceLocation.html" title="class in net.minecraft.util">ResourceLocation</a> texture)</pre> +<div class="block">Sets the texture file to use for the background image of the slot when it's empty.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>textureFilename</code> - String: Path of texture file to use, or null to use "/gui/items.png"</dd></dl> +</li> +</ul> +<a name="getSlotIndex()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>getSlotIndex</h4> +<pre>public int getSlotIndex()</pre> +<div class="block">Retrieves the index in the inventory for this slot, this value should typically not + be used, but can be useful for some occasions.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd>Index in associated inventory for this slot.</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/inventory/ISidedInventory.html" title="interface in net.minecraft.inventory"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraft/inventory/SlotCrafting.html" title="class in net.minecraft.inventory"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraft/inventory/Slot.html" target="_top">Frames</a></li> +<li><a href="Slot.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>Nested | </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> |
