mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-20 19:55:48 +00:00
669 lines
56 KiB
HTML
669 lines
56 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!-- NewPage -->
|
|
<html lang="de">
|
|
<head>
|
|
<!-- Generated by javadoc (1.8.0_111) on Fri Mar 06 11:20:57 CET 2020 -->
|
|
<title>AContainer</title>
|
|
<meta name="date" content="2020-03-06">
|
|
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
|
<script type="text/javascript" src="../../../../../../script.js"></script>
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
try {
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="AContainer";
|
|
}
|
|
}
|
|
catch(err) {
|
|
}
|
|
//-->
|
|
var methods = {"i0":10,"i1":10,"i2":10,"i3":6,"i4":10,"i5":6,"i6":6,"i7":10,"i8":10,"i9":6,"i10":6,"i11":10,"i12":10,"i13":10,"i14":10};
|
|
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]};
|
|
var altColor = "altColor";
|
|
var rowColor = "rowColor";
|
|
var tableTab = "tableTab";
|
|
var activeTableTab = "activeTableTab";
|
|
</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="topNav"><a name="navbar.top">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
|
<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="class-use/AContainer.html">Use</a></li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../../../index-files/index-1.html">Index</a></li>
|
|
<li><a href="../../../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li>Prev Class</li>
|
|
<li><a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AGenerator.html" title="class in me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems"><span class="typeNameLink">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../../../../index.html?me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AContainer.html" target="_top">Frames</a></li>
|
|
<li><a href="AContainer.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">me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems</div>
|
|
<h2 title="Class AContainer" class="title">Class AContainer</h2>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<ul class="inheritance">
|
|
<li>java.lang.Object</li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li><a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html" title="class in me.mrCookieSlime.Slimefun.Objects.SlimefunItem">me.mrCookieSlime.Slimefun.Objects.SlimefunItem.SlimefunItem</a></li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems.AContainer</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<div class="description">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<dl>
|
|
<dt>All Implemented Interfaces:</dt>
|
|
<dd><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/items/Placeable.html" title="interface in io.github.thebusybiscuit.slimefun4.api.items">Placeable</a>, <a href="../../../../../../io/github/thebusybiscuit/slimefun4/core/attributes/EnergyNetComponent.html" title="interface in io.github.thebusybiscuit.slimefun4.core.attributes">EnergyNetComponent</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/interfaces/InventoryBlock.html" title="interface in me.mrCookieSlime.Slimefun.Objects.SlimefunItem.interfaces">InventoryBlock</a></dd>
|
|
</dl>
|
|
<dl>
|
|
<dt>Direct Known Subclasses:</dt>
|
|
<dd><a href="../../../../../../io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/AutoAnvil.html" title="class in io.github.thebusybiscuit.slimefun4.implementation.items.electric.machines">AutoAnvil</a>, <a href="../../../../../../io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/AutoDisenchanter.html" title="class in io.github.thebusybiscuit.slimefun4.implementation.items.electric.machines">AutoDisenchanter</a>, <a href="../../../../../../io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/AutoDrier.html" title="class in io.github.thebusybiscuit.slimefun4.implementation.items.electric.machines">AutoDrier</a>, <a href="../../../../../../io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/AutoEnchanter.html" title="class in io.github.thebusybiscuit.slimefun4.implementation.items.electric.machines">AutoEnchanter</a>, <a href="../../../../../../io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/CarbonPress.html" title="class in io.github.thebusybiscuit.slimefun4.implementation.items.electric.machines">CarbonPress</a>, <a href="../../../../../../io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/ChargingBench.html" title="class in io.github.thebusybiscuit.slimefun4.implementation.items.electric.machines">ChargingBench</a>, <a href="../../../../../../io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/ElectricDustWasher.html" title="class in io.github.thebusybiscuit.slimefun4.implementation.items.electric.machines">ElectricDustWasher</a>, <a href="../../../../../../io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/ElectricFurnace.html" title="class in io.github.thebusybiscuit.slimefun4.implementation.items.electric.machines">ElectricFurnace</a>, <a href="../../../../../../io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/ElectricGoldPan.html" title="class in io.github.thebusybiscuit.slimefun4.implementation.items.electric.machines">ElectricGoldPan</a>, <a href="../../../../../../io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/ElectricIngotFactory.html" title="class in io.github.thebusybiscuit.slimefun4.implementation.items.electric.machines">ElectricIngotFactory</a>, <a href="../../../../../../io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/ElectricIngotPulverizer.html" title="class in io.github.thebusybiscuit.slimefun4.implementation.items.electric.machines">ElectricIngotPulverizer</a>, <a href="../../../../../../io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/ElectricOreGrinder.html" title="class in io.github.thebusybiscuit.slimefun4.implementation.items.electric.machines">ElectricOreGrinder</a>, <a href="../../../../../../io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/ElectricPress.html" title="class in io.github.thebusybiscuit.slimefun4.implementation.items.electric.machines">ElectricPress</a>, <a href="../../../../../../io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/ElectricSmeltery.html" title="class in io.github.thebusybiscuit.slimefun4.implementation.items.electric.machines">ElectricSmeltery</a>, <a href="../../../../../../io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/ElectrifiedCrucible.html" title="class in io.github.thebusybiscuit.slimefun4.implementation.items.electric.machines">ElectrifiedCrucible</a>, <a href="../../../../../../io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/FoodComposter.html" title="class in io.github.thebusybiscuit.slimefun4.implementation.items.electric.machines">FoodComposter</a>, <a href="../../../../../../io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/FoodFabricator.html" title="class in io.github.thebusybiscuit.slimefun4.implementation.items.electric.machines">FoodFabricator</a>, <a href="../../../../../../io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/Freezer.html" title="class in io.github.thebusybiscuit.slimefun4.implementation.items.electric.machines">Freezer</a>, <a href="../../../../../../io/github/thebusybiscuit/slimefun4/implementation/items/geo/GEOMiner.html" title="class in io.github.thebusybiscuit.slimefun4.implementation.items.geo">GEOMiner</a>, <a href="../../../../../../io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/HeatedPressureChamber.html" title="class in io.github.thebusybiscuit.slimefun4.implementation.items.electric.machines">HeatedPressureChamber</a>, <a href="../../../../../../io/github/thebusybiscuit/slimefun4/implementation/items/geo/OilPump.html" title="class in io.github.thebusybiscuit.slimefun4.implementation.items.geo">OilPump</a>, <a href="../../../../../../io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/Refinery.html" title="class in io.github.thebusybiscuit.slimefun4.implementation.items.electric.machines">Refinery</a></dd>
|
|
</dl>
|
|
<hr>
|
|
<br>
|
|
<pre>public abstract class <span class="typeNameLabel">AContainer</span>
|
|
extends <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html" title="class in me.mrCookieSlime.Slimefun.Objects.SlimefunItem">SlimefunItem</a>
|
|
implements <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/interfaces/InventoryBlock.html" title="interface in me.mrCookieSlime.Slimefun.Objects.SlimefunItem.interfaces">InventoryBlock</a>, <a href="../../../../../../io/github/thebusybiscuit/slimefun4/core/attributes/EnergyNetComponent.html" title="interface in io.github.thebusybiscuit.slimefun4.core.attributes">EnergyNetComponent</a></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="memberSummary" 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>static java.util.Map<<a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/block/Block.html?is-external=true" title="class or interface in org.bukkit.block">Block</a>,<a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/MachineRecipe.html" title="class in me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems">MachineRecipe</a>></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AContainer.html#processing">processing</a></span></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static java.util.Map<<a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/block/Block.html?is-external=true" title="class or interface in org.bukkit.block">Block</a>,java.lang.Integer></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AContainer.html#progress">progress</a></span></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="memberSummary" 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><span class="memberNameLink"><a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AContainer.html#AContainer-me.mrCookieSlime.Slimefun.Objects.Category-me.mrCookieSlime.Slimefun.api.SlimefunItemStack-me.mrCookieSlime.Slimefun.Lists.RecipeType-org.bukkit.inventory.ItemStack:A-">AContainer</a></span>(<a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/Category.html" title="class in me.mrCookieSlime.Slimefun.Objects">Category</a> category,
|
|
<a href="../../../../../../me/mrCookieSlime/Slimefun/api/SlimefunItemStack.html" title="class in me.mrCookieSlime.Slimefun.api">SlimefunItemStack</a> item,
|
|
<a href="../../../../../../me/mrCookieSlime/Slimefun/Lists/RecipeType.html" title="class in me.mrCookieSlime.Slimefun.Lists">RecipeType</a> recipeType,
|
|
<a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/ItemStack.html?is-external=true" title="class or interface in org.bukkit.inventory">ItemStack</a>[] recipe)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AContainer.html#AContainer-me.mrCookieSlime.Slimefun.Objects.Category-me.mrCookieSlime.Slimefun.api.SlimefunItemStack-me.mrCookieSlime.Slimefun.Lists.RecipeType-org.bukkit.inventory.ItemStack:A-org.bukkit.inventory.ItemStack-">AContainer</a></span>(<a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/Category.html" title="class in me.mrCookieSlime.Slimefun.Objects">Category</a> category,
|
|
<a href="../../../../../../me/mrCookieSlime/Slimefun/api/SlimefunItemStack.html" title="class in me.mrCookieSlime.Slimefun.api">SlimefunItemStack</a> item,
|
|
<a href="../../../../../../me/mrCookieSlime/Slimefun/Lists/RecipeType.html" title="class in me.mrCookieSlime.Slimefun.Lists">RecipeType</a> recipeType,
|
|
<a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/ItemStack.html?is-external=true" title="class or interface in org.bukkit.inventory">ItemStack</a>[] recipe,
|
|
<a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/ItemStack.html?is-external=true" title="class or interface in org.bukkit.inventory">ItemStack</a> recipeOutput)</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="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
|
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Method and Description</th>
|
|
</tr>
|
|
<tr id="i0" class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AContainer.html#getCapacity--">getCapacity</a></span>()</code>
|
|
<div class="block">This method returns the max amount of electricity this Block can hold.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i1" class="rowColor">
|
|
<td class="colFirst"><code>java.util.List<<a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/ItemStack.html?is-external=true" title="class or interface in org.bukkit.inventory">ItemStack</a>></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AContainer.html#getDisplayRecipes--">getDisplayRecipes</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i2" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../../../io/github/thebusybiscuit/slimefun4/core/networks/energy/EnergyNetComponentType.html" title="enum in io.github.thebusybiscuit.slimefun4.core.networks.energy">EnergyNetComponentType</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AContainer.html#getEnergyComponentType--">getEnergyComponentType</a></span>()</code>
|
|
<div class="block">This method returns the Type of <a href="../../../../../../io/github/thebusybiscuit/slimefun4/core/networks/energy/EnergyNetComponentType.html" title="enum in io.github.thebusybiscuit.slimefun4.core.networks.energy"><code>EnergyNetComponentType</code></a> this <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html" title="class in me.mrCookieSlime.Slimefun.Objects.SlimefunItem"><code>SlimefunItem</code></a> represents.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i3" class="rowColor">
|
|
<td class="colFirst"><code>abstract int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AContainer.html#getEnergyConsumption--">getEnergyConsumption</a></span>()</code>
|
|
<div class="block">This method returns the amount of energy that is consumed per operation.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i4" class="altColor">
|
|
<td class="colFirst"><code>int[]</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AContainer.html#getInputSlots--">getInputSlots</a></span>()</code>
|
|
<div class="block">This method returns an <code>Array</code> of slots that serve as the input
|
|
for the <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/Inventory.html?is-external=true" title="class or interface in org.bukkit.inventory"><code>Inventory</code></a> of this block.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i5" class="rowColor">
|
|
<td class="colFirst"><code>abstract java.lang.String</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AContainer.html#getInventoryTitle--">getInventoryTitle</a></span>()</code>
|
|
<div class="block">This method returns the title that is used for the <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/Inventory.html?is-external=true" title="class or interface in org.bukkit.inventory"><code>Inventory</code></a> of an
|
|
<a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AContainer.html" title="class in me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems"><code>AContainer</code></a> that has been opened by a Player.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i6" class="altColor">
|
|
<td class="colFirst"><code>abstract java.lang.String</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AContainer.html#getMachineIdentifier--">getMachineIdentifier</a></span>()</code>
|
|
<div class="block">This method returns an internal identifier that is used to identify this <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AContainer.html" title="class in me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems"><code>AContainer</code></a>
|
|
and its recipes.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i7" class="rowColor">
|
|
<td class="colFirst"><code>int[]</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AContainer.html#getOutputSlots--">getOutputSlots</a></span>()</code>
|
|
<div class="block">This method returns an <code>Array</code> of slots that serve as the output
|
|
for the <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/Inventory.html?is-external=true" title="class or interface in org.bukkit.inventory"><code>Inventory</code></a> of this block.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i8" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/MachineRecipe.html" title="class in me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems">MachineRecipe</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AContainer.html#getProcessing-org.bukkit.block.Block-">getProcessing</a></span>(<a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/block/Block.html?is-external=true" title="class or interface in org.bukkit.block">Block</a> b)</code> </td>
|
|
</tr>
|
|
<tr id="i9" class="rowColor">
|
|
<td class="colFirst"><code>abstract <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/ItemStack.html?is-external=true" title="class or interface in org.bukkit.inventory">ItemStack</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AContainer.html#getProgressBar--">getProgressBar</a></span>()</code>
|
|
<div class="block">This method returns the <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/ItemStack.html?is-external=true" title="class or interface in org.bukkit.inventory"><code>ItemStack</code></a> that this <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AContainer.html" title="class in me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems"><code>AContainer</code></a> will
|
|
use as a progress bar.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i10" class="altColor">
|
|
<td class="colFirst"><code>abstract int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AContainer.html#getSpeed--">getSpeed</a></span>()</code>
|
|
<div class="block">This method returns the speed at which this machine will operate.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i11" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AContainer.html#isProcessing-org.bukkit.block.Block-">isProcessing</a></span>(<a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/block/Block.html?is-external=true" title="class or interface in org.bukkit.block">Block</a> b)</code> </td>
|
|
</tr>
|
|
<tr id="i12" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AContainer.html#preRegister--">preRegister</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i13" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AContainer.html#registerRecipe-int-org.bukkit.inventory.ItemStack:A-org.bukkit.inventory.ItemStack:A-">registerRecipe</a></span>(int seconds,
|
|
<a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/ItemStack.html?is-external=true" title="class or interface in org.bukkit.inventory">ItemStack</a>[] input,
|
|
<a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/ItemStack.html?is-external=true" title="class or interface in org.bukkit.inventory">ItemStack</a>[] output)</code> </td>
|
|
</tr>
|
|
<tr id="i14" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AContainer.html#registerRecipe-me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems.MachineRecipe-">registerRecipe</a></span>(<a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/MachineRecipe.html" title="class in me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems">MachineRecipe</a> recipe)</code> </td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods.inherited.from.class.me.mrCookieSlime.Slimefun.Objects.SlimefunItem.SlimefunItem">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class me.mrCookieSlime.Slimefun.Objects.SlimefunItem.<a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html" title="class in me.mrCookieSlime.Slimefun.Objects.SlimefunItem">SlimefunItem</a></h3>
|
|
<code><a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#addItemHandler-me.mrCookieSlime.Slimefun.Objects.handlers.ItemHandler...-">addItemHandler</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#addOficialWikipage-java.lang.String-">addOficialWikipage</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#bindToResearch-me.mrCookieSlime.Slimefun.Objects.Research-">bindToResearch</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#callItemHandler-java.lang.Class-java.util.function.Consumer-">callItemHandler</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#error-java.lang.String-java.lang.Throwable-">error</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#getAddon--">getAddon</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#getBlockTicker--">getBlockTicker</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#getByID-java.lang.String-">getByID</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#getByItem-org.bukkit.inventory.ItemStack-">getByItem</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#getCategory--">getCategory</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#getDrops--">getDrops</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#getDrops-org.bukkit.entity.Player-">getDrops</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#getEnergyTicker--">getEnergyTicker</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#getHandlers--">getHandlers</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#getHandlers-java.lang.Class-">getHandlers</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#getID--">getID</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#getItem--">getItem</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#getItem-java.lang.String-">getItem</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#getItemName--">getItemName</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#getNoPermissionTooltip--">getNoPermissionTooltip</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#getPermission--">getPermission</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#getRecipe--">getRecipe</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#getRecipeOutput--">getRecipeOutput</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#getRecipeType--">getRecipeType</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#getResearch--">getResearch</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#getState--">getState</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#getWikipage--">getWikipage</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#hasWikipage--">hasWikipage</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#info-java.lang.String-">info</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#install--">install</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#isAddonItem--">isAddonItem</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#isDisabled--">isDisabled</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#isDisenchantable--">isDisenchantable</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#isEnchantable--">isEnchantable</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#isHidden--">isHidden</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#isItem-org.bukkit.inventory.ItemStack-">isItem</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#isTicking--">isTicking</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#isTicking-java.lang.String-">isTicking</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#isUseableInWorkbench--">isUseableInWorkbench</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#load--">load</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#postRegister--">postRegister</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#register--">register</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#register-boolean-">register</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#register-boolean-me.mrCookieSlime.Slimefun.Objects.handlers.ItemHandler...-">register</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#register-boolean-me.mrCookieSlime.Slimefun.Objects.SlimefunBlockHandler-">register</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#register-me.mrCookieSlime.Slimefun.Objects.handlers.ItemHandler...-">register</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#register-io.github.thebusybiscuit.slimefun4.api.SlimefunAddon-">register</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#register-me.mrCookieSlime.Slimefun.Objects.SlimefunBlockHandler-">register</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#registerBlockHandler-java.lang.String-me.mrCookieSlime.Slimefun.Objects.SlimefunBlockHandler-">registerBlockHandler</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#registerCapacitor-boolean-int-">registerCapacitor</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#registerChargeableBlock-boolean-int-">registerChargeableBlock</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#registerChargeableBlock-boolean-int-me.mrCookieSlime.Slimefun.Objects.handlers.ItemHandler...-">registerChargeableBlock</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#registerChargeableBlock-int-">registerChargeableBlock</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#registerEnergyGenerator-boolean-int-">registerEnergyGenerator</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#setCategory-me.mrCookieSlime.Slimefun.Objects.Category-">setCategory</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#setRecipe-org.bukkit.inventory.ItemStack:A-">setRecipe</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#setRecipeOutput-org.bukkit.inventory.ItemStack-">setRecipeOutput</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#setRecipeType-me.mrCookieSlime.Slimefun.Lists.RecipeType-">setRecipeType</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#setUseableInWorkbench-boolean-">setUseableInWorkbench</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#toString--">toString</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#warn-java.lang.String-">warn</a></code></li>
|
|
</ul>
|
|
<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>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods.inherited.from.class.me.mrCookieSlime.Slimefun.Objects.SlimefunItem.interfaces.InventoryBlock">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from interface me.mrCookieSlime.Slimefun.Objects.SlimefunItem.interfaces.<a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/interfaces/InventoryBlock.html" title="interface in me.mrCookieSlime.Slimefun.Objects.SlimefunItem.interfaces">InventoryBlock</a></h3>
|
|
<code><a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/interfaces/InventoryBlock.html#createPreset-me.mrCookieSlime.Slimefun.Objects.SlimefunItem.SlimefunItem-java.util.function.Consumer-">createPreset</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/interfaces/InventoryBlock.html#createPreset-me.mrCookieSlime.Slimefun.Objects.SlimefunItem.SlimefunItem-java.lang.String-java.util.function.Consumer-">createPreset</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/interfaces/InventoryBlock.html#fits-org.bukkit.block.Block-org.bukkit.inventory.ItemStack...-">fits</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/interfaces/InventoryBlock.html#inject-org.bukkit.block.Block-">inject</a>, <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/interfaces/InventoryBlock.html#pushItems-org.bukkit.block.Block-org.bukkit.inventory.ItemStack...-">pushItems</a></code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods.inherited.from.class.io.github.thebusybiscuit.slimefun4.api.items.Placeable">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from interface io.github.thebusybiscuit.slimefun4.api.items.<a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/items/Placeable.html" title="interface in io.github.thebusybiscuit.slimefun4.api.items">Placeable</a></h3>
|
|
<code><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/items/Placeable.html#onBreak-org.bukkit.entity.Player-org.bukkit.block.Block-">onBreak</a>, <a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/items/Placeable.html#onExplode-org.bukkit.block.Block-">onExplode</a>, <a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/items/Placeable.html#onPlace-org.bukkit.entity.Player-org.bukkit.block.Block-">onPlace</a></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="processing">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>processing</h4>
|
|
<pre>public static java.util.Map<<a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/block/Block.html?is-external=true" title="class or interface in org.bukkit.block">Block</a>,<a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/MachineRecipe.html" title="class in me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems">MachineRecipe</a>> processing</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="progress">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>progress</h4>
|
|
<pre>public static java.util.Map<<a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/block/Block.html?is-external=true" title="class or interface in org.bukkit.block">Block</a>,java.lang.Integer> progress</pre>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Detail</h3>
|
|
<a name="AContainer-me.mrCookieSlime.Slimefun.Objects.Category-me.mrCookieSlime.Slimefun.api.SlimefunItemStack-me.mrCookieSlime.Slimefun.Lists.RecipeType-org.bukkit.inventory.ItemStack:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>AContainer</h4>
|
|
<pre>public AContainer(<a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/Category.html" title="class in me.mrCookieSlime.Slimefun.Objects">Category</a> category,
|
|
<a href="../../../../../../me/mrCookieSlime/Slimefun/api/SlimefunItemStack.html" title="class in me.mrCookieSlime.Slimefun.api">SlimefunItemStack</a> item,
|
|
<a href="../../../../../../me/mrCookieSlime/Slimefun/Lists/RecipeType.html" title="class in me.mrCookieSlime.Slimefun.Lists">RecipeType</a> recipeType,
|
|
<a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/ItemStack.html?is-external=true" title="class or interface in org.bukkit.inventory">ItemStack</a>[] recipe)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="AContainer-me.mrCookieSlime.Slimefun.Objects.Category-me.mrCookieSlime.Slimefun.api.SlimefunItemStack-me.mrCookieSlime.Slimefun.Lists.RecipeType-org.bukkit.inventory.ItemStack:A-org.bukkit.inventory.ItemStack-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>AContainer</h4>
|
|
<pre>public AContainer(<a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/Category.html" title="class in me.mrCookieSlime.Slimefun.Objects">Category</a> category,
|
|
<a href="../../../../../../me/mrCookieSlime/Slimefun/api/SlimefunItemStack.html" title="class in me.mrCookieSlime.Slimefun.api">SlimefunItemStack</a> item,
|
|
<a href="../../../../../../me/mrCookieSlime/Slimefun/Lists/RecipeType.html" title="class in me.mrCookieSlime.Slimefun.Lists">RecipeType</a> recipeType,
|
|
<a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/ItemStack.html?is-external=true" title="class or interface in org.bukkit.inventory">ItemStack</a>[] recipe,
|
|
<a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/ItemStack.html?is-external=true" title="class or interface in org.bukkit.inventory">ItemStack</a> recipeOutput)</pre>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Detail</h3>
|
|
<a name="getInventoryTitle--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getInventoryTitle</h4>
|
|
<pre>public abstract java.lang.String getInventoryTitle()</pre>
|
|
<div class="block">This method returns the title that is used for the <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/Inventory.html?is-external=true" title="class or interface in org.bukkit.inventory"><code>Inventory</code></a> of an
|
|
<a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AContainer.html" title="class in me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems"><code>AContainer</code></a> that has been opened by a Player.
|
|
|
|
Override this method to set the title.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The title of the <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/Inventory.html?is-external=true" title="class or interface in org.bukkit.inventory"><code>Inventory</code></a> of this <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AContainer.html" title="class in me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems"><code>AContainer</code></a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getProgressBar--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getProgressBar</h4>
|
|
<pre>public abstract <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/ItemStack.html?is-external=true" title="class or interface in org.bukkit.inventory">ItemStack</a> getProgressBar()</pre>
|
|
<div class="block">This method returns the <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/ItemStack.html?is-external=true" title="class or interface in org.bukkit.inventory"><code>ItemStack</code></a> that this <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AContainer.html" title="class in me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems"><code>AContainer</code></a> will
|
|
use as a progress bar.
|
|
|
|
Override this method to set the progress bar.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/ItemStack.html?is-external=true" title="class or interface in org.bukkit.inventory"><code>ItemStack</code></a> to use as the progress bar</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getEnergyConsumption--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getEnergyConsumption</h4>
|
|
<pre>public abstract int getEnergyConsumption()</pre>
|
|
<div class="block">This method returns the amount of energy that is consumed per operation.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The rate of energy consumption</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getSpeed--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getSpeed</h4>
|
|
<pre>public abstract int getSpeed()</pre>
|
|
<div class="block">This method returns the speed at which this machine will operate.
|
|
This can be implemented on an instantiation-level to create different tiers
|
|
of machines.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The speed of this machine</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getMachineIdentifier--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getMachineIdentifier</h4>
|
|
<pre>public abstract java.lang.String getMachineIdentifier()</pre>
|
|
<div class="block">This method returns an internal identifier that is used to identify this <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AContainer.html" title="class in me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems"><code>AContainer</code></a>
|
|
and its recipes.
|
|
|
|
When adding recipes to an <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AContainer.html" title="class in me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems"><code>AContainer</code></a> we will use this identifier to
|
|
identify all instances of the same <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AContainer.html" title="class in me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems"><code>AContainer</code></a>.
|
|
This way we can add the recipes to all instances of the same machine.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The identifier of this machine</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getDisplayRecipes--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getDisplayRecipes</h4>
|
|
<pre>public java.util.List<<a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/ItemStack.html?is-external=true" title="class or interface in org.bukkit.inventory">ItemStack</a>> getDisplayRecipes()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getInputSlots--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getInputSlots</h4>
|
|
<pre>public int[] getInputSlots()</pre>
|
|
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/interfaces/InventoryBlock.html#getInputSlots--">InventoryBlock</a></code></span></div>
|
|
<div class="block">This method returns an <code>Array</code> of slots that serve as the input
|
|
for the <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/Inventory.html?is-external=true" title="class or interface in org.bukkit.inventory"><code>Inventory</code></a> of this block.</div>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
|
<dd><code><a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/interfaces/InventoryBlock.html#getInputSlots--">getInputSlots</a></code> in interface <code><a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/interfaces/InventoryBlock.html" title="interface in me.mrCookieSlime.Slimefun.Objects.SlimefunItem.interfaces">InventoryBlock</a></code></dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The input slots for the <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/Inventory.html?is-external=true" title="class or interface in org.bukkit.inventory"><code>Inventory</code></a> of this block</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getOutputSlots--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getOutputSlots</h4>
|
|
<pre>public int[] getOutputSlots()</pre>
|
|
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/interfaces/InventoryBlock.html#getOutputSlots--">InventoryBlock</a></code></span></div>
|
|
<div class="block">This method returns an <code>Array</code> of slots that serve as the output
|
|
for the <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/Inventory.html?is-external=true" title="class or interface in org.bukkit.inventory"><code>Inventory</code></a> of this block.</div>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
|
<dd><code><a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/interfaces/InventoryBlock.html#getOutputSlots--">getOutputSlots</a></code> in interface <code><a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/interfaces/InventoryBlock.html" title="interface in me.mrCookieSlime.Slimefun.Objects.SlimefunItem.interfaces">InventoryBlock</a></code></dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The output slots for the <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/Inventory.html?is-external=true" title="class or interface in org.bukkit.inventory"><code>Inventory</code></a> of this block</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getEnergyComponentType--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getEnergyComponentType</h4>
|
|
<pre>public <a href="../../../../../../io/github/thebusybiscuit/slimefun4/core/networks/energy/EnergyNetComponentType.html" title="enum in io.github.thebusybiscuit.slimefun4.core.networks.energy">EnergyNetComponentType</a> getEnergyComponentType()</pre>
|
|
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../io/github/thebusybiscuit/slimefun4/core/attributes/EnergyNetComponent.html#getEnergyComponentType--">EnergyNetComponent</a></code></span></div>
|
|
<div class="block">This method returns the Type of <a href="../../../../../../io/github/thebusybiscuit/slimefun4/core/networks/energy/EnergyNetComponentType.html" title="enum in io.github.thebusybiscuit.slimefun4.core.networks.energy"><code>EnergyNetComponentType</code></a> this <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html" title="class in me.mrCookieSlime.Slimefun.Objects.SlimefunItem"><code>SlimefunItem</code></a> represents.
|
|
It describes how this Block will interact with an <a href="../../../../../../io/github/thebusybiscuit/slimefun4/core/networks/energy/EnergyNet.html" title="class in io.github.thebusybiscuit.slimefun4.core.networks.energy"><code>EnergyNet</code></a>.</div>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
|
<dd><code><a href="../../../../../../io/github/thebusybiscuit/slimefun4/core/attributes/EnergyNetComponent.html#getEnergyComponentType--">getEnergyComponentType</a></code> in interface <code><a href="../../../../../../io/github/thebusybiscuit/slimefun4/core/attributes/EnergyNetComponent.html" title="interface in io.github.thebusybiscuit.slimefun4.core.attributes">EnergyNetComponent</a></code></dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The <a href="../../../../../../io/github/thebusybiscuit/slimefun4/core/networks/energy/EnergyNetComponentType.html" title="enum in io.github.thebusybiscuit.slimefun4.core.networks.energy"><code>EnergyNetComponentType</code></a> this <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html" title="class in me.mrCookieSlime.Slimefun.Objects.SlimefunItem"><code>SlimefunItem</code></a> represents.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getCapacity--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getCapacity</h4>
|
|
<pre>public int getCapacity()</pre>
|
|
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../io/github/thebusybiscuit/slimefun4/core/attributes/EnergyNetComponent.html#getCapacity--">EnergyNetComponent</a></code></span></div>
|
|
<div class="block">This method returns the max amount of electricity this Block can hold.
|
|
If the capacity is zero, then this Block cannot hold any electricity.</div>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
|
<dd><code><a href="../../../../../../io/github/thebusybiscuit/slimefun4/core/attributes/EnergyNetComponent.html#getCapacity--">getCapacity</a></code> in interface <code><a href="../../../../../../io/github/thebusybiscuit/slimefun4/core/attributes/EnergyNetComponent.html" title="interface in io.github.thebusybiscuit.slimefun4.core.attributes">EnergyNetComponent</a></code></dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The max amount of electricity this Block can store.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getProcessing-org.bukkit.block.Block-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getProcessing</h4>
|
|
<pre>public <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/MachineRecipe.html" title="class in me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems">MachineRecipe</a> getProcessing(<a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/block/Block.html?is-external=true" title="class or interface in org.bukkit.block">Block</a> b)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="isProcessing-org.bukkit.block.Block-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isProcessing</h4>
|
|
<pre>public boolean isProcessing(<a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/block/Block.html?is-external=true" title="class or interface in org.bukkit.block">Block</a> b)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="registerRecipe-me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems.MachineRecipe-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>registerRecipe</h4>
|
|
<pre>public void registerRecipe(<a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/MachineRecipe.html" title="class in me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems">MachineRecipe</a> recipe)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="registerRecipe-int-org.bukkit.inventory.ItemStack:A-org.bukkit.inventory.ItemStack:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>registerRecipe</h4>
|
|
<pre>public void registerRecipe(int seconds,
|
|
<a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/ItemStack.html?is-external=true" title="class or interface in org.bukkit.inventory">ItemStack</a>[] input,
|
|
<a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/ItemStack.html?is-external=true" title="class or interface in org.bukkit.inventory">ItemStack</a>[] output)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="preRegister--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>preRegister</h4>
|
|
<pre>public void preRegister()</pre>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
|
<dd><code><a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html#preRegister--">preRegister</a></code> in class <code><a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html" title="class in me.mrCookieSlime.Slimefun.Objects.SlimefunItem">SlimefunItem</a></code></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>
|
|
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
|
<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="class-use/AContainer.html">Use</a></li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../../../index-files/index-1.html">Index</a></li>
|
|
<li><a href="../../../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li>Prev Class</li>
|
|
<li><a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AGenerator.html" title="class in me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems"><span class="typeNameLink">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../../../../index.html?me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AContainer.html" target="_top">Frames</a></li>
|
|
<li><a href="AContainer.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>
|