diff options
| author | Foghrye4 <foghrye4@gmail.com> | 2017-08-10 18:52:45 +0300 |
|---|---|---|
| committer | Foghrye4 <foghrye4@gmail.com> | 2017-08-10 18:52:45 +0300 |
| commit | 0427ab89f1753a44b30cbc35ce021cbbdc845109 (patch) | |
| tree | abe418ff5ec174e712fe8dedd434548a945b15a3 /javadoc/net/minecraftforge/fluids | |
| parent | 877312184c472d9845e5ef1008bc538f4634059f (diff) | |
fix missing source folder
Diffstat (limited to 'javadoc/net/minecraftforge/fluids')
27 files changed, 11662 insertions, 0 deletions
diff --git a/javadoc/net/minecraftforge/fluids/BlockFluidBase.html b/javadoc/net/minecraftforge/fluids/BlockFluidBase.html new file mode 100644 index 0000000..0bc06ce --- /dev/null +++ b/javadoc/net/minecraftforge/fluids/BlockFluidBase.html @@ -0,0 +1,1161 @@ +<!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:17 EST 2015 --> +<title>BlockFluidBase (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="BlockFluidBase (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>Prev Class</li> +<li><a href="../../../net/minecraftforge/fluids/BlockFluidClassic.html" title="class in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/BlockFluidBase.html" target="_top">Frames</a></li> +<li><a href="BlockFluidBase.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_classes_inherited_from_class_net.minecraft.block.Block">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.minecraftforge.fluids</div> +<h2 title="Class BlockFluidBase" class="title">Class BlockFluidBase</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li><a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">net.minecraft.block.Block</a></li> +<li> +<ul class="inheritance"> +<li>net.minecraftforge.fluids.BlockFluidBase</li> +</ul> +</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Implemented Interfaces:</dt> +<dd><a href="../../../net/minecraftforge/fluids/IFluidBlock.html" title="interface in net.minecraftforge.fluids">IFluidBlock</a></dd> +</dl> +<dl> +<dt>Direct Known Subclasses:</dt> +<dd><a href="../../../net/minecraftforge/fluids/BlockFluidClassic.html" title="class in net.minecraftforge.fluids">BlockFluidClassic</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidFinite.html" title="class in net.minecraftforge.fluids">BlockFluidFinite</a></dd> +</dl> +<hr> +<br> +<pre>public abstract class <span class="strong">BlockFluidBase</span> +extends <a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> +implements <a href="../../../net/minecraftforge/fluids/IFluidBlock.html" title="interface in net.minecraftforge.fluids">IFluidBlock</a></pre> +<div class="block">This is a base implementation for Fluid blocks. + + It is highly recommended that you extend this class or one of the Forge-provided child classes.</div> +</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> +<ul class="blockList"> +<li class="blockList"><a name="nested_classes_inherited_from_class_net.minecraft.block.Block"> +<!-- --> +</a> +<h3>Nested classes/interfaces inherited from class net.minecraft.block.<a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></h3> +<code><a href="../../../net/minecraft/block/Block.SoundType.html" title="class in net.minecraft.block">Block.SoundType</a></code></li> +</ul> +</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 static java.util.Map<<a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a>,java.lang.Boolean></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#defaultDisplacements">defaultDisplacements</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#density">density</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#densityDir">densityDir</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected java.util.Map<<a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a>,java.lang.Boolean></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#displacements">displacements</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected java.lang.String</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#fluidName">fluidName</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#maxScaledLight">maxScaledLight</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#quantaPerBlock">quantaPerBlock</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected float</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#quantaPerBlockFloat">quantaPerBlockFloat</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#renderPass">renderPass</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#temperature">temperature</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#tickRate">tickRate</a></strong></code> </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="fields_inherited_from_class_net.minecraft.block.Block"> +<!-- --> +</a> +<h3>Fields inherited from class net.minecraft.block.<a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></h3> +<code><a href="../../../net/minecraft/block/Block.html#blockConstructorCalled">blockConstructorCalled</a>, <a href="../../../net/minecraft/block/Block.html#blockHardness">blockHardness</a>, <a href="../../../net/minecraft/block/Block.html#blockIcon">blockIcon</a>, <a href="../../../net/minecraft/block/Block.html#blockMaterial">blockMaterial</a>, <a href="../../../net/minecraft/block/Block.html#blockParticleGravity">blockParticleGravity</a>, <a href="../../../net/minecraft/block/Block.html#blockRegistry">blockRegistry</a>, <a href="../../../net/minecraft/block/Block.html#blockResistance">blockResistance</a>, <a href="../../../net/minecraft/block/Block.html#canBlockGrass">canBlockGrass</a>, <a href="../../../net/minecraft/block/Block.html#capturedDrops">capturedDrops</a>, <a href="../../../net/minecraft/block/Block.html#captureDrops">captureDrops</a>, <a href="../../../net/minecraft/block/Block.html#delegate">delegate</a>, <a href="../../../net/minecraft/block/Block.html#enableStats">enableStats</a>, <a href="../../../net/minecraft/block/Block.html#harvesters">harvesters</a>, <a href="../../../net/minecraft/block/Block.html#isBlockContainer">isBlockContainer</a>, <a href="../../../net/minecraft/block/Block.html#lightOpacity">lightOpacity</a>, <a href="../../../net/minecraft/block/Block.html#lightValue">lightValue</a>, <a href="../../../net/minecraft/block/Block.html#maxX">maxX</a>, <a href="../../../net/minecraft/block/Block.html#maxY">maxY</a>, <a href="../../../net/minecraft/block/Block.html#maxZ">maxZ</a>, <a href="../../../net/minecraft/block/Block.html#minX">minX</a>, <a href="../../../net/minecraft/block/Block.html#minY">minY</a>, <a href="../../../net/minecraft/block/Block.html#minZ">minZ</a>, <a href="../../../net/minecraft/block/Block.html#needsRandomTick">needsRandomTick</a>, <a href="../../../net/minecraft/block/Block.html#opaque">opaque</a>, <a href="../../../net/minecraft/block/Block.html#slipperiness">slipperiness</a>, <a href="../../../net/minecraft/block/Block.html#soundTypeAnvil">soundTypeAnvil</a>, <a href="../../../net/minecraft/block/Block.html#soundTypeCloth">soundTypeCloth</a>, <a href="../../../net/minecraft/block/Block.html#soundTypeGlass">soundTypeGlass</a>, <a href="../../../net/minecraft/block/Block.html#soundTypeGrass">soundTypeGrass</a>, <a href="../../../net/minecraft/block/Block.html#soundTypeGravel">soundTypeGravel</a>, <a href="../../../net/minecraft/block/Block.html#soundTypeLadder">soundTypeLadder</a>, <a href="../../../net/minecraft/block/Block.html#soundTypeMetal">soundTypeMetal</a>, <a href="../../../net/minecraft/block/Block.html#soundTypePiston">soundTypePiston</a>, <a href="../../../net/minecraft/block/Block.html#soundTypeSand">soundTypeSand</a>, <a href="../../../net/minecraft/block/Block.html#soundTypeSnow">soundTypeSnow</a>, <a href="../../../net/minecraft/block/Block.html#soundTypeStone">soundTypeStone</a>, <a href="../../../net/minecraft/block/Block.html#soundTypeWood">soundTypeWood</a>, <a href="../../../net/minecraft/block/Block.html#stepSound">stepSound</a>, <a href="../../../net/minecraft/block/Block.html#textureName">textureName</a>, <a href="../../../net/minecraft/block/Block.html#useNeighborBrightness">useNeighborBrightness</a></code></li> +</ul> +</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/minecraftforge/fluids/BlockFluidBase.html#BlockFluidBase(net.minecraftforge.fluids.Fluid,%20net.minecraft.block.material.Material)">BlockFluidBase</a></strong>(<a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> fluid, + <a href="../../../net/minecraft/block/material/Material.html" title="class in net.minecraft.block.material">Material</a> material)</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>abstract boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#canCollideCheck(int,%20boolean)">canCollideCheck</a></strong>(int meta, + boolean fullHit)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#canDisplace(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">canDisplace</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</code> +<div class="block">Returns true if the block at (x, y, z) is displaceable.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#displaceIfPossible(net.minecraft.world.World,%20int,%20int,%20int)">displaceIfPossible</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</code> +<div class="block">Attempt to displace the block at (x, y, z), return true if it was displaced.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#func_149698_L()">func_149698_L</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getBlocksMovement(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getBlocksMovement</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraft/util/AxisAlignedBB.html" title="class in net.minecraft.util">AxisAlignedBB</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getCollisionBoundingBoxFromPool(net.minecraft.world.World,%20int,%20int,%20int)">getCollisionBoundingBoxFromPool</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getDensity(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getDensity</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>float</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getFilledPercentage(net.minecraft.world.World,%20int,%20int,%20int)">getFilledPercentage</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</code> +<div class="block">Returns the amount of a single block is filled.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static double</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getFlowDirection(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getFlowDirection</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraft/util/Vec3.html" title="class in net.minecraft.util">Vec3</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getFlowVector(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getFlowVector</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getFluid()">getFluid</a></strong>()</code> +<div class="block">Returns the Fluid associated with this Block.</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/minecraftforge/fluids/BlockFluidBase.html#getItemDropped(int,%20java.util.Random,%20int)">getItemDropped</a></strong>(int par1, + java.util.Random par2Random, + int par3)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getLightValue(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getLightValue</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</code> +<div class="block">Get a light value for the block at the specified coordinates, normal ranges are between 0 and 15</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>abstract int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getMaxRenderHeightMeta()">getMaxRenderHeightMeta</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getMixedBrightnessForBlock(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getMixedBrightnessForBlock</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>float</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getQuantaPercentage(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getQuantaPercentage</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>abstract int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getQuantaValue(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getQuantaValue</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getQuantaValueAbove(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20int)">getQuantaValueAbove</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z, + int aboveThis)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getQuantaValueBelow(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20int)">getQuantaValueBelow</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z, + int belowThis)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getRenderBlockPass()">getRenderBlockPass</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getRenderType()">getRenderType</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getTemperature(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getTemperature</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#isOpaqueCube()">isOpaqueCube</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#onBlockAdded(net.minecraft.world.World,%20int,%20int,%20int)">onBlockAdded</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#onNeighborBlockChange(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.block.Block)">onNeighborBlockChange</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/block/Block.html" title="class in net.minecraft.block">Block</a> block)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#quantityDropped(java.util.Random)">quantityDropped</a></strong>(java.util.Random par1Random)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#renderAsNormalBlock()">renderAsNormalBlock</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html" title="class in net.minecraftforge.fluids">BlockFluidBase</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#setDensity(int)">setDensity</a></strong>(int density)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html" title="class in net.minecraftforge.fluids">BlockFluidBase</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#setMaxScaledLight(int)">setMaxScaledLight</a></strong>(int maxScaledLight)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html" title="class in net.minecraftforge.fluids">BlockFluidBase</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#setQuantaPerBlock(int)">setQuantaPerBlock</a></strong>(int quantaPerBlock)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html" title="class in net.minecraftforge.fluids">BlockFluidBase</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#setRenderPass(int)">setRenderPass</a></strong>(int renderPass)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html" title="class in net.minecraftforge.fluids">BlockFluidBase</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#setTemperature(int)">setTemperature</a></strong>(int temperature)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html" title="class in net.minecraftforge.fluids">BlockFluidBase</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#setTickRate(int)">setTickRate</a></strong>(int tickRate)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#shouldSideBeRendered(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20int)">shouldSideBeRendered</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z, + int side)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#tickRate(net.minecraft.world.World)">tickRate</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#velocityToAddToEntity(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.entity.Entity,%20net.minecraft.util.Vec3)">velocityToAddToEntity</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/Entity.html" title="class in net.minecraft.entity">Entity</a> entity, + <a href="../../../net/minecraft/util/Vec3.html" title="class in net.minecraft.util">Vec3</a> vec)</code> </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_net.minecraft.block.Block"> +<!-- --> +</a> +<h3>Methods inherited from class net.minecraft.block.<a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></h3> +<code><a href="../../../net/minecraft/block/Block.html#addCollisionBoxesToList(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.util.AxisAlignedBB,%20java.util.List,%20net.minecraft.entity.Entity)">addCollisionBoxesToList</a>, <a href="../../../net/minecraft/block/Block.html#addDestroyEffects(net.minecraft.world.World,%20int,%20int,%20int,%20int,%20net.minecraft.client.particle.EffectRenderer)">addDestroyEffects</a>, <a href="../../../net/minecraft/block/Block.html#addHitEffects(net.minecraft.world.World,%20net.minecraft.util.MovingObjectPosition,%20net.minecraft.client.particle.EffectRenderer)">addHitEffects</a>, <a href="../../../net/minecraft/block/Block.html#beginLeavesDecay(net.minecraft.world.World,%20int,%20int,%20int)">beginLeavesDecay</a>, <a href="../../../net/minecraft/block/Block.html#breakBlock(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.block.Block,%20int)">breakBlock</a>, <a href="../../../net/minecraft/block/Block.html#canBeReplacedByLeaves(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">canBeReplacedByLeaves</a>, <a href="../../../net/minecraft/block/Block.html#canBlockStay(net.minecraft.world.World,%20int,%20int,%20int)">canBlockStay</a>, <a href="../../../net/minecraft/block/Block.html#canConnectRedstone(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20int)">canConnectRedstone</a>, <a href="../../../net/minecraft/block/Block.html#canCreatureSpawn(net.minecraft.entity.EnumCreatureType,%20net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">canCreatureSpawn</a>, <a href="../../../net/minecraft/block/Block.html#canDropFromExplosion(net.minecraft.world.Explosion)">canDropFromExplosion</a>, <a href="../../../net/minecraft/block/Block.html#canEntityDestroy(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20net.minecraft.entity.Entity)">canEntityDestroy</a>, <a href="../../../net/minecraft/block/Block.html#canHarvestBlock(net.minecraft.entity.player.EntityPlayer,%20int)">canHarvestBlock</a>, <a href="../../../net/minecraft/block/Block.html#canPlaceBlockAt(net.minecraft.world.World,%20int,%20int,%20int)">canPlaceBlockAt</a>, <a href="../../../net/minecraft/block/Block.html#canPlaceBlockOnSide(net.minecraft.world.World,%20int,%20int,%20int,%20int)">canPlaceBlockOnSide</a>, <a href="../../../net/minecraft/block/Block.html#canPlaceTorchOnTop(net.minecraft.world.World,%20int,%20int,%20int)">canPlaceTorchOnTop</a>, <a href="../../../net/minecraft/block/Block.html#canProvidePower()">canProvidePower</a>, <a href="../../../net/minecraft/block/Block.html#canRenderInPass(int)">canRenderInPass</a>, <a href="../../../net/minecraft/block/Block.html#canReplace(net.minecraft.world.World,%20int,%20int,%20int,%20int,%20net.minecraft.item.ItemStack)">canReplace</a>, <a href="../../../net/minecraft/block/Block.html#canSilkHarvest()">canSilkHarvest</a>, <a href="../../../net/minecraft/block/Block.html#canSilkHarvest(net.minecraft.world.World,%20net.minecraft.entity.player.EntityPlayer,%20int,%20int,%20int,%20int)">canSilkHarvest</a>, <a href="../../../net/minecraft/block/Block.html#canSustainLeaves(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">canSustainLeaves</a>, <a href="../../../net/minecraft/block/Block.html#canSustainPlant(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20net.minecraftforge.common.util.ForgeDirection,%20net.minecraftforge.common.IPlantable)">canSustainPlant</a>, <a href="../../../net/minecraft/block/Block.html#captureDrops(boolean)">captureDrops</a>, <a href="../../../net/minecraft/block/Block.html#collisionRayTrace(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.util.Vec3,%20net.minecraft.util.Vec3)">collisionRayTrace</a>, <a href="../../../net/minecraft/block/Block.html#colorMultiplier(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">colorMultiplier</a>, <a href="../../../net/minecraft/block/Block.html#createStackedBlock(int)">createStackedBlock</a>, <a href="../../../net/minecraft/block/Block.html#createTileEntity(net.minecraft.world.World,%20int)">createTileEntity</a>, <a href="../../../net/minecraft/block/Block.html#damageDropped(int)">damageDropped</a>, <a href="../../../net/minecraft/block/Block.html#disableStats()">disableStats</a>, <a href="../../../net/minecraft/block/Block.html#dropBlockAsItem(net.minecraft.world.World,%20int,%20int,%20int,%20int,%20int)">dropBlockAsItem</a>, <a href="../../../net/minecraft/block/Block.html#dropBlockAsItem(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.item.ItemStack)">dropBlockAsItem</a>, <a href="../../../net/minecraft/block/Block.html#dropBlockAsItemWithChance(net.minecraft.world.World,%20int,%20int,%20int,%20int,%20float,%20int)">dropBlockAsItemWithChance</a>, <a href="../../../net/minecraft/block/Block.html#dropXpOnBlockBreak(net.minecraft.world.World,%20int,%20int,%20int,%20int)">dropXpOnBlockBreak</a>, <a href="../../../net/minecraft/block/Block.html#fillWithRain(net.minecraft.world.World,%20int,%20int,%20int)">fillWithRain</a>, <a href="../../../net/minecraft/block/Block.html#func_149730_j()">func_149730_j</a>, <a href="../../../net/minecraft/block/Block.html#func_149735_b(int,%20int)">func_149735_b</a>, <a href="../../../net/minecraft/block/Block.html#getAmbientOcclusionLightValue()">getAmbientOcclusionLightValue</a>, <a href="../../../net/minecraft/block/Block.html#getBedDirection(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getBedDirection</a>, <a href="../../../net/minecraft/block/Block.html#getBedSpawnPosition(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20net.minecraft.entity.player.EntityPlayer)">getBedSpawnPosition</a>, <a href="../../../net/minecraft/block/Block.html#getBlockBoundsMaxX()">getBlockBoundsMaxX</a>, <a href="../../../net/minecraft/block/Block.html#getBlockBoundsMaxY()">getBlockBoundsMaxY</a>, <a href="../../../net/minecraft/block/Block.html#getBlockBoundsMaxZ()">getBlockBoundsMaxZ</a>, <a href="../../../net/minecraft/block/Block.html#getBlockBoundsMinX()">getBlockBoundsMinX</a>, <a href="../../../net/minecraft/block/Block.html#getBlockBoundsMinY()">getBlockBoundsMinY</a>, <a href="../../../net/minecraft/block/Block.html#getBlockBoundsMinZ()">getBlockBoundsMinZ</a>, <a href="../../../net/minecraft/block/Block.html#getBlockById(int)">getBlockById</a>, <a href="../../../net/minecraft/block/Block.html#getBlockColor()">getBlockColor</a>, <a href="../../../net/minecraft/block/Block.html#getBlockFromItem(net.minecraft.item.Item)">getBlockFromItem</a>, <a href="../../../net/minecraft/block/Block.html#getBlockFromName(java.lang.String)">getBlockFromName</a>, <a href="../../../net/minecraft/block/Block.html#getBlockHardness(net.minecraft.world.World,%20int,%20int,%20int)">getBlockHardness</a>, <a href="../../../net/minecraft/block/Block.html#getBlockTextureFromSide(int)">getBlockTextureFromSide</a>, <a href="../../../net/minecraft/block/Block.html#getCanBlockGrass()">getCanBlockGrass</a>, <a href="../../../net/minecraft/block/Block.html#getComparatorInputOverride(net.minecraft.world.World,%20int,%20int,%20int,%20int)">getComparatorInputOverride</a>, <a href="../../../net/minecraft/block/Block.html#getCreativeTabToDisplayOn()">getCreativeTabToDisplayOn</a>, <a href="../../../net/minecraft/block/Block.html#getDamageValue(net.minecraft.world.World,%20int,%20int,%20int)">getDamageValue</a>, <a href="../../../net/minecraft/block/Block.html#getDrops(net.minecraft.world.World,%20int,%20int,%20int,%20int,%20int)">getDrops</a>, <a href="../../../net/minecraft/block/Block.html#getEnableStats()">getEnableStats</a>, <a href="../../../net/minecraft/block/Block.html#getEnchantPowerBonus(net.minecraft.world.World,%20int,%20int,%20int)">getEnchantPowerBonus</a>, <a href="../../../net/minecraft/block/Block.html#getExpDrop(net.minecraft.world.IBlockAccess,%20int,%20int)">getExpDrop</a>, <a href="../../../net/minecraft/block/Block.html#getExplosionResistance(net.minecraft.entity.Entity)">getExplosionResistance</a>, <a href="../../../net/minecraft/block/Block.html#getExplosionResistance(net.minecraft.entity.Entity,%20net.minecraft.world.World,%20int,%20int,%20int,%20double,%20double,%20double)">getExplosionResistance</a>, <a href="../../../net/minecraft/block/Block.html#getFireSpreadSpeed(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20net.minecraftforge.common.util.ForgeDirection)">getFireSpreadSpeed</a>, <a href="../../../net/minecraft/block/Block.html#getFlammability(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20net.minecraftforge.common.util.ForgeDirection)">getFlammability</a>, <a href="../../../net/minecraft/block/Block.html#getHarvestLevel(int)">getHarvestLevel</a>, <a href="../../../net/minecraft/block/Block.html#getHarvestTool(int)">getHarvestTool</a>, <a href="../../../net/minecraft/block/Block.html#getIcon(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20int)">getIcon</a>, <a href="../../../net/minecraft/block/Block.html#getIcon(int,%20int)">getIcon</a>, <a href="../../../net/minecraft/block/Block.html#getIdFromBlock(net.minecraft.block.Block)">getIdFromBlock</a>, <a href="../../../net/minecraft/block/Block.html#getItem(net.minecraft.world.World,%20int,%20int,%20int)">getItem</a>, <a href="../../../net/minecraft/block/Block.html#getItemIconName()">getItemIconName</a>, <a href="../../../net/minecraft/block/Block.html#getLightOpacity()">getLightOpacity</a>, <a href="../../../net/minecraft/block/Block.html#getLightOpacity(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getLightOpacity</a>, <a href="../../../net/minecraft/block/Block.html#getLightValue()">getLightValue</a>, <a href="../../../net/minecraft/block/Block.html#getLocalizedName()">getLocalizedName</a>, <a href="../../../net/minecraft/block/Block.html#getMapColor(int)">getMapColor</a>, <a href="../../../net/minecraft/block/Block.html#getMaterial()">getMaterial</a>, <a href="../../../net/minecraft/block/Block.html#getMobilityFlag()">getMobilityFlag</a>, <a href="../../../net/minecraft/block/Block.html#getPickBlock(net.minecraft.util.MovingObjectPosition,%20net.minecraft.world.World,%20int,%20int,%20int)">getPickBlock</a>, <a href="../../../net/minecraft/block/Block.html#getPickBlock(net.minecraft.util.MovingObjectPosition,%20net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.entity.player.EntityPlayer)">getPickBlock</a>, <a href="../../../net/minecraft/block/Block.html#getPlayerRelativeBlockHardness(net.minecraft.entity.player.EntityPlayer,%20net.minecraft.world.World,%20int,%20int,%20int)">getPlayerRelativeBlockHardness</a>, <a href="../../../net/minecraft/block/Block.html#getRenderColor(int)">getRenderColor</a>, <a href="../../../net/minecraft/block/Block.html#getSelectedBoundingBoxFromPool(net.minecraft.world.World,%20int,%20int,%20int)">getSelectedBoundingBoxFromPool</a>, <a href="../../../net/minecraft/block/Block.html#getSubBlocks(net.minecraft.item.Item,%20net.minecraft.creativetab.CreativeTabs,%20java.util.List)">getSubBlocks</a>, <a href="../../../net/minecraft/block/Block.html#getTextureName()">getTextureName</a>, <a href="../../../net/minecraft/block/Block.html#getTickRandomly()">getTickRandomly</a>, <a href="../../../net/minecraft/block/Block.html#getUnlocalizedName()">getUnlocalizedName</a>, <a href="../../../net/minecraft/block/Block.html#getUseNeighborBrightness()">getUseNeighborBrightness</a>, <a href="../../../net/minecraft/block/Block.html#getValidRotations(net.minecraft.world.World,%20int,%20int,%20int)">getValidRotations</a>, <a href="../../../net/minecraft/block/Block.html#getWeakChanges(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getWeakChanges</a>, <a href="../../../net/minecraft/block/Block.html#harvestBlock(net.minecraft.world.World,%20net.minecraft.entity.player.EntityPlayer,%20int,%20int,%20int,%20int)">harvestBlock</a>, <a href="../../../net/minecraft/block/Block.html#hasComparatorInputOverride()">hasComparatorInputOverride</a>, <a href="../../../net/minecraft/block/Block.html#hasTileEntity()">hasTileEntity</a>, <a href="../../../net/minecraft/block/Block.html#hasTileEntity(int)">hasTileEntity</a>, <a href="../../../net/minecraft/block/Block.html#isAir(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">isAir</a>, <a href="../../../net/minecraft/block/Block.html#isAssociatedBlock(net.minecraft.block.Block)">isAssociatedBlock</a>, <a href="../../../net/minecraft/block/Block.html#isBeaconBase(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20int,%20int,%20int)">isBeaconBase</a>, <a href="../../../net/minecraft/block/Block.html#isBed(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20net.minecraft.entity.EntityLivingBase)">isBed</a>, <a href="../../../net/minecraft/block/Block.html#isBedFoot(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">isBedFoot</a>, <a href="../../../net/minecraft/block/Block.html#isBlockNormalCube()">isBlockNormalCube</a>, <a href="../../../net/minecraft/block/Block.html#isBlockSolid(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20int)">isBlockSolid</a>, <a href="../../../net/minecraft/block/Block.html#isBurning(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">isBurning</a>, <a href="../../../net/minecraft/block/Block.html#isCollidable()">isCollidable</a>, <a href="../../../net/minecraft/block/Block.html#isEqualTo(net.minecraft.block.Block,%20net.minecraft.block.Block)">isEqualTo</a>, <a href="../../../net/minecraft/block/Block.html#isFertile(net.minecraft.world.World,%20int,%20int,%20int)">isFertile</a>, <a href="../../../net/minecraft/block/Block.html#isFireSource(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraftforge.common.util.ForgeDirection)">isFireSource</a>, <a href="../../../net/minecraft/block/Block.html#isFlammable(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20net.minecraftforge.common.util.ForgeDirection)">isFlammable</a>, <a href="../../../net/minecraft/block/Block.html#isFlowerPot()">isFlowerPot</a>, <a href="../../../net/minecraft/block/Block.html#isFoliage(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">isFoliage</a>, <a href="../../../net/minecraft/block/Block.html#isLadder(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20net.minecraft.entity.EntityLivingBase)">isLadder</a>, <a href="../../../net/minecraft/block/Block.html#isLeaves(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">isLeaves</a>, <a href="../../../net/minecraft/block/Block.html#isNormalCube()">isNormalCube</a>, <a href="../../../net/minecraft/block/Block.html#isNormalCube(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">isNormalCube</a>, <a href="../../../net/minecraft/block/Block.html#isProvidingStrongPower(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20int)">isProvidingStrongPower</a>, <a href="../../../net/minecraft/block/Block.html#isProvidingWeakPower(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20int)">isProvidingWeakPower</a>, <a href="../../../net/minecraft/block/Block.html#isReplaceable(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">isReplaceable</a>, <a href="../../../net/minecraft/block/Block.html#isReplaceableOreGen(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.block.Block)">isReplaceableOreGen</a>, <a href="../../../net/minecraft/block/Block.html#isSideSolid(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20net.minecraftforge.common.util.ForgeDirection)">isSideSolid</a>, <a href="../../../net/minecraft/block/Block.html#isToolEffective(java.lang.String,%20int)">isToolEffective</a>, <a href="../../../net/minecraft/block/Block.html#isWood(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">isWood</a>, <a href="../../../net/minecraft/block/Block.html#onBlockActivated(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.entity.player.EntityPlayer,%20int,%20float,%20float,%20float)">onBlockActivated</a>, <a href="../../../net/minecraft/block/Block.html#onBlockClicked(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.entity.player.EntityPlayer)">onBlockClicked</a>, <a href="../../../net/minecraft/block/Block.html#onBlockDestroyedByExplosion(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.world.Explosion)">onBlockDestroyedByExplosion</a>, <a href="../../../net/minecraft/block/Block.html#onBlockDestroyedByPlayer(net.minecraft.world.World,%20int,%20int,%20int,%20int)">onBlockDestroyedByPlayer</a>, <a href="../../../net/minecraft/block/Block.html#onBlockEventReceived(net.minecraft.world.World,%20int,%20int,%20int,%20int,%20int)">onBlockEventReceived</a>, <a href="../../../net/minecraft/block/Block.html#onBlockExploded(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.world.Explosion)">onBlockExploded</a>, <a href="../../../net/minecraft/block/Block.html#onBlockHarvested(net.minecraft.world.World,%20int,%20int,%20int,%20int,%20net.minecraft.entity.player.EntityPlayer)">onBlockHarvested</a>, <a href="../../../net/minecraft/block/Block.html#onBlockPlaced(net.minecraft.world.World,%20int,%20int,%20int,%20int,%20float,%20float,%20float,%20int)">onBlockPlaced</a>, <a href="../../../net/minecraft/block/Block.html#onBlockPlacedBy(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.entity.EntityLivingBase,%20net.minecraft.item.ItemStack)">onBlockPlacedBy</a>, <a href="../../../net/minecraft/block/Block.html#onBlockPreDestroy(net.minecraft.world.World,%20int,%20int,%20int,%20int)">onBlockPreDestroy</a>, <a href="../../../net/minecraft/block/Block.html#onEntityCollidedWithBlock(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.entity.Entity)">onEntityCollidedWithBlock</a>, <a href="../../../net/minecraft/block/Block.html#onEntityWalking(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.entity.Entity)">onEntityWalking</a>, <a href="../../../net/minecraft/block/Block.html#onFallenUpon(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.entity.Entity,%20float)">onFallenUpon</a>, <a href="../../../net/minecraft/block/Block.html#onNeighborChange(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20int,%20int,%20int)">onNeighborChange</a>, <a href="../../../net/minecraft/block/Block.html#onPlantGrow(net.minecraft.world.World,%20int,%20int,%20int,%20int,%20int,%20int)">onPlantGrow</a>, <a href="../../../net/minecraft/block/Block.html#onPostBlockPlaced(net.minecraft.world.World,%20int,%20int,%20int,%20int)">onPostBlockPlaced</a>, <a href="../../../net/minecraft/block/Block.html#quantityDropped(int,%20int,%20java.util.Random)">quantityDropped</a>, <a href="../../../net/minecraft/block/Block.html#quantityDroppedWithBonus(int,%20java.util.Random)">quantityDroppedWithBonus</a>, <a href="../../../net/minecraft/block/Block.html#randomDisplayTick(net.minecraft.world.World,%20int,%20int,%20int,%20java.util.Random)">randomDisplayTick</a>, <a href="../../../net/minecraft/block/Block.html#recolourBlock(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraftforge.common.util.ForgeDirection,%20int)">recolourBlock</a>, <a href="../../../net/minecraft/block/Block.html#registerBlockIcons(net.minecraft.client.renderer.texture.IIconRegister)">registerBlockIcons</a>, <a href="../../../net/minecraft/block/Block.html#registerBlocks()">registerBlocks</a>, <a href="../../../net/minecraft/block/Block.html#removedByPlayer(net.minecraft.world.World,%20net.minecraft.entity.player.EntityPlayer,%20int,%20int,%20int)">removedByPlayer</a>, <a href="../../../net/minecraft/block/Block.html#removedByPlayer(net.minecraft.world.World,%20net.minecraft.entity.player.EntityPlayer,%20int,%20int,%20int,%20boolean)">removedByPlayer</a>, <a href="../../../net/minecraft/block/Block.html#rotateBlock(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraftforge.common.util.ForgeDirection)">rotateBlock</a>, <a href="../../../net/minecraft/block/Block.html#setBedOccupied(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20net.minecraft.entity.player.EntityPlayer,%20boolean)">setBedOccupied</a>, <a href="../../../net/minecraft/block/Block.html#setBlockBounds(float,%20float,%20float,%20float,%20float,%20float)">setBlockBounds</a>, <a href="../../../net/minecraft/block/Block.html#setBlockBoundsBasedOnState(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">setBlockBoundsBasedOnState</a>, <a href="../../../net/minecraft/block/Block.html#setBlockBoundsForItemRender()">setBlockBoundsForItemRender</a>, <a href="../../../net/minecraft/block/Block.html#setBlockName(java.lang.String)">setBlockName</a>, <a href="../../../net/minecraft/block/Block.html#setBlockTextureName(java.lang.String)">setBlockTextureName</a>, <a href="../../../net/minecraft/block/Block.html#setBlockUnbreakable()">setBlockUnbreakable</a>, <a href="../../../net/minecraft/block/Block.html#setCreativeTab(net.minecraft.creativetab.CreativeTabs)">setCreativeTab</a>, <a href="../../../net/minecraft/block/Block.html#setHardness(float)">setHardness</a>, <a href="../../../net/minecraft/block/Block.html#setHarvestLevel(java.lang.String,%20int)">setHarvestLevel</a>, <a href="../../../net/minecraft/block/Block.html#setHarvestLevel(java.lang.String,%20int,%20int)">setHarvestLevel</a>, <a href="../../../net/minecraft/block/Block.html#setLightLevel(float)">setLightLevel</a>, <a href="../../../net/minecraft/block/Block.html#setLightOpacity(int)">setLightOpacity</a>, <a href="../../../net/minecraft/block/Block.html#setResistance(float)">setResistance</a>, <a href="../../../net/minecraft/block/Block.html#setStepSound(net.minecraft.block.Block.SoundType)">setStepSound</a>, <a href="../../../net/minecraft/block/Block.html#setTickRandomly(boolean)">setTickRandomly</a>, <a href="../../../net/minecraft/block/Block.html#shouldCheckWeakPower(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20int)">shouldCheckWeakPower</a>, <a href="../../../net/minecraft/block/Block.html#updateTick(net.minecraft.world.World,%20int,%20int,%20int,%20java.util.Random)">updateTick</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>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_net.minecraftforge.fluids.IFluidBlock"> +<!-- --> +</a> +<h3>Methods inherited from interface net.minecraftforge.fluids.<a href="../../../net/minecraftforge/fluids/IFluidBlock.html" title="interface in net.minecraftforge.fluids">IFluidBlock</a></h3> +<code><a href="../../../net/minecraftforge/fluids/IFluidBlock.html#canDrain(net.minecraft.world.World,%20int,%20int,%20int)">canDrain</a>, <a href="../../../net/minecraftforge/fluids/IFluidBlock.html#drain(net.minecraft.world.World,%20int,%20int,%20int,%20boolean)">drain</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="defaultDisplacements"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>defaultDisplacements</h4> +<pre>protected static final java.util.Map<<a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a>,java.lang.Boolean> defaultDisplacements</pre> +</li> +</ul> +<a name="displacements"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>displacements</h4> +<pre>protected java.util.Map<<a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a>,java.lang.Boolean> displacements</pre> +</li> +</ul> +<a name="quantaPerBlock"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>quantaPerBlock</h4> +<pre>protected int quantaPerBlock</pre> +</li> +</ul> +<a name="quantaPerBlockFloat"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>quantaPerBlockFloat</h4> +<pre>protected float quantaPerBlockFloat</pre> +</li> +</ul> +<a name="density"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>density</h4> +<pre>protected int density</pre> +</li> +</ul> +<a name="densityDir"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>densityDir</h4> +<pre>protected int densityDir</pre> +</li> +</ul> +<a name="temperature"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>temperature</h4> +<pre>protected int temperature</pre> +</li> +</ul> +<a name="tickRate"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>tickRate</h4> +<pre>protected int tickRate</pre> +</li> +</ul> +<a name="renderPass"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>renderPass</h4> +<pre>protected int renderPass</pre> +</li> +</ul> +<a name="maxScaledLight"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>maxScaledLight</h4> +<pre>protected int maxScaledLight</pre> +</li> +</ul> +<a name="fluidName"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>fluidName</h4> +<pre>protected final java.lang.String fluidName</pre> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="BlockFluidBase(net.minecraftforge.fluids.Fluid, net.minecraft.block.material.Material)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>BlockFluidBase</h4> +<pre>public BlockFluidBase(<a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> fluid, + <a href="../../../net/minecraft/block/material/Material.html" title="class in net.minecraft.block.material">Material</a> material)</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="setQuantaPerBlock(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setQuantaPerBlock</h4> +<pre>public <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html" title="class in net.minecraftforge.fluids">BlockFluidBase</a> setQuantaPerBlock(int quantaPerBlock)</pre> +</li> +</ul> +<a name="setDensity(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setDensity</h4> +<pre>public <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html" title="class in net.minecraftforge.fluids">BlockFluidBase</a> setDensity(int density)</pre> +</li> +</ul> +<a name="setTemperature(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setTemperature</h4> +<pre>public <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html" title="class in net.minecraftforge.fluids">BlockFluidBase</a> setTemperature(int temperature)</pre> +</li> +</ul> +<a name="setTickRate(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setTickRate</h4> +<pre>public <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html" title="class in net.minecraftforge.fluids">BlockFluidBase</a> setTickRate(int tickRate)</pre> +</li> +</ul> +<a name="setRenderPass(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setRenderPass</h4> +<pre>public <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html" title="class in net.minecraftforge.fluids">BlockFluidBase</a> setRenderPass(int renderPass)</pre> +</li> +</ul> +<a name="setMaxScaledLight(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setMaxScaledLight</h4> +<pre>public <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html" title="class in net.minecraftforge.fluids">BlockFluidBase</a> setMaxScaledLight(int maxScaledLight)</pre> +</li> +</ul> +<a name="canDisplace(net.minecraft.world.IBlockAccess, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>canDisplace</h4> +<pre>public boolean canDisplace(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</pre> +<div class="block">Returns true if the block at (x, y, z) is displaceable. Does not displace the block.</div> +</li> +</ul> +<a name="displaceIfPossible(net.minecraft.world.World, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>displaceIfPossible</h4> +<pre>public boolean displaceIfPossible(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</pre> +<div class="block">Attempt to displace the block at (x, y, z), return true if it was displaced.</div> +</li> +</ul> +<a name="getQuantaValue(net.minecraft.world.IBlockAccess, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getQuantaValue</h4> +<pre>public abstract int getQuantaValue(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</pre> +</li> +</ul> +<a name="canCollideCheck(int, boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>canCollideCheck</h4> +<pre>public abstract boolean canCollideCheck(int meta, + boolean fullHit)</pre> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code><a href="../../../net/minecraft/block/Block.html#canCollideCheck(int,%20boolean)">canCollideCheck</a></code> in class <code><a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></code></dd> +</dl> +</li> +</ul> +<a name="getMaxRenderHeightMeta()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getMaxRenderHeightMeta</h4> +<pre>public abstract int getMaxRenderHeightMeta()</pre> +</li> +</ul> +<a name="onBlockAdded(net.minecraft.world.World, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>onBlockAdded</h4> +<pre>public void onBlockAdded(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</pre> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code><a href="../../../net/minecraft/block/Block.html#onBlockAdded(net.minecraft.world.World,%20int,%20int,%20int)">onBlockAdded</a></code> in class <code><a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></code></dd> +</dl> +</li> +</ul> +<a name="onNeighborBlockChange(net.minecraft.world.World, int, int, int, net.minecraft.block.Block)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>onNeighborBlockChange</h4> +<pre>public void onNeighborBlockChange(<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/block/Block.html" title="class in net.minecraft.block">Block</a> block)</pre> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code><a href="../../../net/minecraft/block/Block.html#onNeighborBlockChange(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.block.Block)">onNeighborBlockChange</a></code> in class <code><a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></code></dd> +</dl> +</li> +</ul> +<a name="func_149698_L()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>func_149698_L</h4> +<pre>public boolean func_149698_L()</pre> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code><a href="../../../net/minecraft/block/Block.html#func_149698_L()">func_149698_L</a></code> in class <code><a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></code></dd> +</dl> +</li> +</ul> +<a name="getBlocksMovement(net.minecraft.world.IBlockAccess, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getBlocksMovement</h4> +<pre>public boolean getBlocksMovement(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</pre> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code><a href="../../../net/minecraft/block/Block.html#getBlocksMovement(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getBlocksMovement</a></code> in class <code><a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></code></dd> +</dl> +</li> +</ul> +<a name="getCollisionBoundingBoxFromPool(net.minecraft.world.World, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getCollisionBoundingBoxFromPool</h4> +<pre>public <a href="../../../net/minecraft/util/AxisAlignedBB.html" title="class in net.minecraft.util">AxisAlignedBB</a> getCollisionBoundingBoxFromPool(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</pre> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code><a href="../../../net/minecraft/block/Block.html#getCollisionBoundingBoxFromPool(net.minecraft.world.World,%20int,%20int,%20int)">getCollisionBoundingBoxFromPool</a></code> in class <code><a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></code></dd> +</dl> +</li> +</ul> +<a name="getItemDropped(int, java.util.Random, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getItemDropped</h4> +<pre>public <a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a> getItemDropped(int par1, + java.util.Random par2Random, + int par3)</pre> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code><a href="../../../net/minecraft/block/Block.html#getItemDropped(int,%20java.util.Random,%20int)">getItemDropped</a></code> in class <code><a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></code></dd> +</dl> +</li> +</ul> +<a name="quantityDropped(java.util.Random)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>quantityDropped</h4> +<pre>public int quantityDropped(java.util.Random par1Random)</pre> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code><a href="../../../net/minecraft/block/Block.html#quantityDropped(java.util.Random)">quantityDropped</a></code> in class <code><a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></code></dd> +</dl> +</li> +</ul> +<a name="tickRate(net.minecraft.world.World)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>tickRate</h4> +<pre>public int tickRate(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world)</pre> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code><a href="../../../net/minecraft/block/Block.html#tickRate(net.minecraft.world.World)">tickRate</a></code> in class <code><a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></code></dd> +</dl> +</li> +</ul> +<a name="velocityToAddToEntity(net.minecraft.world.World, int, int, int, net.minecraft.entity.Entity, net.minecraft.util.Vec3)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>velocityToAddToEntity</h4> +<pre>public void velocityToAddToEntity(<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/Entity.html" title="class in net.minecraft.entity">Entity</a> entity, + <a href="../../../net/minecraft/util/Vec3.html" title="class in net.minecraft.util">Vec3</a> vec)</pre> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code><a href="../../../net/minecraft/block/Block.html#velocityToAddToEntity(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.entity.Entity,%20net.minecraft.util.Vec3)">velocityToAddToEntity</a></code> in class <code><a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></code></dd> +</dl> +</li> +</ul> +<a name="getLightValue(net.minecraft.world.IBlockAccess, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getLightValue</h4> +<pre>public int getLightValue(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</pre> +<div class="block"><strong>Description copied from class: <code><a href="../../../net/minecraft/block/Block.html#getLightValue(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">Block</a></code></strong></div> +<div class="block">Get a light value for the block at the specified coordinates, normal ranges are between 0 and 15</div> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code><a href="../../../net/minecraft/block/Block.html#getLightValue(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getLightValue</a></code> in class <code><a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></code></dd> +<dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - The current world</dd><dd><code>x</code> - X Position</dd><dd><code>y</code> - Y position</dd><dd><code>z</code> - Z position</dd> +<dt><span class="strong">Returns:</span></dt><dd>The light value</dd></dl> +</li> +</ul> +<a name="getRenderType()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getRenderType</h4> +<pre>public int getRenderType()</pre> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code><a href="../../../net/minecraft/block/Block.html#getRenderType()">getRenderType</a></code> in class <code><a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></code></dd> +</dl> +</li> +</ul> +<a name="isOpaqueCube()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isOpaqueCube</h4> +<pre>public boolean isOpaqueCube()</pre> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code><a href="../../../net/minecraft/block/Block.html#isOpaqueCube()">isOpaqueCube</a></code> in class <code><a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></code></dd> +</dl> +</li> +</ul> +<a name="renderAsNormalBlock()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>renderAsNormalBlock</h4> +<pre>public boolean renderAsNormalBlock()</pre> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code><a href="../../../net/minecraft/block/Block.html#renderAsNormalBlock()">renderAsNormalBlock</a></code> in class <code><a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></code></dd> +</dl> +</li> +</ul> +<a name="getMixedBrightnessForBlock(net.minecraft.world.IBlockAccess, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getMixedBrightnessForBlock</h4> +<pre>public int getMixedBrightnessForBlock(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</pre> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code><a href="../../../net/minecraft/block/Block.html#getMixedBrightnessForBlock(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getMixedBrightnessForBlock</a></code> in class <code><a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></code></dd> +</dl> +</li> +</ul> +<a name="getRenderBlockPass()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getRenderBlockPass</h4> +<pre>public int getRenderBlockPass()</pre> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code><a href="../../../net/minecraft/block/Block.html#getRenderBlockPass()">getRenderBlockPass</a></code> in class <code><a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></code></dd> +</dl> +</li> +</ul> +<a name="shouldSideBeRendered(net.minecraft.world.IBlockAccess, int, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>shouldSideBeRendered</h4> +<pre>public boolean shouldSideBeRendered(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z, + int side)</pre> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code><a href="../../../net/minecraft/block/Block.html#shouldSideBeRendered(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20int)">shouldSideBeRendered</a></code> in class <code><a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></code></dd> +</dl> +</li> +</ul> +<a name="getDensity(net.minecraft.world.IBlockAccess, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getDensity</h4> +<pre>public static final int getDensity(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</pre> +</li> +</ul> +<a name="getTemperature(net.minecraft.world.IBlockAccess, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getTemperature</h4> +<pre>public static final int getTemperature(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</pre> +</li> +</ul> +<a name="getFlowDirection(net.minecraft.world.IBlockAccess, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getFlowDirection</h4> +<pre>public static double getFlowDirection(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</pre> +</li> +</ul> +<a name="getQuantaValueBelow(net.minecraft.world.IBlockAccess, int, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getQuantaValueBelow</h4> +<pre>public final int getQuantaValueBelow(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z, + int belowThis)</pre> +</li> +</ul> +<a name="getQuantaValueAbove(net.minecraft.world.IBlockAccess, int, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getQuantaValueAbove</h4> +<pre>public final int getQuantaValueAbove(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z, + int aboveThis)</pre> +</li> +</ul> +<a name="getQuantaPercentage(net.minecraft.world.IBlockAccess, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getQuantaPercentage</h4> +<pre>public final float getQuantaPercentage(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</pre> +</li> +</ul> +<a name="getFlowVector(net.minecraft.world.IBlockAccess, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getFlowVector</h4> +<pre>public <a href="../../../net/minecraft/util/Vec3.html" title="class in net.minecraft.util">Vec3</a> getFlowVector(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</pre> +</li> +</ul> +<a name="getFluid()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getFluid</h4> +<pre>public <a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> getFluid()</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../net/minecraftforge/fluids/IFluidBlock.html#getFluid()">IFluidBlock</a></code></strong></div> +<div class="block">Returns the Fluid associated with this Block.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../net/minecraftforge/fluids/IFluidBlock.html#getFluid()">getFluid</a></code> in interface <code><a href="../../../net/minecraftforge/fluids/IFluidBlock.html" title="interface in net.minecraftforge.fluids">IFluidBlock</a></code></dd> +</dl> +</li> +</ul> +<a name="getFilledPercentage(net.minecraft.world.World, int, int, int)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>getFilledPercentage</h4> +<pre>public float getFilledPercentage(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../net/minecraftforge/fluids/IFluidBlock.html#getFilledPercentage(net.minecraft.world.World,%20int,%20int,%20int)">IFluidBlock</a></code></strong></div> +<div class="block">Returns the amount of a single block is filled. Value between 0 and 1. + 1 meaning the entire 1x1x1 cube is full, 0 meaning completely empty. + + If the return value is negative. It will be treated as filling the block + from the top down instead of bottom up.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../net/minecraftforge/fluids/IFluidBlock.html#getFilledPercentage(net.minecraft.world.World,%20int,%20int,%20int)">getFilledPercentage</a></code> in interface <code><a href="../../../net/minecraftforge/fluids/IFluidBlock.html" title="interface in net.minecraftforge.fluids">IFluidBlock</a></code></dd> +<dt><span class="strong">Returns:</span></dt><dd></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>Prev Class</li> +<li><a href="../../../net/minecraftforge/fluids/BlockFluidClassic.html" title="class in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/BlockFluidBase.html" target="_top">Frames</a></li> +<li><a href="BlockFluidBase.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_classes_inherited_from_class_net.minecraft.block.Block">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> diff --git a/javadoc/net/minecraftforge/fluids/BlockFluidClassic.html b/javadoc/net/minecraftforge/fluids/BlockFluidClassic.html new file mode 100644 index 0000000..aabb44e --- /dev/null +++ b/javadoc/net/minecraftforge/fluids/BlockFluidClassic.html @@ -0,0 +1,698 @@ +<!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:17 EST 2015 --> +<title>BlockFluidClassic (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="BlockFluidClassic (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/minecraftforge/fluids/BlockFluidBase.html" title="class in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraftforge/fluids/BlockFluidFinite.html" title="class in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/BlockFluidClassic.html" target="_top">Frames</a></li> +<li><a href="BlockFluidClassic.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_classes_inherited_from_class_net.minecraft.block.Block">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.minecraftforge.fluids</div> +<h2 title="Class BlockFluidClassic" class="title">Class BlockFluidClassic</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li><a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">net.minecraft.block.Block</a></li> +<li> +<ul class="inheritance"> +<li><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html" title="class in net.minecraftforge.fluids">net.minecraftforge.fluids.BlockFluidBase</a></li> +<li> +<ul class="inheritance"> +<li>net.minecraftforge.fluids.BlockFluidClassic</li> +</ul> +</li> +</ul> +</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Implemented Interfaces:</dt> +<dd><a href="../../../net/minecraftforge/fluids/IFluidBlock.html" title="interface in net.minecraftforge.fluids">IFluidBlock</a></dd> +</dl> +<hr> +<br> +<pre>public class <span class="strong">BlockFluidClassic</span> +extends <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html" title="class in net.minecraftforge.fluids">BlockFluidBase</a></pre> +<div class="block">This is a fluid block implementation which emulates vanilla Minecraft fluid behavior. + + It is highly recommended that you use/extend this class for "classic" fluid blocks.</div> +</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> +<ul class="blockList"> +<li class="blockList"><a name="nested_classes_inherited_from_class_net.minecraft.block.Block"> +<!-- --> +</a> +<h3>Nested classes/interfaces inherited from class net.minecraft.block.<a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></h3> +<code><a href="../../../net/minecraft/block/Block.SoundType.html" title="class in net.minecraft.block">Block.SoundType</a></code></li> +</ul> +</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 int[]</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidClassic.html#flowCost">flowCost</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected boolean[]</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidClassic.html#isOptimalFlowDirection">isOptimalFlowDirection</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected <a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidClassic.html#stack">stack</a></strong></code> </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="fields_inherited_from_class_net.minecraftforge.fluids.BlockFluidBase"> +<!-- --> +</a> +<h3>Fields inherited from class net.minecraftforge.fluids.<a href="../../../net/minecraftforge/fluids/BlockFluidBase.html" title="class in net.minecraftforge.fluids">BlockFluidBase</a></h3> +<code><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#defaultDisplacements">defaultDisplacements</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#density">density</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#densityDir">densityDir</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#displacements">displacements</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#fluidName">fluidName</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#maxScaledLight">maxScaledLight</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#quantaPerBlock">quantaPerBlock</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#quantaPerBlockFloat">quantaPerBlockFloat</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#renderPass">renderPass</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#temperature">temperature</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#tickRate">tickRate</a></code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="fields_inherited_from_class_net.minecraft.block.Block"> +<!-- --> +</a> +<h3>Fields inherited from class net.minecraft.block.<a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></h3> +<code><a href="../../../net/minecraft/block/Block.html#blockConstructorCalled">blockConstructorCalled</a>, <a href="../../../net/minecraft/block/Block.html#blockHardness">blockHardness</a>, <a href="../../../net/minecraft/block/Block.html#blockIcon">blockIcon</a>, <a href="../../../net/minecraft/block/Block.html#blockMaterial">blockMaterial</a>, <a href="../../../net/minecraft/block/Block.html#blockParticleGravity">blockParticleGravity</a>, <a href="../../../net/minecraft/block/Block.html#blockRegistry">blockRegistry</a>, <a href="../../../net/minecraft/block/Block.html#blockResistance">blockResistance</a>, <a href="../../../net/minecraft/block/Block.html#canBlockGrass">canBlockGrass</a>, <a href="../../../net/minecraft/block/Block.html#capturedDrops">capturedDrops</a>, <a href="../../../net/minecraft/block/Block.html#captureDrops">captureDrops</a>, <a href="../../../net/minecraft/block/Block.html#delegate">delegate</a>, <a href="../../../net/minecraft/block/Block.html#enableStats">enableStats</a>, <a href="../../../net/minecraft/block/Block.html#harvesters">harvesters</a>, <a href="../../../net/minecraft/block/Block.html#isBlockContainer">isBlockContainer</a>, <a href="../../../net/minecraft/block/Block.html#lightOpacity">lightOpacity</a>, <a href="../../../net/minecraft/block/Block.html#lightValue">lightValue</a>, <a href="../../../net/minecraft/block/Block.html#maxX">maxX</a>, <a href="../../../net/minecraft/block/Block.html#maxY">maxY</a>, <a href="../../../net/minecraft/block/Block.html#maxZ">maxZ</a>, <a href="../../../net/minecraft/block/Block.html#minX">minX</a>, <a href="../../../net/minecraft/block/Block.html#minY">minY</a>, <a href="../../../net/minecraft/block/Block.html#minZ">minZ</a>, <a href="../../../net/minecraft/block/Block.html#needsRandomTick">needsRandomTick</a>, <a href="../../../net/minecraft/block/Block.html#opaque">opaque</a>, <a href="../../../net/minecraft/block/Block.html#slipperiness">slipperiness</a>, <a href="../../../net/minecraft/block/Block.html#soundTypeAnvil">soundTypeAnvil</a>, <a href="../../../net/minecraft/block/Block.html#soundTypeCloth">soundTypeCloth</a>, <a href="../../../net/minecraft/block/Block.html#soundTypeGlass">soundTypeGlass</a>, <a href="../../../net/minecraft/block/Block.html#soundTypeGrass">soundTypeGrass</a>, <a href="../../../net/minecraft/block/Block.html#soundTypeGravel">soundTypeGravel</a>, <a href="../../../net/minecraft/block/Block.html#soundTypeLadder">soundTypeLadder</a>, <a href="../../../net/minecraft/block/Block.html#soundTypeMetal">soundTypeMetal</a>, <a href="../../../net/minecraft/block/Block.html#soundTypePiston">soundTypePiston</a>, <a href="../../../net/minecraft/block/Block.html#soundTypeSand">soundTypeSand</a>, <a href="../../../net/minecraft/block/Block.html#soundTypeSnow">soundTypeSnow</a>, <a href="../../../net/minecraft/block/Block.html#soundTypeStone">soundTypeStone</a>, <a href="../../../net/minecraft/block/Block.html#soundTypeWood">soundTypeWood</a>, <a href="../../../net/minecraft/block/Block.html#stepSound">stepSound</a>, <a href="../../../net/minecraft/block/Block.html#textureName">textureName</a>, <a href="../../../net/minecraft/block/Block.html#useNeighborBrightness">useNeighborBrightness</a></code></li> +</ul> +</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/minecraftforge/fluids/BlockFluidClassic.html#BlockFluidClassic(net.minecraftforge.fluids.Fluid,%20net.minecraft.block.material.Material)">BlockFluidClassic</a></strong>(<a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> fluid, + <a href="../../../net/minecraft/block/material/Material.html" title="class in net.minecraft.block.material">Material</a> material)</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>protected int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidClassic.html#calculateFlowCost(net.minecraft.world.World,%20int,%20int,%20int,%20int,%20int)">calculateFlowCost</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z, + int recurseDepth, + int side)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidClassic.html#canCollideCheck(int,%20boolean)">canCollideCheck</a></strong>(int meta, + boolean fullHit)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidClassic.html#canDrain(net.minecraft.world.World,%20int,%20int,%20int)">canDrain</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</code> +<div class="block">Check to see if a block can be drained.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidClassic.html#canFlowInto(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">canFlowInto</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidClassic.html#drain(net.minecraft.world.World,%20int,%20int,%20int,%20boolean)">drain</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z, + boolean doDrain)</code> +<div class="block">Attempt to drain the block.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidClassic.html#flowIntoBlock(net.minecraft.world.World,%20int,%20int,%20int,%20int)">flowIntoBlock</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z, + int meta)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidClassic.html#getLargerQuanta(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20int)">getLargerQuanta</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z, + int compare)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidClassic.html#getLightValue(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getLightValue</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</code> +<div class="block">Get a light value for the block at the specified coordinates, normal ranges are between 0 and 15</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidClassic.html#getMaxRenderHeightMeta()">getMaxRenderHeightMeta</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected boolean[]</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidClassic.html#getOptimalFlowDirections(net.minecraft.world.World,%20int,%20int,%20int)">getOptimalFlowDirections</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidClassic.html#getQuantaValue(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getQuantaValue</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidClassic.html#isFlowingVertically(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">isFlowingVertically</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidClassic.html#isSourceBlock(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">isSourceBlock</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/fluids/BlockFluidClassic.html" title="class in net.minecraftforge.fluids">BlockFluidClassic</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidClassic.html#setFluidStack(net.minecraftforge.fluids.FluidStack)">setFluidStack</a></strong>(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> stack)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/fluids/BlockFluidClassic.html" title="class in net.minecraftforge.fluids">BlockFluidClassic</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidClassic.html#setFluidStackAmount(int)">setFluidStackAmount</a></strong>(int amount)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidClassic.html#updateTick(net.minecraft.world.World,%20int,%20int,%20int,%20java.util.Random)">updateTick</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z, + java.util.Random rand)</code> </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_net.minecraftforge.fluids.BlockFluidBase"> +<!-- --> +</a> +<h3>Methods inherited from class net.minecraftforge.fluids.<a href="../../../net/minecraftforge/fluids/BlockFluidBase.html" title="class in net.minecraftforge.fluids">BlockFluidBase</a></h3> +<code><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#canDisplace(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">canDisplace</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#displaceIfPossible(net.minecraft.world.World,%20int,%20int,%20int)">displaceIfPossible</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#func_149698_L()">func_149698_L</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getBlocksMovement(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getBlocksMovement</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getCollisionBoundingBoxFromPool(net.minecraft.world.World,%20int,%20int,%20int)">getCollisionBoundingBoxFromPool</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getDensity(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getDensity</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getFilledPercentage(net.minecraft.world.World,%20int,%20int,%20int)">getFilledPercentage</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getFlowDirection(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getFlowDirection</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getFlowVector(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getFlowVector</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getFluid()">getFluid</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getItemDropped(int,%20java.util.Random,%20int)">getItemDropped</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getMixedBrightnessForBlock(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getMixedBrightnessForBlock</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getQuantaPercentage(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getQuantaPercentage</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getQuantaValueAbove(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20int)">getQuantaValueAbove</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getQuantaValueBelow(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20int)">getQuantaValueBelow</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getRenderBlockPass()">getRenderBlockPass</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getRenderType()">getRenderType</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getTemperature(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getTemperature</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#isOpaqueCube()">isOpaqueCube</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#onBlockAdded(net.minecraft.world.World,%20int,%20int,%20int)">onBlockAdded</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#onNeighborBlockChange(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.block.Block)">onNeighborBlockChange</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#quantityDropped(java.util.Random)">quantityDropped</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#renderAsNormalBlock()">renderAsNormalBlock</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#setDensity(int)">setDensity</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#setMaxScaledLight(int)">setMaxScaledLight</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#setQuantaPerBlock(int)">setQuantaPerBlock</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#setRenderPass(int)">setRenderPass</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#setTemperature(int)">setTemperature</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#setTickRate(int)">setTickRate</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#shouldSideBeRendered(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20int)">shouldSideBeRendered</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#tickRate(net.minecraft.world.World)">tickRate</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#velocityToAddToEntity(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.entity.Entity,%20net.minecraft.util.Vec3)">velocityToAddToEntity</a></code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_net.minecraft.block.Block"> +<!-- --> +</a> +<h3>Methods inherited from class net.minecraft.block.<a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></h3> +<code><a href="../../../net/minecraft/block/Block.html#addCollisionBoxesToList(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.util.AxisAlignedBB,%20java.util.List,%20net.minecraft.entity.Entity)">addCollisionBoxesToList</a>, <a href="../../../net/minecraft/block/Block.html#addDestroyEffects(net.minecraft.world.World,%20int,%20int,%20int,%20int,%20net.minecraft.client.particle.EffectRenderer)">addDestroyEffects</a>, <a href="../../../net/minecraft/block/Block.html#addHitEffects(net.minecraft.world.World,%20net.minecraft.util.MovingObjectPosition,%20net.minecraft.client.particle.EffectRenderer)">addHitEffects</a>, <a href="../../../net/minecraft/block/Block.html#beginLeavesDecay(net.minecraft.world.World,%20int,%20int,%20int)">beginLeavesDecay</a>, <a href="../../../net/minecraft/block/Block.html#breakBlock(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.block.Block,%20int)">breakBlock</a>, <a href="../../../net/minecraft/block/Block.html#canBeReplacedByLeaves(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">canBeReplacedByLeaves</a>, <a href="../../../net/minecraft/block/Block.html#canBlockStay(net.minecraft.world.World,%20int,%20int,%20int)">canBlockStay</a>, <a href="../../../net/minecraft/block/Block.html#canConnectRedstone(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20int)">canConnectRedstone</a>, <a href="../../../net/minecraft/block/Block.html#canCreatureSpawn(net.minecraft.entity.EnumCreatureType,%20net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">canCreatureSpawn</a>, <a href="../../../net/minecraft/block/Block.html#canDropFromExplosion(net.minecraft.world.Explosion)">canDropFromExplosion</a>, <a href="../../../net/minecraft/block/Block.html#canEntityDestroy(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20net.minecraft.entity.Entity)">canEntityDestroy</a>, <a href="../../../net/minecraft/block/Block.html#canHarvestBlock(net.minecraft.entity.player.EntityPlayer,%20int)">canHarvestBlock</a>, <a href="../../../net/minecraft/block/Block.html#canPlaceBlockAt(net.minecraft.world.World,%20int,%20int,%20int)">canPlaceBlockAt</a>, <a href="../../../net/minecraft/block/Block.html#canPlaceBlockOnSide(net.minecraft.world.World,%20int,%20int,%20int,%20int)">canPlaceBlockOnSide</a>, <a href="../../../net/minecraft/block/Block.html#canPlaceTorchOnTop(net.minecraft.world.World,%20int,%20int,%20int)">canPlaceTorchOnTop</a>, <a href="../../../net/minecraft/block/Block.html#canProvidePower()">canProvidePower</a>, <a href="../../../net/minecraft/block/Block.html#canRenderInPass(int)">canRenderInPass</a>, <a href="../../../net/minecraft/block/Block.html#canReplace(net.minecraft.world.World,%20int,%20int,%20int,%20int,%20net.minecraft.item.ItemStack)">canReplace</a>, <a href="../../../net/minecraft/block/Block.html#canSilkHarvest()">canSilkHarvest</a>, <a href="../../../net/minecraft/block/Block.html#canSilkHarvest(net.minecraft.world.World,%20net.minecraft.entity.player.EntityPlayer,%20int,%20int,%20int,%20int)">canSilkHarvest</a>, <a href="../../../net/minecraft/block/Block.html#canSustainLeaves(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">canSustainLeaves</a>, <a href="../../../net/minecraft/block/Block.html#canSustainPlant(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20net.minecraftforge.common.util.ForgeDirection,%20net.minecraftforge.common.IPlantable)">canSustainPlant</a>, <a href="../../../net/minecraft/block/Block.html#captureDrops(boolean)">captureDrops</a>, <a href="../../../net/minecraft/block/Block.html#collisionRayTrace(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.util.Vec3,%20net.minecraft.util.Vec3)">collisionRayTrace</a>, <a href="../../../net/minecraft/block/Block.html#colorMultiplier(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">colorMultiplier</a>, <a href="../../../net/minecraft/block/Block.html#createStackedBlock(int)">createStackedBlock</a>, <a href="../../../net/minecraft/block/Block.html#createTileEntity(net.minecraft.world.World,%20int)">createTileEntity</a>, <a href="../../../net/minecraft/block/Block.html#damageDropped(int)">damageDropped</a>, <a href="../../../net/minecraft/block/Block.html#disableStats()">disableStats</a>, <a href="../../../net/minecraft/block/Block.html#dropBlockAsItem(net.minecraft.world.World,%20int,%20int,%20int,%20int,%20int)">dropBlockAsItem</a>, <a href="../../../net/minecraft/block/Block.html#dropBlockAsItem(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.item.ItemStack)">dropBlockAsItem</a>, <a href="../../../net/minecraft/block/Block.html#dropBlockAsItemWithChance(net.minecraft.world.World,%20int,%20int,%20int,%20int,%20float,%20int)">dropBlockAsItemWithChance</a>, <a href="../../../net/minecraft/block/Block.html#dropXpOnBlockBreak(net.minecraft.world.World,%20int,%20int,%20int,%20int)">dropXpOnBlockBreak</a>, <a href="../../../net/minecraft/block/Block.html#fillWithRain(net.minecraft.world.World,%20int,%20int,%20int)">fillWithRain</a>, <a href="../../../net/minecraft/block/Block.html#func_149730_j()">func_149730_j</a>, <a href="../../../net/minecraft/block/Block.html#func_149735_b(int,%20int)">func_149735_b</a>, <a href="../../../net/minecraft/block/Block.html#getAmbientOcclusionLightValue()">getAmbientOcclusionLightValue</a>, <a href="../../../net/minecraft/block/Block.html#getBedDirection(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getBedDirection</a>, <a href="../../../net/minecraft/block/Block.html#getBedSpawnPosition(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20net.minecraft.entity.player.EntityPlayer)">getBedSpawnPosition</a>, <a href="../../../net/minecraft/block/Block.html#getBlockBoundsMaxX()">getBlockBoundsMaxX</a>, <a href="../../../net/minecraft/block/Block.html#getBlockBoundsMaxY()">getBlockBoundsMaxY</a>, <a href="../../../net/minecraft/block/Block.html#getBlockBoundsMaxZ()">getBlockBoundsMaxZ</a>, <a href="../../../net/minecraft/block/Block.html#getBlockBoundsMinX()">getBlockBoundsMinX</a>, <a href="../../../net/minecraft/block/Block.html#getBlockBoundsMinY()">getBlockBoundsMinY</a>, <a href="../../../net/minecraft/block/Block.html#getBlockBoundsMinZ()">getBlockBoundsMinZ</a>, <a href="../../../net/minecraft/block/Block.html#getBlockById(int)">getBlockById</a>, <a href="../../../net/minecraft/block/Block.html#getBlockColor()">getBlockColor</a>, <a href="../../../net/minecraft/block/Block.html#getBlockFromItem(net.minecraft.item.Item)">getBlockFromItem</a>, <a href="../../../net/minecraft/block/Block.html#getBlockFromName(java.lang.String)">getBlockFromName</a>, <a href="../../../net/minecraft/block/Block.html#getBlockHardness(net.minecraft.world.World,%20int,%20int,%20int)">getBlockHardness</a>, <a href="../../../net/minecraft/block/Block.html#getBlockTextureFromSide(int)">getBlockTextureFromSide</a>, <a href="../../../net/minecraft/block/Block.html#getCanBlockGrass()">getCanBlockGrass</a>, <a href="../../../net/minecraft/block/Block.html#getComparatorInputOverride(net.minecraft.world.World,%20int,%20int,%20int,%20int)">getComparatorInputOverride</a>, <a href="../../../net/minecraft/block/Block.html#getCreativeTabToDisplayOn()">getCreativeTabToDisplayOn</a>, <a href="../../../net/minecraft/block/Block.html#getDamageValue(net.minecraft.world.World,%20int,%20int,%20int)">getDamageValue</a>, <a href="../../../net/minecraft/block/Block.html#getDrops(net.minecraft.world.World,%20int,%20int,%20int,%20int,%20int)">getDrops</a>, <a href="../../../net/minecraft/block/Block.html#getEnableStats()">getEnableStats</a>, <a href="../../../net/minecraft/block/Block.html#getEnchantPowerBonus(net.minecraft.world.World,%20int,%20int,%20int)">getEnchantPowerBonus</a>, <a href="../../../net/minecraft/block/Block.html#getExpDrop(net.minecraft.world.IBlockAccess,%20int,%20int)">getExpDrop</a>, <a href="../../../net/minecraft/block/Block.html#getExplosionResistance(net.minecraft.entity.Entity)">getExplosionResistance</a>, <a href="../../../net/minecraft/block/Block.html#getExplosionResistance(net.minecraft.entity.Entity,%20net.minecraft.world.World,%20int,%20int,%20int,%20double,%20double,%20double)">getExplosionResistance</a>, <a href="../../../net/minecraft/block/Block.html#getFireSpreadSpeed(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20net.minecraftforge.common.util.ForgeDirection)">getFireSpreadSpeed</a>, <a href="../../../net/minecraft/block/Block.html#getFlammability(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20net.minecraftforge.common.util.ForgeDirection)">getFlammability</a>, <a href="../../../net/minecraft/block/Block.html#getHarvestLevel(int)">getHarvestLevel</a>, <a href="../../../net/minecraft/block/Block.html#getHarvestTool(int)">getHarvestTool</a>, <a href="../../../net/minecraft/block/Block.html#getIcon(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20int)">getIcon</a>, <a href="../../../net/minecraft/block/Block.html#getIcon(int,%20int)">getIcon</a>, <a href="../../../net/minecraft/block/Block.html#getIdFromBlock(net.minecraft.block.Block)">getIdFromBlock</a>, <a href="../../../net/minecraft/block/Block.html#getItem(net.minecraft.world.World,%20int,%20int,%20int)">getItem</a>, <a href="../../../net/minecraft/block/Block.html#getItemIconName()">getItemIconName</a>, <a href="../../../net/minecraft/block/Block.html#getLightOpacity()">getLightOpacity</a>, <a href="../../../net/minecraft/block/Block.html#getLightOpacity(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getLightOpacity</a>, <a href="../../../net/minecraft/block/Block.html#getLightValue()">getLightValue</a>, <a href="../../../net/minecraft/block/Block.html#getLocalizedName()">getLocalizedName</a>, <a href="../../../net/minecraft/block/Block.html#getMapColor(int)">getMapColor</a>, <a href="../../../net/minecraft/block/Block.html#getMaterial()">getMaterial</a>, <a href="../../../net/minecraft/block/Block.html#getMobilityFlag()">getMobilityFlag</a>, <a href="../../../net/minecraft/block/Block.html#getPickBlock(net.minecraft.util.MovingObjectPosition,%20net.minecraft.world.World,%20int,%20int,%20int)">getPickBlock</a>, <a href="../../../net/minecraft/block/Block.html#getPickBlock(net.minecraft.util.MovingObjectPosition,%20net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.entity.player.EntityPlayer)">getPickBlock</a>, <a href="../../../net/minecraft/block/Block.html#getPlayerRelativeBlockHardness(net.minecraft.entity.player.EntityPlayer,%20net.minecraft.world.World,%20int,%20int,%20int)">getPlayerRelativeBlockHardness</a>, <a href="../../../net/minecraft/block/Block.html#getRenderColor(int)">getRenderColor</a>, <a href="../../../net/minecraft/block/Block.html#getSelectedBoundingBoxFromPool(net.minecraft.world.World,%20int,%20int,%20int)">getSelectedBoundingBoxFromPool</a>, <a href="../../../net/minecraft/block/Block.html#getSubBlocks(net.minecraft.item.Item,%20net.minecraft.creativetab.CreativeTabs,%20java.util.List)">getSubBlocks</a>, <a href="../../../net/minecraft/block/Block.html#getTextureName()">getTextureName</a>, <a href="../../../net/minecraft/block/Block.html#getTickRandomly()">getTickRandomly</a>, <a href="../../../net/minecraft/block/Block.html#getUnlocalizedName()">getUnlocalizedName</a>, <a href="../../../net/minecraft/block/Block.html#getUseNeighborBrightness()">getUseNeighborBrightness</a>, <a href="../../../net/minecraft/block/Block.html#getValidRotations(net.minecraft.world.World,%20int,%20int,%20int)">getValidRotations</a>, <a href="../../../net/minecraft/block/Block.html#getWeakChanges(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getWeakChanges</a>, <a href="../../../net/minecraft/block/Block.html#harvestBlock(net.minecraft.world.World,%20net.minecraft.entity.player.EntityPlayer,%20int,%20int,%20int,%20int)">harvestBlock</a>, <a href="../../../net/minecraft/block/Block.html#hasComparatorInputOverride()">hasComparatorInputOverride</a>, <a href="../../../net/minecraft/block/Block.html#hasTileEntity()">hasTileEntity</a>, <a href="../../../net/minecraft/block/Block.html#hasTileEntity(int)">hasTileEntity</a>, <a href="../../../net/minecraft/block/Block.html#isAir(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">isAir</a>, <a href="../../../net/minecraft/block/Block.html#isAssociatedBlock(net.minecraft.block.Block)">isAssociatedBlock</a>, <a href="../../../net/minecraft/block/Block.html#isBeaconBase(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20int,%20int,%20int)">isBeaconBase</a>, <a href="../../../net/minecraft/block/Block.html#isBed(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20net.minecraft.entity.EntityLivingBase)">isBed</a>, <a href="../../../net/minecraft/block/Block.html#isBedFoot(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">isBedFoot</a>, <a href="../../../net/minecraft/block/Block.html#isBlockNormalCube()">isBlockNormalCube</a>, <a href="../../../net/minecraft/block/Block.html#isBlockSolid(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20int)">isBlockSolid</a>, <a href="../../../net/minecraft/block/Block.html#isBurning(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">isBurning</a>, <a href="../../../net/minecraft/block/Block.html#isCollidable()">isCollidable</a>, <a href="../../../net/minecraft/block/Block.html#isEqualTo(net.minecraft.block.Block,%20net.minecraft.block.Block)">isEqualTo</a>, <a href="../../../net/minecraft/block/Block.html#isFertile(net.minecraft.world.World,%20int,%20int,%20int)">isFertile</a>, <a href="../../../net/minecraft/block/Block.html#isFireSource(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraftforge.common.util.ForgeDirection)">isFireSource</a>, <a href="../../../net/minecraft/block/Block.html#isFlammable(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20net.minecraftforge.common.util.ForgeDirection)">isFlammable</a>, <a href="../../../net/minecraft/block/Block.html#isFlowerPot()">isFlowerPot</a>, <a href="../../../net/minecraft/block/Block.html#isFoliage(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">isFoliage</a>, <a href="../../../net/minecraft/block/Block.html#isLadder(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20net.minecraft.entity.EntityLivingBase)">isLadder</a>, <a href="../../../net/minecraft/block/Block.html#isLeaves(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">isLeaves</a>, <a href="../../../net/minecraft/block/Block.html#isNormalCube()">isNormalCube</a>, <a href="../../../net/minecraft/block/Block.html#isNormalCube(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">isNormalCube</a>, <a href="../../../net/minecraft/block/Block.html#isProvidingStrongPower(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20int)">isProvidingStrongPower</a>, <a href="../../../net/minecraft/block/Block.html#isProvidingWeakPower(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20int)">isProvidingWeakPower</a>, <a href="../../../net/minecraft/block/Block.html#isReplaceable(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">isReplaceable</a>, <a href="../../../net/minecraft/block/Block.html#isReplaceableOreGen(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.block.Block)">isReplaceableOreGen</a>, <a href="../../../net/minecraft/block/Block.html#isSideSolid(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20net.minecraftforge.common.util.ForgeDirection)">isSideSolid</a>, <a href="../../../net/minecraft/block/Block.html#isToolEffective(java.lang.String,%20int)">isToolEffective</a>, <a href="../../../net/minecraft/block/Block.html#isWood(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">isWood</a>, <a href="../../../net/minecraft/block/Block.html#onBlockActivated(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.entity.player.EntityPlayer,%20int,%20float,%20float,%20float)">onBlockActivated</a>, <a href="../../../net/minecraft/block/Block.html#onBlockClicked(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.entity.player.EntityPlayer)">onBlockClicked</a>, <a href="../../../net/minecraft/block/Block.html#onBlockDestroyedByExplosion(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.world.Explosion)">onBlockDestroyedByExplosion</a>, <a href="../../../net/minecraft/block/Block.html#onBlockDestroyedByPlayer(net.minecraft.world.World,%20int,%20int,%20int,%20int)">onBlockDestroyedByPlayer</a>, <a href="../../../net/minecraft/block/Block.html#onBlockEventReceived(net.minecraft.world.World,%20int,%20int,%20int,%20int,%20int)">onBlockEventReceived</a>, <a href="../../../net/minecraft/block/Block.html#onBlockExploded(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.world.Explosion)">onBlockExploded</a>, <a href="../../../net/minecraft/block/Block.html#onBlockHarvested(net.minecraft.world.World,%20int,%20int,%20int,%20int,%20net.minecraft.entity.player.EntityPlayer)">onBlockHarvested</a>, <a href="../../../net/minecraft/block/Block.html#onBlockPlaced(net.minecraft.world.World,%20int,%20int,%20int,%20int,%20float,%20float,%20float,%20int)">onBlockPlaced</a>, <a href="../../../net/minecraft/block/Block.html#onBlockPlacedBy(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.entity.EntityLivingBase,%20net.minecraft.item.ItemStack)">onBlockPlacedBy</a>, <a href="../../../net/minecraft/block/Block.html#onBlockPreDestroy(net.minecraft.world.World,%20int,%20int,%20int,%20int)">onBlockPreDestroy</a>, <a href="../../../net/minecraft/block/Block.html#onEntityCollidedWithBlock(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.entity.Entity)">onEntityCollidedWithBlock</a>, <a href="../../../net/minecraft/block/Block.html#onEntityWalking(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.entity.Entity)">onEntityWalking</a>, <a href="../../../net/minecraft/block/Block.html#onFallenUpon(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.entity.Entity,%20float)">onFallenUpon</a>, <a href="../../../net/minecraft/block/Block.html#onNeighborChange(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20int,%20int,%20int)">onNeighborChange</a>, <a href="../../../net/minecraft/block/Block.html#onPlantGrow(net.minecraft.world.World,%20int,%20int,%20int,%20int,%20int,%20int)">onPlantGrow</a>, <a href="../../../net/minecraft/block/Block.html#onPostBlockPlaced(net.minecraft.world.World,%20int,%20int,%20int,%20int)">onPostBlockPlaced</a>, <a href="../../../net/minecraft/block/Block.html#quantityDropped(int,%20int,%20java.util.Random)">quantityDropped</a>, <a href="../../../net/minecraft/block/Block.html#quantityDroppedWithBonus(int,%20java.util.Random)">quantityDroppedWithBonus</a>, <a href="../../../net/minecraft/block/Block.html#randomDisplayTick(net.minecraft.world.World,%20int,%20int,%20int,%20java.util.Random)">randomDisplayTick</a>, <a href="../../../net/minecraft/block/Block.html#recolourBlock(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraftforge.common.util.ForgeDirection,%20int)">recolourBlock</a>, <a href="../../../net/minecraft/block/Block.html#registerBlockIcons(net.minecraft.client.renderer.texture.IIconRegister)">registerBlockIcons</a>, <a href="../../../net/minecraft/block/Block.html#registerBlocks()">registerBlocks</a>, <a href="../../../net/minecraft/block/Block.html#removedByPlayer(net.minecraft.world.World,%20net.minecraft.entity.player.EntityPlayer,%20int,%20int,%20int)">removedByPlayer</a>, <a href="../../../net/minecraft/block/Block.html#removedByPlayer(net.minecraft.world.World,%20net.minecraft.entity.player.EntityPlayer,%20int,%20int,%20int,%20boolean)">removedByPlayer</a>, <a href="../../../net/minecraft/block/Block.html#rotateBlock(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraftforge.common.util.ForgeDirection)">rotateBlock</a>, <a href="../../../net/minecraft/block/Block.html#setBedOccupied(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20net.minecraft.entity.player.EntityPlayer,%20boolean)">setBedOccupied</a>, <a href="../../../net/minecraft/block/Block.html#setBlockBounds(float,%20float,%20float,%20float,%20float,%20float)">setBlockBounds</a>, <a href="../../../net/minecraft/block/Block.html#setBlockBoundsBasedOnState(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">setBlockBoundsBasedOnState</a>, <a href="../../../net/minecraft/block/Block.html#setBlockBoundsForItemRender()">setBlockBoundsForItemRender</a>, <a href="../../../net/minecraft/block/Block.html#setBlockName(java.lang.String)">setBlockName</a>, <a href="../../../net/minecraft/block/Block.html#setBlockTextureName(java.lang.String)">setBlockTextureName</a>, <a href="../../../net/minecraft/block/Block.html#setBlockUnbreakable()">setBlockUnbreakable</a>, <a href="../../../net/minecraft/block/Block.html#setCreativeTab(net.minecraft.creativetab.CreativeTabs)">setCreativeTab</a>, <a href="../../../net/minecraft/block/Block.html#setHardness(float)">setHardness</a>, <a href="../../../net/minecraft/block/Block.html#setHarvestLevel(java.lang.String,%20int)">setHarvestLevel</a>, <a href="../../../net/minecraft/block/Block.html#setHarvestLevel(java.lang.String,%20int,%20int)">setHarvestLevel</a>, <a href="../../../net/minecraft/block/Block.html#setLightLevel(float)">setLightLevel</a>, <a href="../../../net/minecraft/block/Block.html#setLightOpacity(int)">setLightOpacity</a>, <a href="../../../net/minecraft/block/Block.html#setResistance(float)">setResistance</a>, <a href="../../../net/minecraft/block/Block.html#setStepSound(net.minecraft.block.Block.SoundType)">setStepSound</a>, <a href="../../../net/minecraft/block/Block.html#setTickRandomly(boolean)">setTickRandomly</a>, <a href="../../../net/minecraft/block/Block.html#shouldCheckWeakPower(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20int)">shouldCheckWeakPower</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>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="isOptimalFlowDirection"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isOptimalFlowDirection</h4> +<pre>protected boolean[] isOptimalFlowDirection</pre> +</li> +</ul> +<a name="flowCost"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>flowCost</h4> +<pre>protected int[] flowCost</pre> +</li> +</ul> +<a name="stack"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>stack</h4> +<pre>protected <a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> stack</pre> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="BlockFluidClassic(net.minecraftforge.fluids.Fluid, net.minecraft.block.material.Material)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>BlockFluidClassic</h4> +<pre>public BlockFluidClassic(<a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> fluid, + <a href="../../../net/minecraft/block/material/Material.html" title="class in net.minecraft.block.material">Material</a> material)</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="setFluidStack(net.minecraftforge.fluids.FluidStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setFluidStack</h4> +<pre>public <a href="../../../net/minecraftforge/fluids/BlockFluidClassic.html" title="class in net.minecraftforge.fluids">BlockFluidClassic</a> setFluidStack(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> stack)</pre> +</li> +</ul> +<a name="setFluidStackAmount(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setFluidStackAmount</h4> +<pre>public <a href="../../../net/minecraftforge/fluids/BlockFluidClassic.html" title="class in net.minecraftforge.fluids">BlockFluidClassic</a> setFluidStackAmount(int amount)</pre> +</li> +</ul> +<a name="getQuantaValue(net.minecraft.world.IBlockAccess, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getQuantaValue</h4> +<pre>public int getQuantaValue(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</pre> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getQuantaValue(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getQuantaValue</a></code> in class <code><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html" title="class in net.minecraftforge.fluids">BlockFluidBase</a></code></dd> +</dl> +</li> +</ul> +<a name="canCollideCheck(int, boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>canCollideCheck</h4> +<pre>public boolean canCollideCheck(int meta, + boolean fullHit)</pre> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#canCollideCheck(int,%20boolean)">canCollideCheck</a></code> in class <code><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html" title="class in net.minecraftforge.fluids">BlockFluidBase</a></code></dd> +</dl> +</li> +</ul> +<a name="getMaxRenderHeightMeta()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getMaxRenderHeightMeta</h4> +<pre>public int getMaxRenderHeightMeta()</pre> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getMaxRenderHeightMeta()">getMaxRenderHeightMeta</a></code> in class <code><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html" title="class in net.minecraftforge.fluids">BlockFluidBase</a></code></dd> +</dl> +</li> +</ul> +<a name="getLightValue(net.minecraft.world.IBlockAccess, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getLightValue</h4> +<pre>public int getLightValue(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</pre> +<div class="block"><strong>Description copied from class: <code><a href="../../../net/minecraft/block/Block.html#getLightValue(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">Block</a></code></strong></div> +<div class="block">Get a light value for the block at the specified coordinates, normal ranges are between 0 and 15</div> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getLightValue(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getLightValue</a></code> in class <code><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html" title="class in net.minecraftforge.fluids">BlockFluidBase</a></code></dd> +<dt><span class="strong">Parameters:</span></dt><dd><code>world</code> - The current world</dd><dd><code>x</code> - X Position</dd><dd><code>y</code> - Y position</dd><dd><code>z</code> - Z position</dd> +<dt><span class="strong">Returns:</span></dt><dd>The light value</dd></dl> +</li> +</ul> +<a name="updateTick(net.minecraft.world.World, int, int, int, java.util.Random)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>updateTick</h4> +<pre>public void updateTick(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z, + java.util.Random rand)</pre> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code><a href="../../../net/minecraft/block/Block.html#updateTick(net.minecraft.world.World,%20int,%20int,%20int,%20java.util.Random)">updateTick</a></code> in class <code><a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></code></dd> +</dl> +</li> +</ul> +<a name="isFlowingVertically(net.minecraft.world.IBlockAccess, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isFlowingVertically</h4> +<pre>public boolean isFlowingVertically(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</pre> +</li> +</ul> +<a name="isSourceBlock(net.minecraft.world.IBlockAccess, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isSourceBlock</h4> +<pre>public boolean isSourceBlock(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</pre> +</li> +</ul> +<a name="getOptimalFlowDirections(net.minecraft.world.World, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getOptimalFlowDirections</h4> +<pre>protected boolean[] getOptimalFlowDirections(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</pre> +</li> +</ul> +<a name="calculateFlowCost(net.minecraft.world.World, int, int, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>calculateFlowCost</h4> +<pre>protected int calculateFlowCost(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z, + int recurseDepth, + int side)</pre> +</li> +</ul> +<a name="flowIntoBlock(net.minecraft.world.World, int, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>flowIntoBlock</h4> +<pre>protected void flowIntoBlock(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z, + int meta)</pre> +</li> +</ul> +<a name="canFlowInto(net.minecraft.world.IBlockAccess, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>canFlowInto</h4> +<pre>protected boolean canFlowInto(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</pre> +</li> +</ul> +<a name="getLargerQuanta(net.minecraft.world.IBlockAccess, int, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getLargerQuanta</h4> +<pre>protected int getLargerQuanta(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z, + int compare)</pre> +</li> +</ul> +<a name="drain(net.minecraft.world.World, int, int, int, boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>drain</h4> +<pre>public <a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> drain(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z, + boolean doDrain)</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../net/minecraftforge/fluids/IFluidBlock.html#drain(net.minecraft.world.World,%20int,%20int,%20int,%20boolean)">IFluidBlock</a></code></strong></div> +<div class="block">Attempt to drain the block. This method should be called by devices such as pumps. + + NOTE: The block is intended to handle its own state changes.</div> +<dl><dd><code>doDrain</code> - If false, the drain will only be simulated.</dd> +<dt><span class="strong">Returns:</span></dt><dd></dd></dl> +</li> +</ul> +<a name="canDrain(net.minecraft.world.World, int, int, int)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>canDrain</h4> +<pre>public boolean canDrain(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../net/minecraftforge/fluids/IFluidBlock.html#canDrain(net.minecraft.world.World,%20int,%20int,%20int)">IFluidBlock</a></code></strong></div> +<div class="block">Check to see if a block can be drained. This method should be called by devices such as + pumps.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd></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/minecraftforge/fluids/BlockFluidBase.html" title="class in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraftforge/fluids/BlockFluidFinite.html" title="class in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/BlockFluidClassic.html" target="_top">Frames</a></li> +<li><a href="BlockFluidClassic.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_classes_inherited_from_class_net.minecraft.block.Block">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> diff --git a/javadoc/net/minecraftforge/fluids/BlockFluidFinite.html b/javadoc/net/minecraftforge/fluids/BlockFluidFinite.html new file mode 100644 index 0000000..aa1e059 --- /dev/null +++ b/javadoc/net/minecraftforge/fluids/BlockFluidFinite.html @@ -0,0 +1,470 @@ +<!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:17 EST 2015 --> +<title>BlockFluidFinite (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="BlockFluidFinite (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/minecraftforge/fluids/BlockFluidClassic.html" title="class in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/BlockFluidFinite.html" target="_top">Frames</a></li> +<li><a href="BlockFluidFinite.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_classes_inherited_from_class_net.minecraft.block.Block">Nested</a> | </li> +<li><a href="#fields_inherited_from_class_net.minecraftforge.fluids.BlockFluidBase">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>Field | </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.minecraftforge.fluids</div> +<h2 title="Class BlockFluidFinite" class="title">Class BlockFluidFinite</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li><a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">net.minecraft.block.Block</a></li> +<li> +<ul class="inheritance"> +<li><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html" title="class in net.minecraftforge.fluids">net.minecraftforge.fluids.BlockFluidBase</a></li> +<li> +<ul class="inheritance"> +<li>net.minecraftforge.fluids.BlockFluidFinite</li> +</ul> +</li> +</ul> +</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Implemented Interfaces:</dt> +<dd><a href="../../../net/minecraftforge/fluids/IFluidBlock.html" title="interface in net.minecraftforge.fluids">IFluidBlock</a></dd> +</dl> +<hr> +<br> +<pre>public class <span class="strong">BlockFluidFinite</span> +extends <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html" title="class in net.minecraftforge.fluids">BlockFluidBase</a></pre> +<div class="block">This is a cellular-automata based finite fluid block implementation. + + It is highly recommended that you use/extend this class for finite fluid blocks.</div> +</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> +<ul class="blockList"> +<li class="blockList"><a name="nested_classes_inherited_from_class_net.minecraft.block.Block"> +<!-- --> +</a> +<h3>Nested classes/interfaces inherited from class net.minecraft.block.<a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></h3> +<code><a href="../../../net/minecraft/block/Block.SoundType.html" title="class in net.minecraft.block">Block.SoundType</a></code></li> +</ul> +</li> +</ul> +<!-- =========== FIELD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field_summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<ul class="blockList"> +<li class="blockList"><a name="fields_inherited_from_class_net.minecraftforge.fluids.BlockFluidBase"> +<!-- --> +</a> +<h3>Fields inherited from class net.minecraftforge.fluids.<a href="../../../net/minecraftforge/fluids/BlockFluidBase.html" title="class in net.minecraftforge.fluids">BlockFluidBase</a></h3> +<code><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#defaultDisplacements">defaultDisplacements</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#density">density</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#densityDir">densityDir</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#displacements">displacements</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#fluidName">fluidName</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#maxScaledLight">maxScaledLight</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#quantaPerBlock">quantaPerBlock</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#quantaPerBlockFloat">quantaPerBlockFloat</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#renderPass">renderPass</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#temperature">temperature</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#tickRate">tickRate</a></code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="fields_inherited_from_class_net.minecraft.block.Block"> +<!-- --> +</a> +<h3>Fields inherited from class net.minecraft.block.<a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></h3> +<code><a href="../../../net/minecraft/block/Block.html#blockConstructorCalled">blockConstructorCalled</a>, <a href="../../../net/minecraft/block/Block.html#blockHardness">blockHardness</a>, <a href="../../../net/minecraft/block/Block.html#blockIcon">blockIcon</a>, <a href="../../../net/minecraft/block/Block.html#blockMaterial">blockMaterial</a>, <a href="../../../net/minecraft/block/Block.html#blockParticleGravity">blockParticleGravity</a>, <a href="../../../net/minecraft/block/Block.html#blockRegistry">blockRegistry</a>, <a href="../../../net/minecraft/block/Block.html#blockResistance">blockResistance</a>, <a href="../../../net/minecraft/block/Block.html#canBlockGrass">canBlockGrass</a>, <a href="../../../net/minecraft/block/Block.html#capturedDrops">capturedDrops</a>, <a href="../../../net/minecraft/block/Block.html#captureDrops">captureDrops</a>, <a href="../../../net/minecraft/block/Block.html#delegate">delegate</a>, <a href="../../../net/minecraft/block/Block.html#enableStats">enableStats</a>, <a href="../../../net/minecraft/block/Block.html#harvesters">harvesters</a>, <a href="../../../net/minecraft/block/Block.html#isBlockContainer">isBlockContainer</a>, <a href="../../../net/minecraft/block/Block.html#lightOpacity">lightOpacity</a>, <a href="../../../net/minecraft/block/Block.html#lightValue">lightValue</a>, <a href="../../../net/minecraft/block/Block.html#maxX">maxX</a>, <a href="../../../net/minecraft/block/Block.html#maxY">maxY</a>, <a href="../../../net/minecraft/block/Block.html#maxZ">maxZ</a>, <a href="../../../net/minecraft/block/Block.html#minX">minX</a>, <a href="../../../net/minecraft/block/Block.html#minY">minY</a>, <a href="../../../net/minecraft/block/Block.html#minZ">minZ</a>, <a href="../../../net/minecraft/block/Block.html#needsRandomTick">needsRandomTick</a>, <a href="../../../net/minecraft/block/Block.html#opaque">opaque</a>, <a href="../../../net/minecraft/block/Block.html#slipperiness">slipperiness</a>, <a href="../../../net/minecraft/block/Block.html#soundTypeAnvil">soundTypeAnvil</a>, <a href="../../../net/minecraft/block/Block.html#soundTypeCloth">soundTypeCloth</a>, <a href="../../../net/minecraft/block/Block.html#soundTypeGlass">soundTypeGlass</a>, <a href="../../../net/minecraft/block/Block.html#soundTypeGrass">soundTypeGrass</a>, <a href="../../../net/minecraft/block/Block.html#soundTypeGravel">soundTypeGravel</a>, <a href="../../../net/minecraft/block/Block.html#soundTypeLadder">soundTypeLadder</a>, <a href="../../../net/minecraft/block/Block.html#soundTypeMetal">soundTypeMetal</a>, <a href="../../../net/minecraft/block/Block.html#soundTypePiston">soundTypePiston</a>, <a href="../../../net/minecraft/block/Block.html#soundTypeSand">soundTypeSand</a>, <a href="../../../net/minecraft/block/Block.html#soundTypeSnow">soundTypeSnow</a>, <a href="../../../net/minecraft/block/Block.html#soundTypeStone">soundTypeStone</a>, <a href="../../../net/minecraft/block/Block.html#soundTypeWood">soundTypeWood</a>, <a href="../../../net/minecraft/block/Block.html#stepSound">stepSound</a>, <a href="../../../net/minecraft/block/Block.html#textureName">textureName</a>, <a href="../../../net/minecraft/block/Block.html#useNeighborBrightness">useNeighborBrightness</a></code></li> +</ul> +</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/minecraftforge/fluids/BlockFluidFinite.html#BlockFluidFinite(net.minecraftforge.fluids.Fluid,%20net.minecraft.block.material.Material)">BlockFluidFinite</a></strong>(<a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> fluid, + <a href="../../../net/minecraft/block/material/Material.html" title="class in net.minecraft.block.material">Material</a> material)</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/minecraftforge/fluids/BlockFluidFinite.html#canCollideCheck(int,%20boolean)">canCollideCheck</a></strong>(int meta, + boolean fullHit)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidFinite.html#canDrain(net.minecraft.world.World,%20int,%20int,%20int)">canDrain</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</code> +<div class="block">Check to see if a block can be drained.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidFinite.html#drain(net.minecraft.world.World,%20int,%20int,%20int,%20boolean)">drain</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z, + boolean doDrain)</code> +<div class="block">Attempt to drain the block.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidFinite.html#getMaxRenderHeightMeta()">getMaxRenderHeightMeta</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidFinite.html#getQuantaValue(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getQuantaValue</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidFinite.html#tryToFlowVerticallyInto(net.minecraft.world.World,%20int,%20int,%20int,%20int)">tryToFlowVerticallyInto</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z, + int amtToInput)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/BlockFluidFinite.html#updateTick(net.minecraft.world.World,%20int,%20int,%20int,%20java.util.Random)">updateTick</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z, + java.util.Random rand)</code> </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_net.minecraftforge.fluids.BlockFluidBase"> +<!-- --> +</a> +<h3>Methods inherited from class net.minecraftforge.fluids.<a href="../../../net/minecraftforge/fluids/BlockFluidBase.html" title="class in net.minecraftforge.fluids">BlockFluidBase</a></h3> +<code><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#canDisplace(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">canDisplace</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#displaceIfPossible(net.minecraft.world.World,%20int,%20int,%20int)">displaceIfPossible</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#func_149698_L()">func_149698_L</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getBlocksMovement(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getBlocksMovement</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getCollisionBoundingBoxFromPool(net.minecraft.world.World,%20int,%20int,%20int)">getCollisionBoundingBoxFromPool</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getDensity(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getDensity</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getFilledPercentage(net.minecraft.world.World,%20int,%20int,%20int)">getFilledPercentage</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getFlowDirection(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getFlowDirection</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getFlowVector(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getFlowVector</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getFluid()">getFluid</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getItemDropped(int,%20java.util.Random,%20int)">getItemDropped</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getLightValue(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getLightValue</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getMixedBrightnessForBlock(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getMixedBrightnessForBlock</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getQuantaPercentage(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getQuantaPercentage</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getQuantaValueAbove(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20int)">getQuantaValueAbove</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getQuantaValueBelow(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20int)">getQuantaValueBelow</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getRenderBlockPass()">getRenderBlockPass</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getRenderType()">getRenderType</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getTemperature(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getTemperature</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#isOpaqueCube()">isOpaqueCube</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#onBlockAdded(net.minecraft.world.World,%20int,%20int,%20int)">onBlockAdded</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#onNeighborBlockChange(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.block.Block)">onNeighborBlockChange</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#quantityDropped(java.util.Random)">quantityDropped</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#renderAsNormalBlock()">renderAsNormalBlock</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#setDensity(int)">setDensity</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#setMaxScaledLight(int)">setMaxScaledLight</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#setQuantaPerBlock(int)">setQuantaPerBlock</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#setRenderPass(int)">setRenderPass</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#setTemperature(int)">setTemperature</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#setTickRate(int)">setTickRate</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#shouldSideBeRendered(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20int)">shouldSideBeRendered</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#tickRate(net.minecraft.world.World)">tickRate</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#velocityToAddToEntity(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.entity.Entity,%20net.minecraft.util.Vec3)">velocityToAddToEntity</a></code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_net.minecraft.block.Block"> +<!-- --> +</a> +<h3>Methods inherited from class net.minecraft.block.<a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></h3> +<code><a href="../../../net/minecraft/block/Block.html#addCollisionBoxesToList(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.util.AxisAlignedBB,%20java.util.List,%20net.minecraft.entity.Entity)">addCollisionBoxesToList</a>, <a href="../../../net/minecraft/block/Block.html#addDestroyEffects(net.minecraft.world.World,%20int,%20int,%20int,%20int,%20net.minecraft.client.particle.EffectRenderer)">addDestroyEffects</a>, <a href="../../../net/minecraft/block/Block.html#addHitEffects(net.minecraft.world.World,%20net.minecraft.util.MovingObjectPosition,%20net.minecraft.client.particle.EffectRenderer)">addHitEffects</a>, <a href="../../../net/minecraft/block/Block.html#beginLeavesDecay(net.minecraft.world.World,%20int,%20int,%20int)">beginLeavesDecay</a>, <a href="../../../net/minecraft/block/Block.html#breakBlock(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.block.Block,%20int)">breakBlock</a>, <a href="../../../net/minecraft/block/Block.html#canBeReplacedByLeaves(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">canBeReplacedByLeaves</a>, <a href="../../../net/minecraft/block/Block.html#canBlockStay(net.minecraft.world.World,%20int,%20int,%20int)">canBlockStay</a>, <a href="../../../net/minecraft/block/Block.html#canConnectRedstone(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20int)">canConnectRedstone</a>, <a href="../../../net/minecraft/block/Block.html#canCreatureSpawn(net.minecraft.entity.EnumCreatureType,%20net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">canCreatureSpawn</a>, <a href="../../../net/minecraft/block/Block.html#canDropFromExplosion(net.minecraft.world.Explosion)">canDropFromExplosion</a>, <a href="../../../net/minecraft/block/Block.html#canEntityDestroy(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20net.minecraft.entity.Entity)">canEntityDestroy</a>, <a href="../../../net/minecraft/block/Block.html#canHarvestBlock(net.minecraft.entity.player.EntityPlayer,%20int)">canHarvestBlock</a>, <a href="../../../net/minecraft/block/Block.html#canPlaceBlockAt(net.minecraft.world.World,%20int,%20int,%20int)">canPlaceBlockAt</a>, <a href="../../../net/minecraft/block/Block.html#canPlaceBlockOnSide(net.minecraft.world.World,%20int,%20int,%20int,%20int)">canPlaceBlockOnSide</a>, <a href="../../../net/minecraft/block/Block.html#canPlaceTorchOnTop(net.minecraft.world.World,%20int,%20int,%20int)">canPlaceTorchOnTop</a>, <a href="../../../net/minecraft/block/Block.html#canProvidePower()">canProvidePower</a>, <a href="../../../net/minecraft/block/Block.html#canRenderInPass(int)">canRenderInPass</a>, <a href="../../../net/minecraft/block/Block.html#canReplace(net.minecraft.world.World,%20int,%20int,%20int,%20int,%20net.minecraft.item.ItemStack)">canReplace</a>, <a href="../../../net/minecraft/block/Block.html#canSilkHarvest()">canSilkHarvest</a>, <a href="../../../net/minecraft/block/Block.html#canSilkHarvest(net.minecraft.world.World,%20net.minecraft.entity.player.EntityPlayer,%20int,%20int,%20int,%20int)">canSilkHarvest</a>, <a href="../../../net/minecraft/block/Block.html#canSustainLeaves(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">canSustainLeaves</a>, <a href="../../../net/minecraft/block/Block.html#canSustainPlant(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20net.minecraftforge.common.util.ForgeDirection,%20net.minecraftforge.common.IPlantable)">canSustainPlant</a>, <a href="../../../net/minecraft/block/Block.html#captureDrops(boolean)">captureDrops</a>, <a href="../../../net/minecraft/block/Block.html#collisionRayTrace(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.util.Vec3,%20net.minecraft.util.Vec3)">collisionRayTrace</a>, <a href="../../../net/minecraft/block/Block.html#colorMultiplier(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">colorMultiplier</a>, <a href="../../../net/minecraft/block/Block.html#createStackedBlock(int)">createStackedBlock</a>, <a href="../../../net/minecraft/block/Block.html#createTileEntity(net.minecraft.world.World,%20int)">createTileEntity</a>, <a href="../../../net/minecraft/block/Block.html#damageDropped(int)">damageDropped</a>, <a href="../../../net/minecraft/block/Block.html#disableStats()">disableStats</a>, <a href="../../../net/minecraft/block/Block.html#dropBlockAsItem(net.minecraft.world.World,%20int,%20int,%20int,%20int,%20int)">dropBlockAsItem</a>, <a href="../../../net/minecraft/block/Block.html#dropBlockAsItem(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.item.ItemStack)">dropBlockAsItem</a>, <a href="../../../net/minecraft/block/Block.html#dropBlockAsItemWithChance(net.minecraft.world.World,%20int,%20int,%20int,%20int,%20float,%20int)">dropBlockAsItemWithChance</a>, <a href="../../../net/minecraft/block/Block.html#dropXpOnBlockBreak(net.minecraft.world.World,%20int,%20int,%20int,%20int)">dropXpOnBlockBreak</a>, <a href="../../../net/minecraft/block/Block.html#fillWithRain(net.minecraft.world.World,%20int,%20int,%20int)">fillWithRain</a>, <a href="../../../net/minecraft/block/Block.html#func_149730_j()">func_149730_j</a>, <a href="../../../net/minecraft/block/Block.html#func_149735_b(int,%20int)">func_149735_b</a>, <a href="../../../net/minecraft/block/Block.html#getAmbientOcclusionLightValue()">getAmbientOcclusionLightValue</a>, <a href="../../../net/minecraft/block/Block.html#getBedDirection(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getBedDirection</a>, <a href="../../../net/minecraft/block/Block.html#getBedSpawnPosition(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20net.minecraft.entity.player.EntityPlayer)">getBedSpawnPosition</a>, <a href="../../../net/minecraft/block/Block.html#getBlockBoundsMaxX()">getBlockBoundsMaxX</a>, <a href="../../../net/minecraft/block/Block.html#getBlockBoundsMaxY()">getBlockBoundsMaxY</a>, <a href="../../../net/minecraft/block/Block.html#getBlockBoundsMaxZ()">getBlockBoundsMaxZ</a>, <a href="../../../net/minecraft/block/Block.html#getBlockBoundsMinX()">getBlockBoundsMinX</a>, <a href="../../../net/minecraft/block/Block.html#getBlockBoundsMinY()">getBlockBoundsMinY</a>, <a href="../../../net/minecraft/block/Block.html#getBlockBoundsMinZ()">getBlockBoundsMinZ</a>, <a href="../../../net/minecraft/block/Block.html#getBlockById(int)">getBlockById</a>, <a href="../../../net/minecraft/block/Block.html#getBlockColor()">getBlockColor</a>, <a href="../../../net/minecraft/block/Block.html#getBlockFromItem(net.minecraft.item.Item)">getBlockFromItem</a>, <a href="../../../net/minecraft/block/Block.html#getBlockFromName(java.lang.String)">getBlockFromName</a>, <a href="../../../net/minecraft/block/Block.html#getBlockHardness(net.minecraft.world.World,%20int,%20int,%20int)">getBlockHardness</a>, <a href="../../../net/minecraft/block/Block.html#getBlockTextureFromSide(int)">getBlockTextureFromSide</a>, <a href="../../../net/minecraft/block/Block.html#getCanBlockGrass()">getCanBlockGrass</a>, <a href="../../../net/minecraft/block/Block.html#getComparatorInputOverride(net.minecraft.world.World,%20int,%20int,%20int,%20int)">getComparatorInputOverride</a>, <a href="../../../net/minecraft/block/Block.html#getCreativeTabToDisplayOn()">getCreativeTabToDisplayOn</a>, <a href="../../../net/minecraft/block/Block.html#getDamageValue(net.minecraft.world.World,%20int,%20int,%20int)">getDamageValue</a>, <a href="../../../net/minecraft/block/Block.html#getDrops(net.minecraft.world.World,%20int,%20int,%20int,%20int,%20int)">getDrops</a>, <a href="../../../net/minecraft/block/Block.html#getEnableStats()">getEnableStats</a>, <a href="../../../net/minecraft/block/Block.html#getEnchantPowerBonus(net.minecraft.world.World,%20int,%20int,%20int)">getEnchantPowerBonus</a>, <a href="../../../net/minecraft/block/Block.html#getExpDrop(net.minecraft.world.IBlockAccess,%20int,%20int)">getExpDrop</a>, <a href="../../../net/minecraft/block/Block.html#getExplosionResistance(net.minecraft.entity.Entity)">getExplosionResistance</a>, <a href="../../../net/minecraft/block/Block.html#getExplosionResistance(net.minecraft.entity.Entity,%20net.minecraft.world.World,%20int,%20int,%20int,%20double,%20double,%20double)">getExplosionResistance</a>, <a href="../../../net/minecraft/block/Block.html#getFireSpreadSpeed(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20net.minecraftforge.common.util.ForgeDirection)">getFireSpreadSpeed</a>, <a href="../../../net/minecraft/block/Block.html#getFlammability(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20net.minecraftforge.common.util.ForgeDirection)">getFlammability</a>, <a href="../../../net/minecraft/block/Block.html#getHarvestLevel(int)">getHarvestLevel</a>, <a href="../../../net/minecraft/block/Block.html#getHarvestTool(int)">getHarvestTool</a>, <a href="../../../net/minecraft/block/Block.html#getIcon(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20int)">getIcon</a>, <a href="../../../net/minecraft/block/Block.html#getIcon(int,%20int)">getIcon</a>, <a href="../../../net/minecraft/block/Block.html#getIdFromBlock(net.minecraft.block.Block)">getIdFromBlock</a>, <a href="../../../net/minecraft/block/Block.html#getItem(net.minecraft.world.World,%20int,%20int,%20int)">getItem</a>, <a href="../../../net/minecraft/block/Block.html#getItemIconName()">getItemIconName</a>, <a href="../../../net/minecraft/block/Block.html#getLightOpacity()">getLightOpacity</a>, <a href="../../../net/minecraft/block/Block.html#getLightOpacity(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getLightOpacity</a>, <a href="../../../net/minecraft/block/Block.html#getLightValue()">getLightValue</a>, <a href="../../../net/minecraft/block/Block.html#getLocalizedName()">getLocalizedName</a>, <a href="../../../net/minecraft/block/Block.html#getMapColor(int)">getMapColor</a>, <a href="../../../net/minecraft/block/Block.html#getMaterial()">getMaterial</a>, <a href="../../../net/minecraft/block/Block.html#getMobilityFlag()">getMobilityFlag</a>, <a href="../../../net/minecraft/block/Block.html#getPickBlock(net.minecraft.util.MovingObjectPosition,%20net.minecraft.world.World,%20int,%20int,%20int)">getPickBlock</a>, <a href="../../../net/minecraft/block/Block.html#getPickBlock(net.minecraft.util.MovingObjectPosition,%20net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.entity.player.EntityPlayer)">getPickBlock</a>, <a href="../../../net/minecraft/block/Block.html#getPlayerRelativeBlockHardness(net.minecraft.entity.player.EntityPlayer,%20net.minecraft.world.World,%20int,%20int,%20int)">getPlayerRelativeBlockHardness</a>, <a href="../../../net/minecraft/block/Block.html#getRenderColor(int)">getRenderColor</a>, <a href="../../../net/minecraft/block/Block.html#getSelectedBoundingBoxFromPool(net.minecraft.world.World,%20int,%20int,%20int)">getSelectedBoundingBoxFromPool</a>, <a href="../../../net/minecraft/block/Block.html#getSubBlocks(net.minecraft.item.Item,%20net.minecraft.creativetab.CreativeTabs,%20java.util.List)">getSubBlocks</a>, <a href="../../../net/minecraft/block/Block.html#getTextureName()">getTextureName</a>, <a href="../../../net/minecraft/block/Block.html#getTickRandomly()">getTickRandomly</a>, <a href="../../../net/minecraft/block/Block.html#getUnlocalizedName()">getUnlocalizedName</a>, <a href="../../../net/minecraft/block/Block.html#getUseNeighborBrightness()">getUseNeighborBrightness</a>, <a href="../../../net/minecraft/block/Block.html#getValidRotations(net.minecraft.world.World,%20int,%20int,%20int)">getValidRotations</a>, <a href="../../../net/minecraft/block/Block.html#getWeakChanges(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getWeakChanges</a>, <a href="../../../net/minecraft/block/Block.html#harvestBlock(net.minecraft.world.World,%20net.minecraft.entity.player.EntityPlayer,%20int,%20int,%20int,%20int)">harvestBlock</a>, <a href="../../../net/minecraft/block/Block.html#hasComparatorInputOverride()">hasComparatorInputOverride</a>, <a href="../../../net/minecraft/block/Block.html#hasTileEntity()">hasTileEntity</a>, <a href="../../../net/minecraft/block/Block.html#hasTileEntity(int)">hasTileEntity</a>, <a href="../../../net/minecraft/block/Block.html#isAir(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">isAir</a>, <a href="../../../net/minecraft/block/Block.html#isAssociatedBlock(net.minecraft.block.Block)">isAssociatedBlock</a>, <a href="../../../net/minecraft/block/Block.html#isBeaconBase(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20int,%20int,%20int)">isBeaconBase</a>, <a href="../../../net/minecraft/block/Block.html#isBed(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20net.minecraft.entity.EntityLivingBase)">isBed</a>, <a href="../../../net/minecraft/block/Block.html#isBedFoot(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">isBedFoot</a>, <a href="../../../net/minecraft/block/Block.html#isBlockNormalCube()">isBlockNormalCube</a>, <a href="../../../net/minecraft/block/Block.html#isBlockSolid(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20int)">isBlockSolid</a>, <a href="../../../net/minecraft/block/Block.html#isBurning(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">isBurning</a>, <a href="../../../net/minecraft/block/Block.html#isCollidable()">isCollidable</a>, <a href="../../../net/minecraft/block/Block.html#isEqualTo(net.minecraft.block.Block,%20net.minecraft.block.Block)">isEqualTo</a>, <a href="../../../net/minecraft/block/Block.html#isFertile(net.minecraft.world.World,%20int,%20int,%20int)">isFertile</a>, <a href="../../../net/minecraft/block/Block.html#isFireSource(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraftforge.common.util.ForgeDirection)">isFireSource</a>, <a href="../../../net/minecraft/block/Block.html#isFlammable(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20net.minecraftforge.common.util.ForgeDirection)">isFlammable</a>, <a href="../../../net/minecraft/block/Block.html#isFlowerPot()">isFlowerPot</a>, <a href="../../../net/minecraft/block/Block.html#isFoliage(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">isFoliage</a>, <a href="../../../net/minecraft/block/Block.html#isLadder(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20net.minecraft.entity.EntityLivingBase)">isLadder</a>, <a href="../../../net/minecraft/block/Block.html#isLeaves(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">isLeaves</a>, <a href="../../../net/minecraft/block/Block.html#isNormalCube()">isNormalCube</a>, <a href="../../../net/minecraft/block/Block.html#isNormalCube(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">isNormalCube</a>, <a href="../../../net/minecraft/block/Block.html#isProvidingStrongPower(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20int)">isProvidingStrongPower</a>, <a href="../../../net/minecraft/block/Block.html#isProvidingWeakPower(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20int)">isProvidingWeakPower</a>, <a href="../../../net/minecraft/block/Block.html#isReplaceable(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">isReplaceable</a>, <a href="../../../net/minecraft/block/Block.html#isReplaceableOreGen(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.block.Block)">isReplaceableOreGen</a>, <a href="../../../net/minecraft/block/Block.html#isSideSolid(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20net.minecraftforge.common.util.ForgeDirection)">isSideSolid</a>, <a href="../../../net/minecraft/block/Block.html#isToolEffective(java.lang.String,%20int)">isToolEffective</a>, <a href="../../../net/minecraft/block/Block.html#isWood(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">isWood</a>, <a href="../../../net/minecraft/block/Block.html#onBlockActivated(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.entity.player.EntityPlayer,%20int,%20float,%20float,%20float)">onBlockActivated</a>, <a href="../../../net/minecraft/block/Block.html#onBlockClicked(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.entity.player.EntityPlayer)">onBlockClicked</a>, <a href="../../../net/minecraft/block/Block.html#onBlockDestroyedByExplosion(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.world.Explosion)">onBlockDestroyedByExplosion</a>, <a href="../../../net/minecraft/block/Block.html#onBlockDestroyedByPlayer(net.minecraft.world.World,%20int,%20int,%20int,%20int)">onBlockDestroyedByPlayer</a>, <a href="../../../net/minecraft/block/Block.html#onBlockEventReceived(net.minecraft.world.World,%20int,%20int,%20int,%20int,%20int)">onBlockEventReceived</a>, <a href="../../../net/minecraft/block/Block.html#onBlockExploded(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.world.Explosion)">onBlockExploded</a>, <a href="../../../net/minecraft/block/Block.html#onBlockHarvested(net.minecraft.world.World,%20int,%20int,%20int,%20int,%20net.minecraft.entity.player.EntityPlayer)">onBlockHarvested</a>, <a href="../../../net/minecraft/block/Block.html#onBlockPlaced(net.minecraft.world.World,%20int,%20int,%20int,%20int,%20float,%20float,%20float,%20int)">onBlockPlaced</a>, <a href="../../../net/minecraft/block/Block.html#onBlockPlacedBy(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.entity.EntityLivingBase,%20net.minecraft.item.ItemStack)">onBlockPlacedBy</a>, <a href="../../../net/minecraft/block/Block.html#onBlockPreDestroy(net.minecraft.world.World,%20int,%20int,%20int,%20int)">onBlockPreDestroy</a>, <a href="../../../net/minecraft/block/Block.html#onEntityCollidedWithBlock(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.entity.Entity)">onEntityCollidedWithBlock</a>, <a href="../../../net/minecraft/block/Block.html#onEntityWalking(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.entity.Entity)">onEntityWalking</a>, <a href="../../../net/minecraft/block/Block.html#onFallenUpon(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.entity.Entity,%20float)">onFallenUpon</a>, <a href="../../../net/minecraft/block/Block.html#onNeighborChange(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20int,%20int,%20int)">onNeighborChange</a>, <a href="../../../net/minecraft/block/Block.html#onPlantGrow(net.minecraft.world.World,%20int,%20int,%20int,%20int,%20int,%20int)">onPlantGrow</a>, <a href="../../../net/minecraft/block/Block.html#onPostBlockPlaced(net.minecraft.world.World,%20int,%20int,%20int,%20int)">onPostBlockPlaced</a>, <a href="../../../net/minecraft/block/Block.html#quantityDropped(int,%20int,%20java.util.Random)">quantityDropped</a>, <a href="../../../net/minecraft/block/Block.html#quantityDroppedWithBonus(int,%20java.util.Random)">quantityDroppedWithBonus</a>, <a href="../../../net/minecraft/block/Block.html#randomDisplayTick(net.minecraft.world.World,%20int,%20int,%20int,%20java.util.Random)">randomDisplayTick</a>, <a href="../../../net/minecraft/block/Block.html#recolourBlock(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraftforge.common.util.ForgeDirection,%20int)">recolourBlock</a>, <a href="../../../net/minecraft/block/Block.html#registerBlockIcons(net.minecraft.client.renderer.texture.IIconRegister)">registerBlockIcons</a>, <a href="../../../net/minecraft/block/Block.html#registerBlocks()">registerBlocks</a>, <a href="../../../net/minecraft/block/Block.html#removedByPlayer(net.minecraft.world.World,%20net.minecraft.entity.player.EntityPlayer,%20int,%20int,%20int)">removedByPlayer</a>, <a href="../../../net/minecraft/block/Block.html#removedByPlayer(net.minecraft.world.World,%20net.minecraft.entity.player.EntityPlayer,%20int,%20int,%20int,%20boolean)">removedByPlayer</a>, <a href="../../../net/minecraft/block/Block.html#rotateBlock(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraftforge.common.util.ForgeDirection)">rotateBlock</a>, <a href="../../../net/minecraft/block/Block.html#setBedOccupied(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20net.minecraft.entity.player.EntityPlayer,%20boolean)">setBedOccupied</a>, <a href="../../../net/minecraft/block/Block.html#setBlockBounds(float,%20float,%20float,%20float,%20float,%20float)">setBlockBounds</a>, <a href="../../../net/minecraft/block/Block.html#setBlockBoundsBasedOnState(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">setBlockBoundsBasedOnState</a>, <a href="../../../net/minecraft/block/Block.html#setBlockBoundsForItemRender()">setBlockBoundsForItemRender</a>, <a href="../../../net/minecraft/block/Block.html#setBlockName(java.lang.String)">setBlockName</a>, <a href="../../../net/minecraft/block/Block.html#setBlockTextureName(java.lang.String)">setBlockTextureName</a>, <a href="../../../net/minecraft/block/Block.html#setBlockUnbreakable()">setBlockUnbreakable</a>, <a href="../../../net/minecraft/block/Block.html#setCreativeTab(net.minecraft.creativetab.CreativeTabs)">setCreativeTab</a>, <a href="../../../net/minecraft/block/Block.html#setHardness(float)">setHardness</a>, <a href="../../../net/minecraft/block/Block.html#setHarvestLevel(java.lang.String,%20int)">setHarvestLevel</a>, <a href="../../../net/minecraft/block/Block.html#setHarvestLevel(java.lang.String,%20int,%20int)">setHarvestLevel</a>, <a href="../../../net/minecraft/block/Block.html#setLightLevel(float)">setLightLevel</a>, <a href="../../../net/minecraft/block/Block.html#setLightOpacity(int)">setLightOpacity</a>, <a href="../../../net/minecraft/block/Block.html#setResistance(float)">setResistance</a>, <a href="../../../net/minecraft/block/Block.html#setStepSound(net.minecraft.block.Block.SoundType)">setStepSound</a>, <a href="../../../net/minecraft/block/Block.html#setTickRandomly(boolean)">setTickRandomly</a>, <a href="../../../net/minecraft/block/Block.html#shouldCheckWeakPower(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20int)">shouldCheckWeakPower</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>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"> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="BlockFluidFinite(net.minecraftforge.fluids.Fluid, net.minecraft.block.material.Material)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>BlockFluidFinite</h4> +<pre>public BlockFluidFinite(<a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> fluid, + <a href="../../../net/minecraft/block/material/Material.html" title="class in net.minecraft.block.material">Material</a> material)</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="getQuantaValue(net.minecraft.world.IBlockAccess, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getQuantaValue</h4> +<pre>public int getQuantaValue(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z)</pre> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getQuantaValue(net.minecraft.world.IBlockAccess,%20int,%20int,%20int)">getQuantaValue</a></code> in class <code><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html" title="class in net.minecraftforge.fluids">BlockFluidBase</a></code></dd> +</dl> +</li> +</ul> +<a name="canCollideCheck(int, boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>canCollideCheck</h4> +<pre>public boolean canCollideCheck(int meta, + boolean fullHit)</pre> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#canCollideCheck(int,%20boolean)">canCollideCheck</a></code> in class <code><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html" title="class in net.minecraftforge.fluids">BlockFluidBase</a></code></dd> +</dl> +</li> +</ul> +<a name="getMaxRenderHeightMeta()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getMaxRenderHeightMeta</h4> +<pre>public int getMaxRenderHeightMeta()</pre> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html#getMaxRenderHeightMeta()">getMaxRenderHeightMeta</a></code> in class <code><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html" title="class in net.minecraftforge.fluids">BlockFluidBase</a></code></dd> +</dl> +</li> +</ul> +<a name="updateTick(net.minecraft.world.World, int, int, int, java.util.Random)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>updateTick</h4> +<pre>public void updateTick(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z, + java.util.Random rand)</pre> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code><a href="../../../net/minecraft/block/Block.html#updateTick(net.minecraft.world.World,%20int,%20int,%20int,%20java.util.Random)">updateTick</a></code> in class <code><a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></code></dd> +</dl> +</li> +</ul> +<a name="tryToFlowVerticallyInto(net.minecraft.world.World, int, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>tryToFlowVerticallyInto</h4> +<pre>public int tryToFlowVerticallyInto(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z, + int amtToInput)</pre> +</li> +</ul> +<a name="drain(net.minecraft.world.World, int, int, int, boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>drain</h4> +<pre>public <a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> drain(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z, + boolean doDrain)</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../net/minecraftforge/fluids/IFluidBlock.html#drain(net.minecraft.world.World,%20int,%20int,%20int,%20boolean)">IFluidBlock</a></code></strong></div> +<div class="block">Attempt to drain the block. This method should be called by devices such as pumps. + + NOTE: The block is intended to handle its own state changes.</div> +<dl><dd><code>doDrain</code> - If false, the drain will only be simulated.</dd> +<dt><span class="strong">Returns:</span></dt><dd></dd></dl> +</li> +</ul> +<a name="canDrain(net.minecraft.world.World, int, int, int)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>canDrain</h4> +<pre>public boolean canDrain(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../net/minecraftforge/fluids/IFluidBlock.html#canDrain(net.minecraft.world.World,%20int,%20int,%20int)">IFluidBlock</a></code></strong></div> +<div class="block">Check to see if a block can be drained. This method should be called by devices such as + pumps.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd></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/minecraftforge/fluids/BlockFluidClassic.html" title="class in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/BlockFluidFinite.html" target="_top">Frames</a></li> +<li><a href="BlockFluidFinite.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_classes_inherited_from_class_net.minecraft.block.Block">Nested</a> | </li> +<li><a href="#fields_inherited_from_class_net.minecraftforge.fluids.BlockFluidBase">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>Field | </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> diff --git a/javadoc/net/minecraftforge/fluids/Fluid.html b/javadoc/net/minecraftforge/fluids/Fluid.html new file mode 100644 index 0000000..0b91ec0 --- /dev/null +++ b/javadoc/net/minecraftforge/fluids/Fluid.html @@ -0,0 +1,1169 @@ +<!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:17 EST 2015 --> +<title>Fluid (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="Fluid (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/minecraftforge/fluids/BlockFluidFinite.html" title="class in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraftforge/fluids/FluidContainerRegistry.html" title="class in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/Fluid.html" target="_top">Frames</a></li> +<li><a href="Fluid.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.minecraftforge.fluids</div> +<h2 title="Class Fluid" class="title">Class Fluid</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>net.minecraftforge.fluids.Fluid</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public class <span class="strong">Fluid</span> +extends java.lang.Object</pre> +<div class="block">Minecraft Forge Fluid Implementation + + This class is a fluid (liquid or gas) equivalent to "Item." It describes the nature of a fluid + and contains its general properties. + + These properties do not have inherent gameplay mechanics - they are provided so that mods may + choose to take advantage of them. + + Fluid implementations are not required to actively use these properties, nor are objects + interfacing with fluids required to make use of them, but it is encouraged. + + The default values can be used as a reference point for mods adding fluids such as oil or heavy + water.</div> +</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/block/Block.html" title="class in net.minecraft.block">Block</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#block">block</a></strong></code> +<div class="block">If there is a Block implementation of the Fluid, the Block is linked here.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#density">density</a></strong></code> +<div class="block">Density of the fluid - completely arbitrary; negative density indicates that the fluid is + lighter than air.</div> +</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/minecraftforge/fluids/Fluid.html#flowingIcon">flowingIcon</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/minecraftforge/fluids/Fluid.html#fluidName">fluidName</a></strong></code> +<div class="block">The unique identification name for this fluid.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#isGaseous">isGaseous</a></strong></code> +<div class="block">This indicates if the fluid is gaseous.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#luminosity">luminosity</a></strong></code> +<div class="block">The light level emitted by this fluid.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected <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/minecraftforge/fluids/Fluid.html#rarity">rarity</a></strong></code> +<div class="block">The rarity of the fluid.</div> +</td> +</tr> +<tr class="rowColor"> +<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/minecraftforge/fluids/Fluid.html#stillIcon">stillIcon</a></strong></code> +<div class="block">The Icons for this fluid.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#temperature">temperature</a></strong></code> +<div class="block">Temperature of the fluid - completely arbitrary; higher temperature indicates that the fluid is + hotter than air.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected java.lang.String</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#unlocalizedName">unlocalizedName</a></strong></code> +<div class="block">The unlocalized name of this fluid.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#viscosity">viscosity</a></strong></code> +<div class="block">Viscosity ("thickness") of the fluid - completely arbitrary; negative values are not + permissible.</div> +</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/minecraftforge/fluids/Fluid.html#Fluid(java.lang.String)">Fluid</a></strong>(java.lang.String fluidName)</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/minecraftforge/fluids/Fluid.html#canBePlacedInWorld()">canBePlacedInWorld</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#getBlock()">getBlock</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#getColor()">getColor</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#getColor(net.minecraftforge.fluids.FluidStack)">getColor</a></strong>(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> stack)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#getColor(net.minecraft.world.World,%20int,%20int,%20int)">getColor</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#getDensity()">getDensity</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#getDensity(net.minecraftforge.fluids.FluidStack)">getDensity</a></strong>(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> stack)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#getDensity(net.minecraft.world.World,%20int,%20int,%20int)">getDensity</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</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/minecraftforge/fluids/Fluid.html#getFlowingIcon()">getFlowingIcon</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/minecraftforge/fluids/Fluid.html#getIcon()">getIcon</a></strong>()</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/minecraftforge/fluids/Fluid.html#getIcon(net.minecraftforge.fluids.FluidStack)">getIcon</a></strong>(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> stack)</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/minecraftforge/fluids/Fluid.html#getIcon(net.minecraft.world.World,%20int,%20int,%20int)">getIcon</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#getID()">getID</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>java.lang.String</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#getLocalizedName()">getLocalizedName</a></strong>()</code> +<div class="block"><strong>Deprecated.</strong> </div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>java.lang.String</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#getLocalizedName(net.minecraftforge.fluids.FluidStack)">getLocalizedName</a></strong>(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> stack)</code> +<div class="block">Returns the localized name of this fluid.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#getLuminosity()">getLuminosity</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#getLuminosity(net.minecraftforge.fluids.FluidStack)">getLuminosity</a></strong>(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> stack)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#getLuminosity(net.minecraft.world.World,%20int,%20int,%20int)">getLuminosity</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>java.lang.String</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#getName()">getName</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<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/minecraftforge/fluids/Fluid.html#getRarity()">getRarity</a></strong>()</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/minecraftforge/fluids/Fluid.html#getRarity(net.minecraftforge.fluids.FluidStack)">getRarity</a></strong>(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> stack)</code> </td> +</tr> +<tr class="rowColor"> +<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/minecraftforge/fluids/Fluid.html#getRarity(net.minecraft.world.World,%20int,%20int,%20int)">getRarity</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#getSpriteNumber()">getSpriteNumber</a></strong>()</code> +<div class="block">Returns 0 for "/terrain.png".</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/minecraftforge/fluids/Fluid.html#getStillIcon()">getStillIcon</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#getTemperature()">getTemperature</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#getTemperature(net.minecraftforge.fluids.FluidStack)">getTemperature</a></strong>(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> stack)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#getTemperature(net.minecraft.world.World,%20int,%20int,%20int)">getTemperature</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>java.lang.String</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#getUnlocalizedName()">getUnlocalizedName</a></strong>()</code> +<div class="block">Returns the unlocalized name of this fluid.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>java.lang.String</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#getUnlocalizedName(net.minecraftforge.fluids.FluidStack)">getUnlocalizedName</a></strong>(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> stack)</code> +<div class="block">A FluidStack sensitive version of getUnlocalizedName</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#getViscosity()">getViscosity</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#getViscosity(net.minecraftforge.fluids.FluidStack)">getViscosity</a></strong>(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> stack)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#getViscosity(net.minecraft.world.World,%20int,%20int,%20int)">getViscosity</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#isGaseous()">isGaseous</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#isGaseous(net.minecraftforge.fluids.FluidStack)">isGaseous</a></strong>(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> stack)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#isGaseous(net.minecraft.world.World,%20int,%20int,%20int)">isGaseous</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#registerLegacyName(java.lang.String,%20java.lang.String)">registerLegacyName</a></strong>(java.lang.String legacyName, + java.lang.String canonicalName)</code> +<div class="block">Register a legacy liquid name with the Fluids system</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#setBlock(net.minecraft.block.Block)">setBlock</a></strong>(<a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> block)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#setDensity(int)">setDensity</a></strong>(int density)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#setFlowingIcon(net.minecraft.util.IIcon)">setFlowingIcon</a></strong>(<a href="../../../net/minecraft/util/IIcon.html" title="interface in net.minecraft.util">IIcon</a> flowingIcon)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#setGaseous(boolean)">setGaseous</a></strong>(boolean isGaseous)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#setIcons(net.minecraft.util.IIcon)">setIcons</a></strong>(<a href="../../../net/minecraft/util/IIcon.html" title="interface in net.minecraft.util">IIcon</a> commonIcon)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#setIcons(net.minecraft.util.IIcon,%20net.minecraft.util.IIcon)">setIcons</a></strong>(<a href="../../../net/minecraft/util/IIcon.html" title="interface in net.minecraft.util">IIcon</a> stillIcon, + <a href="../../../net/minecraft/util/IIcon.html" title="interface in net.minecraft.util">IIcon</a> flowingIcon)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#setLuminosity(int)">setLuminosity</a></strong>(int luminosity)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#setRarity(net.minecraft.item.EnumRarity)">setRarity</a></strong>(<a href="../../../net/minecraft/item/EnumRarity.html" title="enum in net.minecraft.item">EnumRarity</a> rarity)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#setStillIcon(net.minecraft.util.IIcon)">setStillIcon</a></strong>(<a href="../../../net/minecraft/util/IIcon.html" title="interface in net.minecraft.util">IIcon</a> stillIcon)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#setTemperature(int)">setTemperature</a></strong>(int temperature)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#setUnlocalizedName(java.lang.String)">setUnlocalizedName</a></strong>(java.lang.String unlocalizedName)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/Fluid.html#setViscosity(int)">setViscosity</a></strong>(int viscosity)</code> </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="fluidName"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>fluidName</h4> +<pre>protected final java.lang.String fluidName</pre> +<div class="block">The unique identification name for this fluid.</div> +</li> +</ul> +<a name="unlocalizedName"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>unlocalizedName</h4> +<pre>protected java.lang.String unlocalizedName</pre> +<div class="block">The unlocalized name of this fluid.</div> +</li> +</ul> +<a name="stillIcon"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>stillIcon</h4> +<pre>protected <a href="../../../net/minecraft/util/IIcon.html" title="interface in net.minecraft.util">IIcon</a> stillIcon</pre> +<div class="block">The Icons for this fluid.</div> +</li> +</ul> +<a name="flowingIcon"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>flowingIcon</h4> +<pre>protected <a href="../../../net/minecraft/util/IIcon.html" title="interface in net.minecraft.util">IIcon</a> flowingIcon</pre> +</li> +</ul> +<a name="luminosity"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>luminosity</h4> +<pre>protected int luminosity</pre> +<div class="block">The light level emitted by this fluid. + + Default value is 0, as most fluids do not actively emit light.</div> +</li> +</ul> +<a name="density"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>density</h4> +<pre>protected int density</pre> +<div class="block">Density of the fluid - completely arbitrary; negative density indicates that the fluid is + lighter than air. + + Default value is approximately the real-life density of water in kg/m^3.</div> +</li> +</ul> +<a name="temperature"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>temperature</h4> +<pre>protected int temperature</pre> +<div class="block">Temperature of the fluid - completely arbitrary; higher temperature indicates that the fluid is + hotter than air. + + Default value is approximately the real-life room temperature of water in degrees Kelvin.</div> +</li> +</ul> +<a name="viscosity"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>viscosity</h4> +<pre>protected int viscosity</pre> +<div class="block">Viscosity ("thickness") of the fluid - completely arbitrary; negative values are not + permissible. + + Default value is approximately the real-life density of water in m/s^2 (x10^-3).</div> +</li> +</ul> +<a name="isGaseous"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isGaseous</h4> +<pre>protected boolean isGaseous</pre> +<div class="block">This indicates if the fluid is gaseous. + + Useful for rendering the fluid in containers and the world. + + Generally this is associated with negative density fluids.</div> +</li> +</ul> +<a name="rarity"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>rarity</h4> +<pre>protected <a href="../../../net/minecraft/item/EnumRarity.html" title="enum in net.minecraft.item">EnumRarity</a> rarity</pre> +<div class="block">The rarity of the fluid. + + Used primarily in tool tips.</div> +</li> +</ul> +<a name="block"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>block</h4> +<pre>protected <a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> block</pre> +<div class="block">If there is a Block implementation of the Fluid, the Block is linked here. + + The default value of null should remain for any Fluid without a Block implementation.</div> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="Fluid(java.lang.String)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>Fluid</h4> +<pre>public Fluid(java.lang.String fluidName)</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="setUnlocalizedName(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setUnlocalizedName</h4> +<pre>public <a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> setUnlocalizedName(java.lang.String unlocalizedName)</pre> +</li> +</ul> +<a name="setBlock(net.minecraft.block.Block)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setBlock</h4> +<pre>public <a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> setBlock(<a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> block)</pre> +</li> +</ul> +<a name="setLuminosity(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setLuminosity</h4> +<pre>public <a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> setLuminosity(int luminosity)</pre> +</li> +</ul> +<a name="setDensity(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setDensity</h4> +<pre>public <a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> setDensity(int density)</pre> +</li> +</ul> +<a name="setTemperature(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setTemperature</h4> +<pre>public <a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> setTemperature(int temperature)</pre> +</li> +</ul> +<a name="setViscosity(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setViscosity</h4> +<pre>public <a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> setViscosity(int viscosity)</pre> +</li> +</ul> +<a name="setGaseous(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setGaseous</h4> +<pre>public <a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> setGaseous(boolean isGaseous)</pre> +</li> +</ul> +<a name="setRarity(net.minecraft.item.EnumRarity)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setRarity</h4> +<pre>public <a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> setRarity(<a href="../../../net/minecraft/item/EnumRarity.html" title="enum in net.minecraft.item">EnumRarity</a> rarity)</pre> +</li> +</ul> +<a name="getName()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getName</h4> +<pre>public final java.lang.String getName()</pre> +</li> +</ul> +<a name="getID()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getID</h4> +<pre>public final int getID()</pre> +</li> +</ul> +<a name="getBlock()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getBlock</h4> +<pre>public final <a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> getBlock()</pre> +</li> +</ul> +<a name="canBePlacedInWorld()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>canBePlacedInWorld</h4> +<pre>public final boolean canBePlacedInWorld()</pre> +</li> +</ul> +<a name="getLocalizedName(net.minecraftforge.fluids.FluidStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getLocalizedName</h4> +<pre>public java.lang.String getLocalizedName(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> stack)</pre> +<div class="block">Returns the localized name of this fluid.</div> +</li> +</ul> +<a name="getLocalizedName()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getLocalizedName</h4> +<pre>@Deprecated +public java.lang.String getLocalizedName()</pre> +<div class="block"><span class="strong">Deprecated.</span> </div> +<div class="block">Use the FluidStack sensitive version above</div> +</li> +</ul> +<a name="getUnlocalizedName(net.minecraftforge.fluids.FluidStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getUnlocalizedName</h4> +<pre>public java.lang.String getUnlocalizedName(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> stack)</pre> +<div class="block">A FluidStack sensitive version of getUnlocalizedName</div> +</li> +</ul> +<a name="getUnlocalizedName()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getUnlocalizedName</h4> +<pre>public java.lang.String getUnlocalizedName()</pre> +<div class="block">Returns the unlocalized name of this fluid.</div> +</li> +</ul> +<a name="getSpriteNumber()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getSpriteNumber</h4> +<pre>public final int getSpriteNumber()</pre> +<div class="block">Returns 0 for "/terrain.png". ALL FLUID TEXTURES MUST BE ON THIS SHEET.</div> +</li> +</ul> +<a name="getLuminosity()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getLuminosity</h4> +<pre>public final int getLuminosity()</pre> +</li> +</ul> +<a name="getDensity()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getDensity</h4> +<pre>public final int getDensity()</pre> +</li> +</ul> +<a name="getTemperature()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getTemperature</h4> +<pre>public final int getTemperature()</pre> +</li> +</ul> +<a name="getViscosity()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getViscosity</h4> +<pre>public final int getViscosity()</pre> +</li> +</ul> +<a name="isGaseous()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isGaseous</h4> +<pre>public final boolean isGaseous()</pre> +</li> +</ul> +<a name="getRarity()"> +<!-- --> +</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()</pre> +</li> +</ul> +<a name="getColor()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getColor</h4> +<pre>public int getColor()</pre> +</li> +</ul> +<a name="setStillIcon(net.minecraft.util.IIcon)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setStillIcon</h4> +<pre>public final <a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> setStillIcon(<a href="../../../net/minecraft/util/IIcon.html" title="interface in net.minecraft.util">IIcon</a> stillIcon)</pre> +</li> +</ul> +<a name="setFlowingIcon(net.minecraft.util.IIcon)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setFlowingIcon</h4> +<pre>public final <a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> setFlowingIcon(<a href="../../../net/minecraft/util/IIcon.html" title="interface in net.minecraft.util">IIcon</a> flowingIcon)</pre> +</li> +</ul> +<a name="setIcons(net.minecraft.util.IIcon, net.minecraft.util.IIcon)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setIcons</h4> +<pre>public final <a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> setIcons(<a href="../../../net/minecraft/util/IIcon.html" title="interface in net.minecraft.util">IIcon</a> stillIcon, + <a href="../../../net/minecraft/util/IIcon.html" title="interface in net.minecraft.util">IIcon</a> flowingIcon)</pre> +</li> +</ul> +<a name="setIcons(net.minecraft.util.IIcon)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setIcons</h4> +<pre>public final <a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> setIcons(<a href="../../../net/minecraft/util/IIcon.html" title="interface in net.minecraft.util">IIcon</a> commonIcon)</pre> +</li> +</ul> +<a name="getIcon()"> +<!-- --> +</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()</pre> +</li> +</ul> +<a name="getStillIcon()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getStillIcon</h4> +<pre>public <a href="../../../net/minecraft/util/IIcon.html" title="interface in net.minecraft.util">IIcon</a> getStillIcon()</pre> +</li> +</ul> +<a name="getFlowingIcon()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getFlowingIcon</h4> +<pre>public <a href="../../../net/minecraft/util/IIcon.html" title="interface in net.minecraft.util">IIcon</a> getFlowingIcon()</pre> +</li> +</ul> +<a name="getLuminosity(net.minecraftforge.fluids.FluidStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getLuminosity</h4> +<pre>public int getLuminosity(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> stack)</pre> +</li> +</ul> +<a name="getDensity(net.minecraftforge.fluids.FluidStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getDensity</h4> +<pre>public int getDensity(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> stack)</pre> +</li> +</ul> +<a name="getTemperature(net.minecraftforge.fluids.FluidStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getTemperature</h4> +<pre>public int getTemperature(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> stack)</pre> +</li> +</ul> +<a name="getViscosity(net.minecraftforge.fluids.FluidStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getViscosity</h4> +<pre>public int getViscosity(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> stack)</pre> +</li> +</ul> +<a name="isGaseous(net.minecraftforge.fluids.FluidStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isGaseous</h4> +<pre>public boolean isGaseous(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> stack)</pre> +</li> +</ul> +<a name="getRarity(net.minecraftforge.fluids.FluidStack)"> +<!-- --> +</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/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> stack)</pre> +</li> +</ul> +<a name="getColor(net.minecraftforge.fluids.FluidStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getColor</h4> +<pre>public int getColor(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> stack)</pre> +</li> +</ul> +<a name="getIcon(net.minecraftforge.fluids.FluidStack)"> +<!-- --> +</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/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> stack)</pre> +</li> +</ul> +<a name="getLuminosity(net.minecraft.world.World, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getLuminosity</h4> +<pre>public int getLuminosity(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</pre> +</li> +</ul> +<a name="getDensity(net.minecraft.world.World, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getDensity</h4> +<pre>public int getDensity(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</pre> +</li> +</ul> +<a name="getTemperature(net.minecraft.world.World, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getTemperature</h4> +<pre>public int getTemperature(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</pre> +</li> +</ul> +<a name="getViscosity(net.minecraft.world.World, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getViscosity</h4> +<pre>public int getViscosity(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</pre> +</li> +</ul> +<a name="isGaseous(net.minecraft.world.World, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isGaseous</h4> +<pre>public boolean isGaseous(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</pre> +</li> +</ul> +<a name="getRarity(net.minecraft.world.World, int, int, int)"> +<!-- --> +</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/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</pre> +</li> +</ul> +<a name="getColor(net.minecraft.world.World, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getColor</h4> +<pre>public int getColor(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</pre> +</li> +</ul> +<a name="getIcon(net.minecraft.world.World, int, int, 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/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</pre> +</li> +</ul> +<a name="registerLegacyName(java.lang.String, java.lang.String)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>registerLegacyName</h4> +<pre>public static void registerLegacyName(java.lang.String legacyName, + java.lang.String canonicalName)</pre> +<div class="block">Register a legacy liquid name with the Fluids system</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>legacyName</code> - The legacy name to recognize</dd><dd><code>canonicalName</code> - The canonical fluid name it will become</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/minecraftforge/fluids/BlockFluidFinite.html" title="class in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraftforge/fluids/FluidContainerRegistry.html" title="class in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/Fluid.html" target="_top">Frames</a></li> +<li><a href="Fluid.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> diff --git a/javadoc/net/minecraftforge/fluids/FluidContainerRegistry.FluidContainerData.html b/javadoc/net/minecraftforge/fluids/FluidContainerRegistry.FluidContainerData.html new file mode 100644 index 0000000..033bc06 --- /dev/null +++ b/javadoc/net/minecraftforge/fluids/FluidContainerRegistry.FluidContainerData.html @@ -0,0 +1,344 @@ +<!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:17 EST 2015 --> +<title>FluidContainerRegistry.FluidContainerData (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="FluidContainerRegistry.FluidContainerData (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/minecraftforge/fluids/FluidContainerRegistry.html" title="class in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraftforge/fluids/FluidContainerRegistry.FluidContainerRegisterEvent.html" title="class in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/FluidContainerRegistry.FluidContainerData.html" target="_top">Frames</a></li> +<li><a href="FluidContainerRegistry.FluidContainerData.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.minecraftforge.fluids</div> +<h2 title="Class FluidContainerRegistry.FluidContainerData" class="title">Class FluidContainerRegistry.FluidContainerData</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>net.minecraftforge.fluids.FluidContainerRegistry.FluidContainerData</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>Enclosing class:</dt> +<dd><a href="../../../net/minecraftforge/fluids/FluidContainerRegistry.html" title="class in net.minecraftforge.fluids">FluidContainerRegistry</a></dd> +</dl> +<hr> +<br> +<pre>public static class <span class="strong">FluidContainerRegistry.FluidContainerData</span> +extends java.lang.Object</pre> +<div class="block">Wrapper class for the registry entries. Ensures that none of the attempted registrations + contain null references unless permitted.</div> +</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><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/minecraftforge/fluids/FluidContainerRegistry.FluidContainerData.html#emptyContainer">emptyContainer</a></strong></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/minecraftforge/fluids/FluidContainerRegistry.FluidContainerData.html#filledContainer">filledContainer</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidContainerRegistry.FluidContainerData.html#fluid">fluid</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/minecraftforge/fluids/FluidContainerRegistry.FluidContainerData.html#FluidContainerRegistry.FluidContainerData(net.minecraftforge.fluids.FluidStack,%20net.minecraft.item.ItemStack,%20net.minecraft.item.ItemStack)">FluidContainerRegistry.FluidContainerData</a></strong>(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> stack, + <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> filledContainer, + <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> emptyContainer)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colOne"><code><strong><a href="../../../net/minecraftforge/fluids/FluidContainerRegistry.FluidContainerData.html#FluidContainerRegistry.FluidContainerData(net.minecraftforge.fluids.FluidStack,%20net.minecraft.item.ItemStack,%20net.minecraft.item.ItemStack,%20boolean)">FluidContainerRegistry.FluidContainerData</a></strong>(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> stack, + <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> filledContainer, + <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> emptyContainer, + boolean nullEmpty)</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><a href="../../../net/minecraftforge/fluids/FluidContainerRegistry.FluidContainerData.html" title="class in net.minecraftforge.fluids">FluidContainerRegistry.FluidContainerData</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidContainerRegistry.FluidContainerData.html#copy()">copy</a></strong>()</code> </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="fluid"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>fluid</h4> +<pre>public final <a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> fluid</pre> +</li> +</ul> +<a name="filledContainer"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>filledContainer</h4> +<pre>public final <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> filledContainer</pre> +</li> +</ul> +<a name="emptyContainer"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>emptyContainer</h4> +<pre>public final <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> emptyContainer</pre> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="FluidContainerRegistry.FluidContainerData(net.minecraftforge.fluids.FluidStack, net.minecraft.item.ItemStack, net.minecraft.item.ItemStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>FluidContainerRegistry.FluidContainerData</h4> +<pre>public FluidContainerRegistry.FluidContainerData(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> stack, + <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> filledContainer, + <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> emptyContainer)</pre> +</li> +</ul> +<a name="FluidContainerRegistry.FluidContainerData(net.minecraftforge.fluids.FluidStack, net.minecraft.item.ItemStack, net.minecraft.item.ItemStack, boolean)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>FluidContainerRegistry.FluidContainerData</h4> +<pre>public FluidContainerRegistry.FluidContainerData(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> stack, + <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> filledContainer, + <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> emptyContainer, + boolean nullEmpty)</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="copy()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>copy</h4> +<pre>public <a href="../../../net/minecraftforge/fluids/FluidContainerRegistry.FluidContainerData.html" title="class in net.minecraftforge.fluids">FluidContainerRegistry.FluidContainerData</a> copy()</pre> +</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/minecraftforge/fluids/FluidContainerRegistry.html" title="class in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraftforge/fluids/FluidContainerRegistry.FluidContainerRegisterEvent.html" title="class in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/FluidContainerRegistry.FluidContainerData.html" target="_top">Frames</a></li> +<li><a href="FluidContainerRegistry.FluidContainerData.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> diff --git a/javadoc/net/minecraftforge/fluids/FluidContainerRegistry.FluidContainerRegisterEvent.html b/javadoc/net/minecraftforge/fluids/FluidContainerRegistry.FluidContainerRegisterEvent.html new file mode 100644 index 0000000..9af3599 --- /dev/null +++ b/javadoc/net/minecraftforge/fluids/FluidContainerRegistry.FluidContainerRegisterEvent.html @@ -0,0 +1,293 @@ +<!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:17 EST 2015 --> +<title>FluidContainerRegistry.FluidContainerRegisterEvent (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="FluidContainerRegistry.FluidContainerRegisterEvent (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/minecraftforge/fluids/FluidContainerRegistry.FluidContainerData.html" title="class in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraftforge/fluids/FluidEvent.html" title="class in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/FluidContainerRegistry.FluidContainerRegisterEvent.html" target="_top">Frames</a></li> +<li><a href="FluidContainerRegistry.FluidContainerRegisterEvent.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_classes_inherited_from_class_cpw.mods.fml.common.eventhandler.Event">Nested</a> | </li> +<li><a href="#field_summary">Field</a> | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#methods_inherited_from_class_cpw.mods.fml.common.eventhandler.Event">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>Method</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.minecraftforge.fluids</div> +<h2 title="Class FluidContainerRegistry.FluidContainerRegisterEvent" class="title">Class FluidContainerRegistry.FluidContainerRegisterEvent</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li><a href="../../../cpw/mods/fml/common/eventhandler/Event.html" title="class in cpw.mods.fml.common.eventhandler">cpw.mods.fml.common.eventhandler.Event</a></li> +<li> +<ul class="inheritance"> +<li>net.minecraftforge.fluids.FluidContainerRegistry.FluidContainerRegisterEvent</li> +</ul> +</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>Enclosing class:</dt> +<dd><a href="../../../net/minecraftforge/fluids/FluidContainerRegistry.html" title="class in net.minecraftforge.fluids">FluidContainerRegistry</a></dd> +</dl> +<hr> +<br> +<pre>public static class <span class="strong">FluidContainerRegistry.FluidContainerRegisterEvent</span> +extends <a href="../../../cpw/mods/fml/common/eventhandler/Event.html" title="class in cpw.mods.fml.common.eventhandler">Event</a></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> +<ul class="blockList"> +<li class="blockList"><a name="nested_classes_inherited_from_class_cpw.mods.fml.common.eventhandler.Event"> +<!-- --> +</a> +<h3>Nested classes/interfaces inherited from class cpw.mods.fml.common.eventhandler.<a href="../../../cpw/mods/fml/common/eventhandler/Event.html" title="class in cpw.mods.fml.common.eventhandler">Event</a></h3> +<code><a href="../../../cpw/mods/fml/common/eventhandler/Event.HasResult.html" title="annotation in cpw.mods.fml.common.eventhandler">Event.HasResult</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.Result.html" title="enum in cpw.mods.fml.common.eventhandler">Event.Result</a></code></li> +</ul> +</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><a href="../../../net/minecraftforge/fluids/FluidContainerRegistry.FluidContainerData.html" title="class in net.minecraftforge.fluids">FluidContainerRegistry.FluidContainerData</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidContainerRegistry.FluidContainerRegisterEvent.html#data">data</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/minecraftforge/fluids/FluidContainerRegistry.FluidContainerRegisterEvent.html#FluidContainerRegistry.FluidContainerRegisterEvent(net.minecraftforge.fluids.FluidContainerRegistry.FluidContainerData)">FluidContainerRegistry.FluidContainerRegisterEvent</a></strong>(<a href="../../../net/minecraftforge/fluids/FluidContainerRegistry.FluidContainerData.html" title="class in net.minecraftforge.fluids">FluidContainerRegistry.FluidContainerData</a> data)</code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_cpw.mods.fml.common.eventhandler.Event"> +<!-- --> +</a> +<h3>Methods inherited from class cpw.mods.fml.common.eventhandler.<a href="../../../cpw/mods/fml/common/eventhandler/Event.html" title="class in cpw.mods.fml.common.eventhandler">Event</a></h3> +<code><a href="../../../cpw/mods/fml/common/eventhandler/Event.html#getListenerList()">getListenerList</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#getPhase()">getPhase</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#getResult()">getResult</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#hasResult()">hasResult</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#isCancelable()">isCancelable</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#isCanceled()">isCanceled</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#setCanceled(boolean)">setCanceled</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#setPhase(cpw.mods.fml.common.eventhandler.EventPriority)">setPhase</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#setResult(cpw.mods.fml.common.eventhandler.Event.Result)">setResult</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#setup()">setup</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>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="data"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>data</h4> +<pre>public final <a href="../../../net/minecraftforge/fluids/FluidContainerRegistry.FluidContainerData.html" title="class in net.minecraftforge.fluids">FluidContainerRegistry.FluidContainerData</a> data</pre> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="FluidContainerRegistry.FluidContainerRegisterEvent(net.minecraftforge.fluids.FluidContainerRegistry.FluidContainerData)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>FluidContainerRegistry.FluidContainerRegisterEvent</h4> +<pre>public FluidContainerRegistry.FluidContainerRegisterEvent(<a href="../../../net/minecraftforge/fluids/FluidContainerRegistry.FluidContainerData.html" title="class in net.minecraftforge.fluids">FluidContainerRegistry.FluidContainerData</a> data)</pre> +</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/minecraftforge/fluids/FluidContainerRegistry.FluidContainerData.html" title="class in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraftforge/fluids/FluidEvent.html" title="class in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/FluidContainerRegistry.FluidContainerRegisterEvent.html" target="_top">Frames</a></li> +<li><a href="FluidContainerRegistry.FluidContainerRegisterEvent.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_classes_inherited_from_class_cpw.mods.fml.common.eventhandler.Event">Nested</a> | </li> +<li><a href="#field_summary">Field</a> | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#methods_inherited_from_class_cpw.mods.fml.common.eventhandler.Event">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>Method</li> +</ul> +</div> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/javadoc/net/minecraftforge/fluids/FluidContainerRegistry.html b/javadoc/net/minecraftforge/fluids/FluidContainerRegistry.html new file mode 100644 index 0000000..2b5be34 --- /dev/null +++ b/javadoc/net/minecraftforge/fluids/FluidContainerRegistry.html @@ -0,0 +1,586 @@ +<!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:17 EST 2015 --> +<title>FluidContainerRegistry (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="FluidContainerRegistry (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/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraftforge/fluids/FluidContainerRegistry.FluidContainerData.html" title="class in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/FluidContainerRegistry.html" target="_top">Frames</a></li> +<li><a href="FluidContainerRegistry.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>Constr | </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>Constr | </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.minecraftforge.fluids</div> +<h2 title="Class FluidContainerRegistry" class="title">Class FluidContainerRegistry</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>net.minecraftforge.fluids.FluidContainerRegistry</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public abstract class <span class="strong">FluidContainerRegistry</span> +extends java.lang.Object</pre> +<div class="block">Register simple items that contain fluids here. Useful for buckets, bottles, and things that have + ID/metadata mappings. + + For more complex items, use <a href="../../../net/minecraftforge/fluids/IFluidContainerItem.html" title="interface in net.minecraftforge.fluids"><code>IFluidContainerItem</code></a> instead.</div> +</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/minecraftforge/fluids/FluidContainerRegistry.FluidContainerData.html" title="class in net.minecraftforge.fluids">FluidContainerRegistry.FluidContainerData</a></strong></code> +<div class="block">Wrapper class for the registry entries.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static class </code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidContainerRegistry.FluidContainerRegisterEvent.html" title="class in net.minecraftforge.fluids">FluidContainerRegistry.FluidContainerRegisterEvent</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>static int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidContainerRegistry.html#BUCKET_VOLUME">BUCKET_VOLUME</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <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/minecraftforge/fluids/FluidContainerRegistry.html#EMPTY_BOTTLE">EMPTY_BOTTLE</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <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/minecraftforge/fluids/FluidContainerRegistry.html#EMPTY_BUCKET">EMPTY_BUCKET</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>static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidContainerRegistry.html#containsFluid(net.minecraft.item.ItemStack,%20net.minecraftforge.fluids.FluidStack)">containsFluid</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> container, + <a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> fluid)</code> +<div class="block">Determines if a container holds a specific fluid.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <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/minecraftforge/fluids/FluidContainerRegistry.html#drainFluidContainer(net.minecraft.item.ItemStack)">drainFluidContainer</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> container)</code> +<div class="block">Attempts to empty a full container.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <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/minecraftforge/fluids/FluidContainerRegistry.html#fillFluidContainer(net.minecraftforge.fluids.FluidStack,%20net.minecraft.item.ItemStack)">fillFluidContainer</a></strong>(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> fluid, + <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> container)</code> +<div class="block">Attempts to fill an empty container with a fluid.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidContainerRegistry.html#getContainerCapacity(net.minecraftforge.fluids.FluidStack,%20net.minecraft.item.ItemStack)">getContainerCapacity</a></strong>(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> fluid, + <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> container)</code> +<div class="block">Determines the capacity of a container.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidContainerRegistry.html#getContainerCapacity(net.minecraft.item.ItemStack)">getContainerCapacity</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> container)</code> +<div class="block">Determines the capacity of a full container.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidContainerRegistry.html#getFluidForFilledItem(net.minecraft.item.ItemStack)">getFluidForFilledItem</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> container)</code> +<div class="block">Determines the fluid type and amount inside a container.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraftforge/fluids/FluidContainerRegistry.FluidContainerData.html" title="class in net.minecraftforge.fluids">FluidContainerRegistry.FluidContainerData</a>[]</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidContainerRegistry.html#getRegisteredFluidContainerData()">getRegisteredFluidContainerData</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidContainerRegistry.html#isBucket(net.minecraft.item.ItemStack)">isBucket</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> container)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidContainerRegistry.html#isContainer(net.minecraft.item.ItemStack)">isContainer</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> container)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidContainerRegistry.html#isEmptyContainer(net.minecraft.item.ItemStack)">isEmptyContainer</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> container)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidContainerRegistry.html#isFilledContainer(net.minecraft.item.ItemStack)">isFilledContainer</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> container)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidContainerRegistry.html#registerFluidContainer(net.minecraftforge.fluids.FluidContainerRegistry.FluidContainerData)">registerFluidContainer</a></strong>(<a href="../../../net/minecraftforge/fluids/FluidContainerRegistry.FluidContainerData.html" title="class in net.minecraftforge.fluids">FluidContainerRegistry.FluidContainerData</a> data)</code> +<div class="block">Register a new fluid containing item.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidContainerRegistry.html#registerFluidContainer(net.minecraftforge.fluids.Fluid,%20net.minecraft.item.ItemStack)">registerFluidContainer</a></strong>(<a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> fluid, + <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> filledContainer)</code> +<div class="block">Register a new fluid containing item that does not have an empty container.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidContainerRegistry.html#registerFluidContainer(net.minecraftforge.fluids.Fluid,%20net.minecraft.item.ItemStack,%20net.minecraft.item.ItemStack)">registerFluidContainer</a></strong>(<a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> fluid, + <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> filledContainer, + <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> emptyContainer)</code> +<div class="block">Register a new fluid containing item.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidContainerRegistry.html#registerFluidContainer(net.minecraftforge.fluids.FluidStack,%20net.minecraft.item.ItemStack)">registerFluidContainer</a></strong>(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> stack, + <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> filledContainer)</code> +<div class="block">Register a new fluid containing item that does not have an empty container.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidContainerRegistry.html#registerFluidContainer(net.minecraftforge.fluids.FluidStack,%20net.minecraft.item.ItemStack,%20net.minecraft.item.ItemStack)">registerFluidContainer</a></strong>(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> stack, + <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> filledContainer, + <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> emptyContainer)</code> +<div class="block">Register a new fluid containing 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="BUCKET_VOLUME"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>BUCKET_VOLUME</h4> +<pre>public static final int BUCKET_VOLUME</pre> +<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../constant-values.html#net.minecraftforge.fluids.FluidContainerRegistry.BUCKET_VOLUME">Constant Field Values</a></dd></dl> +</li> +</ul> +<a name="EMPTY_BUCKET"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>EMPTY_BUCKET</h4> +<pre>public static final <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> EMPTY_BUCKET</pre> +</li> +</ul> +<a name="EMPTY_BOTTLE"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>EMPTY_BOTTLE</h4> +<pre>public static final <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> EMPTY_BOTTLE</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="registerFluidContainer(net.minecraftforge.fluids.FluidStack, net.minecraft.item.ItemStack, net.minecraft.item.ItemStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>registerFluidContainer</h4> +<pre>public static boolean registerFluidContainer(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> stack, + <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> filledContainer, + <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> emptyContainer)</pre> +<div class="block">Register a new fluid containing item.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>stack</code> - FluidStack containing the type and amount of the fluid stored in the item.</dd><dd><code>filledContainer</code> - ItemStack representing the container when it is full.</dd><dd><code>emptyContainer</code> - ItemStack representing the container when it is empty.</dd> +<dt><span class="strong">Returns:</span></dt><dd>True if container was successfully registered; false if it already is.</dd></dl> +</li> +</ul> +<a name="registerFluidContainer(net.minecraftforge.fluids.Fluid, net.minecraft.item.ItemStack, net.minecraft.item.ItemStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>registerFluidContainer</h4> +<pre>public static boolean registerFluidContainer(<a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> fluid, + <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> filledContainer, + <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> emptyContainer)</pre> +<div class="block">Register a new fluid containing item. The item is assumed to hold 1000 mB of fluid. Also + registers the Fluid if possible.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>fluid</code> - Fluid type that is stored in the item.</dd><dd><code>filledContainer</code> - ItemStack representing the container when it is full.</dd><dd><code>emptyContainer</code> - ItemStack representing the container when it is empty.</dd> +<dt><span class="strong">Returns:</span></dt><dd>True if container was successfully registered; false if it already is.</dd></dl> +</li> +</ul> +<a name="registerFluidContainer(net.minecraftforge.fluids.FluidStack, net.minecraft.item.ItemStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>registerFluidContainer</h4> +<pre>public static boolean registerFluidContainer(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> stack, + <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> filledContainer)</pre> +<div class="block">Register a new fluid containing item that does not have an empty container.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>stack</code> - FluidStack containing the type and amount of the fluid stored in the item.</dd><dd><code>filledContainer</code> - ItemStack representing the container when it is full.</dd> +<dt><span class="strong">Returns:</span></dt><dd>True if container was successfully registered; false if it already is.</dd></dl> +</li> +</ul> +<a name="registerFluidContainer(net.minecraftforge.fluids.Fluid, net.minecraft.item.ItemStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>registerFluidContainer</h4> +<pre>public static boolean registerFluidContainer(<a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> fluid, + <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> filledContainer)</pre> +<div class="block">Register a new fluid containing item that does not have an empty container. The item is + assumed to hold 1000 mB of fluid. Also registers the Fluid if possible.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>fluid</code> - Fluid type that is stored in the item.</dd><dd><code>filledContainer</code> - ItemStack representing the container when it is full.</dd> +<dt><span class="strong">Returns:</span></dt><dd>True if container was successfully registered; false if it already is.</dd></dl> +</li> +</ul> +<a name="registerFluidContainer(net.minecraftforge.fluids.FluidContainerRegistry.FluidContainerData)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>registerFluidContainer</h4> +<pre>public static boolean registerFluidContainer(<a href="../../../net/minecraftforge/fluids/FluidContainerRegistry.FluidContainerData.html" title="class in net.minecraftforge.fluids">FluidContainerRegistry.FluidContainerData</a> data)</pre> +<div class="block">Register a new fluid containing item.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>data</code> - See <a href="../../../net/minecraftforge/fluids/FluidContainerRegistry.FluidContainerData.html" title="class in net.minecraftforge.fluids"><code>FluidContainerRegistry.FluidContainerData</code></a>.</dd> +<dt><span class="strong">Returns:</span></dt><dd>True if container was successfully registered; false if it already is.</dd></dl> +</li> +</ul> +<a name="getFluidForFilledItem(net.minecraft.item.ItemStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getFluidForFilledItem</h4> +<pre>public static <a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> getFluidForFilledItem(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> container)</pre> +<div class="block">Determines the fluid type and amount inside a container.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>container</code> - The fluid container.</dd> +<dt><span class="strong">Returns:</span></dt><dd>FluidStack representing stored fluid.</dd></dl> +</li> +</ul> +<a name="fillFluidContainer(net.minecraftforge.fluids.FluidStack, net.minecraft.item.ItemStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>fillFluidContainer</h4> +<pre>public static <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> fillFluidContainer(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> fluid, + <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> container)</pre> +<div class="block">Attempts to fill an empty container with a fluid. + + NOTE: Returns null on fail, NOT the empty container.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>fluid</code> - FluidStack containing the type and amount of fluid to fill.</dd><dd><code>container</code> - ItemStack representing the empty container.</dd> +<dt><span class="strong">Returns:</span></dt><dd>Filled container if successful, otherwise null.</dd></dl> +</li> +</ul> +<a name="drainFluidContainer(net.minecraft.item.ItemStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>drainFluidContainer</h4> +<pre>public static <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> drainFluidContainer(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> container)</pre> +<div class="block">Attempts to empty a full container.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>container</code> - ItemStack representing the full container.</dd> +<dt><span class="strong">Returns:</span></dt><dd>Empty container if successful, otherwise null.</dd></dl> +</li> +</ul> +<a name="getContainerCapacity(net.minecraft.item.ItemStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getContainerCapacity</h4> +<pre>public static int getContainerCapacity(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> container)</pre> +<div class="block">Determines the capacity of a full container.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>container</code> - The full container.</dd> +<dt><span class="strong">Returns:</span></dt><dd>The containers capacity, or 0 if the ItemStack does not represent + a registered container.</dd></dl> +</li> +</ul> +<a name="getContainerCapacity(net.minecraftforge.fluids.FluidStack, net.minecraft.item.ItemStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getContainerCapacity</h4> +<pre>public static int getContainerCapacity(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> fluid, + <a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> container)</pre> +<div class="block">Determines the capacity of a container.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>fluid</code> - FluidStack containing the type of fluid the capacity should be + determined for (ignored for full containers).</dd><dd><code>container</code> - The container (full or empty).</dd> +<dt><span class="strong">Returns:</span></dt><dd>The containers capacity, or 0 if the ItemStack does not represent + a registered container or the FluidStack is not registered with + the empty container.</dd></dl> +</li> +</ul> +<a name="containsFluid(net.minecraft.item.ItemStack, net.minecraftforge.fluids.FluidStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>containsFluid</h4> +<pre>public static boolean containsFluid(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> container, + <a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> fluid)</pre> +<div class="block">Determines if a container holds a specific fluid.</div> +</li> +</ul> +<a name="isBucket(net.minecraft.item.ItemStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isBucket</h4> +<pre>public static boolean isBucket(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> container)</pre> +</li> +</ul> +<a name="isContainer(net.minecraft.item.ItemStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isContainer</h4> +<pre>public static boolean isContainer(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> container)</pre> +</li> +</ul> +<a name="isEmptyContainer(net.minecraft.item.ItemStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isEmptyContainer</h4> +<pre>public static boolean isEmptyContainer(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> container)</pre> +</li> +</ul> +<a name="isFilledContainer(net.minecraft.item.ItemStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isFilledContainer</h4> +<pre>public static boolean isFilledContainer(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> container)</pre> +</li> +</ul> +<a name="getRegisteredFluidContainerData()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>getRegisteredFluidContainerData</h4> +<pre>public static <a href="../../../net/minecraftforge/fluids/FluidContainerRegistry.FluidContainerData.html" title="class in net.minecraftforge.fluids">FluidContainerRegistry.FluidContainerData</a>[] getRegisteredFluidContainerData()</pre> +</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/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraftforge/fluids/FluidContainerRegistry.FluidContainerData.html" title="class in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/FluidContainerRegistry.html" target="_top">Frames</a></li> +<li><a href="FluidContainerRegistry.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>Constr | </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>Constr | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/javadoc/net/minecraftforge/fluids/FluidEvent.FluidDrainingEvent.html b/javadoc/net/minecraftforge/fluids/FluidEvent.FluidDrainingEvent.html new file mode 100644 index 0000000..403acca --- /dev/null +++ b/javadoc/net/minecraftforge/fluids/FluidEvent.FluidDrainingEvent.html @@ -0,0 +1,374 @@ +<!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:17 EST 2015 --> +<title>FluidEvent.FluidDrainingEvent (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="FluidEvent.FluidDrainingEvent (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/minecraftforge/fluids/FluidEvent.html" title="class in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraftforge/fluids/FluidEvent.FluidFillingEvent.html" title="class in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/FluidEvent.FluidDrainingEvent.html" target="_top">Frames</a></li> +<li><a href="FluidEvent.FluidDrainingEvent.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_classes_inherited_from_class_net.minecraftforge.fluids.FluidEvent">Nested</a> | </li> +<li><a href="#field_summary">Field</a> | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#methods_inherited_from_class_net.minecraftforge.fluids.FluidEvent">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>Method</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.minecraftforge.fluids</div> +<h2 title="Class FluidEvent.FluidDrainingEvent" class="title">Class FluidEvent.FluidDrainingEvent</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li><a href="../../../cpw/mods/fml/common/eventhandler/Event.html" title="class in cpw.mods.fml.common.eventhandler">cpw.mods.fml.common.eventhandler.Event</a></li> +<li> +<ul class="inheritance"> +<li><a href="../../../net/minecraftforge/fluids/FluidEvent.html" title="class in net.minecraftforge.fluids">net.minecraftforge.fluids.FluidEvent</a></li> +<li> +<ul class="inheritance"> +<li>net.minecraftforge.fluids.FluidEvent.FluidDrainingEvent</li> +</ul> +</li> +</ul> +</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>Enclosing class:</dt> +<dd><a href="../../../net/minecraftforge/fluids/FluidEvent.html" title="class in net.minecraftforge.fluids">FluidEvent</a></dd> +</dl> +<hr> +<br> +<pre>public static class <span class="strong">FluidEvent.FluidDrainingEvent</span> +extends <a href="../../../net/minecraftforge/fluids/FluidEvent.html" title="class in net.minecraftforge.fluids">FluidEvent</a></pre> +<div class="block">Mods should fire this event when a fluid is <a href="../../../net/minecraftforge/fluids/IFluidTank.html#drain(int,%20boolean)"><code>IFluidTank.drain(int, boolean)</code></a> from their + tank.</div> +</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> +<ul class="blockList"> +<li class="blockList"><a name="nested_classes_inherited_from_class_net.minecraftforge.fluids.FluidEvent"> +<!-- --> +</a> +<h3>Nested classes/interfaces inherited from class net.minecraftforge.fluids.<a href="../../../net/minecraftforge/fluids/FluidEvent.html" title="class in net.minecraftforge.fluids">FluidEvent</a></h3> +<code><a href="../../../net/minecraftforge/fluids/FluidEvent.FluidDrainingEvent.html" title="class in net.minecraftforge.fluids">FluidEvent.FluidDrainingEvent</a>, <a href="../../../net/minecraftforge/fluids/FluidEvent.FluidFillingEvent.html" title="class in net.minecraftforge.fluids">FluidEvent.FluidFillingEvent</a>, <a href="../../../net/minecraftforge/fluids/FluidEvent.FluidMotionEvent.html" title="class in net.minecraftforge.fluids">FluidEvent.FluidMotionEvent</a>, <a href="../../../net/minecraftforge/fluids/FluidEvent.FluidSpilledEvent.html" title="class in net.minecraftforge.fluids">FluidEvent.FluidSpilledEvent</a></code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="nested_classes_inherited_from_class_cpw.mods.fml.common.eventhandler.Event"> +<!-- --> +</a> +<h3>Nested classes/interfaces inherited from class cpw.mods.fml.common.eventhandler.<a href="../../../cpw/mods/fml/common/eventhandler/Event.html" title="class in cpw.mods.fml.common.eventhandler">Event</a></h3> +<code><a href="../../../cpw/mods/fml/common/eventhandler/Event.HasResult.html" title="annotation in cpw.mods.fml.common.eventhandler">Event.HasResult</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.Result.html" title="enum in cpw.mods.fml.common.eventhandler">Event.Result</a></code></li> +</ul> +</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>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidEvent.FluidDrainingEvent.html#amount">amount</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/fluids/IFluidTank.html" title="interface in net.minecraftforge.fluids">IFluidTank</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidEvent.FluidDrainingEvent.html#tank">tank</a></strong></code> </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="fields_inherited_from_class_net.minecraftforge.fluids.FluidEvent"> +<!-- --> +</a> +<h3>Fields inherited from class net.minecraftforge.fluids.<a href="../../../net/minecraftforge/fluids/FluidEvent.html" title="class in net.minecraftforge.fluids">FluidEvent</a></h3> +<code><a href="../../../net/minecraftforge/fluids/FluidEvent.html#fluid">fluid</a>, <a href="../../../net/minecraftforge/fluids/FluidEvent.html#world">world</a>, <a href="../../../net/minecraftforge/fluids/FluidEvent.html#x">x</a>, <a href="../../../net/minecraftforge/fluids/FluidEvent.html#y">y</a>, <a href="../../../net/minecraftforge/fluids/FluidEvent.html#z">z</a></code></li> +</ul> +</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/minecraftforge/fluids/FluidEvent.FluidDrainingEvent.html#FluidEvent.FluidDrainingEvent(net.minecraftforge.fluids.FluidStack,%20net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraftforge.fluids.IFluidTank)">FluidEvent.FluidDrainingEvent</a></strong>(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> fluid, + <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/minecraftforge/fluids/IFluidTank.html" title="interface in net.minecraftforge.fluids">IFluidTank</a> tank)</code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>Will be removed in 1.8</i></div> +</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colOne"><code><strong><a href="../../../net/minecraftforge/fluids/FluidEvent.FluidDrainingEvent.html#FluidEvent.FluidDrainingEvent(net.minecraftforge.fluids.FluidStack,%20net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraftforge.fluids.IFluidTank,%20int)">FluidEvent.FluidDrainingEvent</a></strong>(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> fluid, + <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/minecraftforge/fluids/IFluidTank.html" title="interface in net.minecraftforge.fluids">IFluidTank</a> tank, + int amount)</code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_net.minecraftforge.fluids.FluidEvent"> +<!-- --> +</a> +<h3>Methods inherited from class net.minecraftforge.fluids.<a href="../../../net/minecraftforge/fluids/FluidEvent.html" title="class in net.minecraftforge.fluids">FluidEvent</a></h3> +<code><a href="../../../net/minecraftforge/fluids/FluidEvent.html#fireEvent(net.minecraftforge.fluids.FluidEvent)">fireEvent</a></code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_cpw.mods.fml.common.eventhandler.Event"> +<!-- --> +</a> +<h3>Methods inherited from class cpw.mods.fml.common.eventhandler.<a href="../../../cpw/mods/fml/common/eventhandler/Event.html" title="class in cpw.mods.fml.common.eventhandler">Event</a></h3> +<code><a href="../../../cpw/mods/fml/common/eventhandler/Event.html#getListenerList()">getListenerList</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#getPhase()">getPhase</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#getResult()">getResult</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#hasResult()">hasResult</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#isCancelable()">isCancelable</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#isCanceled()">isCanceled</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#setCanceled(boolean)">setCanceled</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#setPhase(cpw.mods.fml.common.eventhandler.EventPriority)">setPhase</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#setResult(cpw.mods.fml.common.eventhandler.Event.Result)">setResult</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#setup()">setup</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>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="tank"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>tank</h4> +<pre>public final <a href="../../../net/minecraftforge/fluids/IFluidTank.html" title="interface in net.minecraftforge.fluids">IFluidTank</a> tank</pre> +</li> +</ul> +<a name="amount"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>amount</h4> +<pre>public final int amount</pre> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="FluidEvent.FluidDrainingEvent(net.minecraftforge.fluids.FluidStack, net.minecraft.world.World, int, int, int, net.minecraftforge.fluids.IFluidTank)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>FluidEvent.FluidDrainingEvent</h4> +<pre>@Deprecated +public FluidEvent.FluidDrainingEvent(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> fluid, + <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/minecraftforge/fluids/IFluidTank.html" title="interface in net.minecraftforge.fluids">IFluidTank</a> tank)</pre> +<div class="block"><span class="strong">Deprecated.</span> <i>Will be removed in 1.8</i></div> +</li> +</ul> +<a name="FluidEvent.FluidDrainingEvent(net.minecraftforge.fluids.FluidStack, net.minecraft.world.World, int, int, int, net.minecraftforge.fluids.IFluidTank, int)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>FluidEvent.FluidDrainingEvent</h4> +<pre>public FluidEvent.FluidDrainingEvent(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> fluid, + <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/minecraftforge/fluids/IFluidTank.html" title="interface in net.minecraftforge.fluids">IFluidTank</a> tank, + int amount)</pre> +</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/minecraftforge/fluids/FluidEvent.html" title="class in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraftforge/fluids/FluidEvent.FluidFillingEvent.html" title="class in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/FluidEvent.FluidDrainingEvent.html" target="_top">Frames</a></li> +<li><a href="FluidEvent.FluidDrainingEvent.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_classes_inherited_from_class_net.minecraftforge.fluids.FluidEvent">Nested</a> | </li> +<li><a href="#field_summary">Field</a> | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#methods_inherited_from_class_net.minecraftforge.fluids.FluidEvent">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>Method</li> +</ul> +</div> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/javadoc/net/minecraftforge/fluids/FluidEvent.FluidFillingEvent.html b/javadoc/net/minecraftforge/fluids/FluidEvent.FluidFillingEvent.html new file mode 100644 index 0000000..0e121a0 --- /dev/null +++ b/javadoc/net/minecraftforge/fluids/FluidEvent.FluidFillingEvent.html @@ -0,0 +1,374 @@ +<!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:17 EST 2015 --> +<title>FluidEvent.FluidFillingEvent (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="FluidEvent.FluidFillingEvent (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/minecraftforge/fluids/FluidEvent.FluidDrainingEvent.html" title="class in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraftforge/fluids/FluidEvent.FluidMotionEvent.html" title="class in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/FluidEvent.FluidFillingEvent.html" target="_top">Frames</a></li> +<li><a href="FluidEvent.FluidFillingEvent.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_classes_inherited_from_class_net.minecraftforge.fluids.FluidEvent">Nested</a> | </li> +<li><a href="#field_summary">Field</a> | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#methods_inherited_from_class_net.minecraftforge.fluids.FluidEvent">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>Method</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.minecraftforge.fluids</div> +<h2 title="Class FluidEvent.FluidFillingEvent" class="title">Class FluidEvent.FluidFillingEvent</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li><a href="../../../cpw/mods/fml/common/eventhandler/Event.html" title="class in cpw.mods.fml.common.eventhandler">cpw.mods.fml.common.eventhandler.Event</a></li> +<li> +<ul class="inheritance"> +<li><a href="../../../net/minecraftforge/fluids/FluidEvent.html" title="class in net.minecraftforge.fluids">net.minecraftforge.fluids.FluidEvent</a></li> +<li> +<ul class="inheritance"> +<li>net.minecraftforge.fluids.FluidEvent.FluidFillingEvent</li> +</ul> +</li> +</ul> +</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>Enclosing class:</dt> +<dd><a href="../../../net/minecraftforge/fluids/FluidEvent.html" title="class in net.minecraftforge.fluids">FluidEvent</a></dd> +</dl> +<hr> +<br> +<pre>public static class <span class="strong">FluidEvent.FluidFillingEvent</span> +extends <a href="../../../net/minecraftforge/fluids/FluidEvent.html" title="class in net.minecraftforge.fluids">FluidEvent</a></pre> +<div class="block">Mods should fire this event when a fluid is <a href="../../../net/minecraftforge/fluids/IFluidTank.html#fill(net.minecraftforge.fluids.FluidStack,%20boolean)"><code>IFluidTank.fill(FluidStack, boolean)</code></a> + their tank implementation. <a href="../../../net/minecraftforge/fluids/FluidTank.html" title="class in net.minecraftforge.fluids"><code>FluidTank</code></a> does.</div> +</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> +<ul class="blockList"> +<li class="blockList"><a name="nested_classes_inherited_from_class_net.minecraftforge.fluids.FluidEvent"> +<!-- --> +</a> +<h3>Nested classes/interfaces inherited from class net.minecraftforge.fluids.<a href="../../../net/minecraftforge/fluids/FluidEvent.html" title="class in net.minecraftforge.fluids">FluidEvent</a></h3> +<code><a href="../../../net/minecraftforge/fluids/FluidEvent.FluidDrainingEvent.html" title="class in net.minecraftforge.fluids">FluidEvent.FluidDrainingEvent</a>, <a href="../../../net/minecraftforge/fluids/FluidEvent.FluidFillingEvent.html" title="class in net.minecraftforge.fluids">FluidEvent.FluidFillingEvent</a>, <a href="../../../net/minecraftforge/fluids/FluidEvent.FluidMotionEvent.html" title="class in net.minecraftforge.fluids">FluidEvent.FluidMotionEvent</a>, <a href="../../../net/minecraftforge/fluids/FluidEvent.FluidSpilledEvent.html" title="class in net.minecraftforge.fluids">FluidEvent.FluidSpilledEvent</a></code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="nested_classes_inherited_from_class_cpw.mods.fml.common.eventhandler.Event"> +<!-- --> +</a> +<h3>Nested classes/interfaces inherited from class cpw.mods.fml.common.eventhandler.<a href="../../../cpw/mods/fml/common/eventhandler/Event.html" title="class in cpw.mods.fml.common.eventhandler">Event</a></h3> +<code><a href="../../../cpw/mods/fml/common/eventhandler/Event.HasResult.html" title="annotation in cpw.mods.fml.common.eventhandler">Event.HasResult</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.Result.html" title="enum in cpw.mods.fml.common.eventhandler">Event.Result</a></code></li> +</ul> +</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>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidEvent.FluidFillingEvent.html#amount">amount</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/fluids/IFluidTank.html" title="interface in net.minecraftforge.fluids">IFluidTank</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidEvent.FluidFillingEvent.html#tank">tank</a></strong></code> </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="fields_inherited_from_class_net.minecraftforge.fluids.FluidEvent"> +<!-- --> +</a> +<h3>Fields inherited from class net.minecraftforge.fluids.<a href="../../../net/minecraftforge/fluids/FluidEvent.html" title="class in net.minecraftforge.fluids">FluidEvent</a></h3> +<code><a href="../../../net/minecraftforge/fluids/FluidEvent.html#fluid">fluid</a>, <a href="../../../net/minecraftforge/fluids/FluidEvent.html#world">world</a>, <a href="../../../net/minecraftforge/fluids/FluidEvent.html#x">x</a>, <a href="../../../net/minecraftforge/fluids/FluidEvent.html#y">y</a>, <a href="../../../net/minecraftforge/fluids/FluidEvent.html#z">z</a></code></li> +</ul> +</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/minecraftforge/fluids/FluidEvent.FluidFillingEvent.html#FluidEvent.FluidFillingEvent(net.minecraftforge.fluids.FluidStack,%20net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraftforge.fluids.IFluidTank)">FluidEvent.FluidFillingEvent</a></strong>(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> fluid, + <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/minecraftforge/fluids/IFluidTank.html" title="interface in net.minecraftforge.fluids">IFluidTank</a> tank)</code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>Will be removed in 1.8</i></div> +</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colOne"><code><strong><a href="../../../net/minecraftforge/fluids/FluidEvent.FluidFillingEvent.html#FluidEvent.FluidFillingEvent(net.minecraftforge.fluids.FluidStack,%20net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraftforge.fluids.IFluidTank,%20int)">FluidEvent.FluidFillingEvent</a></strong>(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> fluid, + <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/minecraftforge/fluids/IFluidTank.html" title="interface in net.minecraftforge.fluids">IFluidTank</a> tank, + int amount)</code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_net.minecraftforge.fluids.FluidEvent"> +<!-- --> +</a> +<h3>Methods inherited from class net.minecraftforge.fluids.<a href="../../../net/minecraftforge/fluids/FluidEvent.html" title="class in net.minecraftforge.fluids">FluidEvent</a></h3> +<code><a href="../../../net/minecraftforge/fluids/FluidEvent.html#fireEvent(net.minecraftforge.fluids.FluidEvent)">fireEvent</a></code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_cpw.mods.fml.common.eventhandler.Event"> +<!-- --> +</a> +<h3>Methods inherited from class cpw.mods.fml.common.eventhandler.<a href="../../../cpw/mods/fml/common/eventhandler/Event.html" title="class in cpw.mods.fml.common.eventhandler">Event</a></h3> +<code><a href="../../../cpw/mods/fml/common/eventhandler/Event.html#getListenerList()">getListenerList</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#getPhase()">getPhase</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#getResult()">getResult</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#hasResult()">hasResult</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#isCancelable()">isCancelable</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#isCanceled()">isCanceled</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#setCanceled(boolean)">setCanceled</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#setPhase(cpw.mods.fml.common.eventhandler.EventPriority)">setPhase</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#setResult(cpw.mods.fml.common.eventhandler.Event.Result)">setResult</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#setup()">setup</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>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="tank"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>tank</h4> +<pre>public final <a href="../../../net/minecraftforge/fluids/IFluidTank.html" title="interface in net.minecraftforge.fluids">IFluidTank</a> tank</pre> +</li> +</ul> +<a name="amount"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>amount</h4> +<pre>public final int amount</pre> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="FluidEvent.FluidFillingEvent(net.minecraftforge.fluids.FluidStack, net.minecraft.world.World, int, int, int, net.minecraftforge.fluids.IFluidTank)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>FluidEvent.FluidFillingEvent</h4> +<pre>@Deprecated +public FluidEvent.FluidFillingEvent(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> fluid, + <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/minecraftforge/fluids/IFluidTank.html" title="interface in net.minecraftforge.fluids">IFluidTank</a> tank)</pre> +<div class="block"><span class="strong">Deprecated.</span> <i>Will be removed in 1.8</i></div> +</li> +</ul> +<a name="FluidEvent.FluidFillingEvent(net.minecraftforge.fluids.FluidStack, net.minecraft.world.World, int, int, int, net.minecraftforge.fluids.IFluidTank, int)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>FluidEvent.FluidFillingEvent</h4> +<pre>public FluidEvent.FluidFillingEvent(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> fluid, + <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/minecraftforge/fluids/IFluidTank.html" title="interface in net.minecraftforge.fluids">IFluidTank</a> tank, + int amount)</pre> +</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/minecraftforge/fluids/FluidEvent.FluidDrainingEvent.html" title="class in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraftforge/fluids/FluidEvent.FluidMotionEvent.html" title="class in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/FluidEvent.FluidFillingEvent.html" target="_top">Frames</a></li> +<li><a href="FluidEvent.FluidFillingEvent.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_classes_inherited_from_class_net.minecraftforge.fluids.FluidEvent">Nested</a> | </li> +<li><a href="#field_summary">Field</a> | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#methods_inherited_from_class_net.minecraftforge.fluids.FluidEvent">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>Method</li> +</ul> +</div> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/javadoc/net/minecraftforge/fluids/FluidEvent.FluidMotionEvent.html b/javadoc/net/minecraftforge/fluids/FluidEvent.FluidMotionEvent.html new file mode 100644 index 0000000..fc7f16a --- /dev/null +++ b/javadoc/net/minecraftforge/fluids/FluidEvent.FluidMotionEvent.html @@ -0,0 +1,300 @@ +<!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:17 EST 2015 --> +<title>FluidEvent.FluidMotionEvent (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="FluidEvent.FluidMotionEvent (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/minecraftforge/fluids/FluidEvent.FluidFillingEvent.html" title="class in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraftforge/fluids/FluidEvent.FluidSpilledEvent.html" title="class in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/FluidEvent.FluidMotionEvent.html" target="_top">Frames</a></li> +<li><a href="FluidEvent.FluidMotionEvent.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_classes_inherited_from_class_net.minecraftforge.fluids.FluidEvent">Nested</a> | </li> +<li><a href="#fields_inherited_from_class_net.minecraftforge.fluids.FluidEvent">Field</a> | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#methods_inherited_from_class_net.minecraftforge.fluids.FluidEvent">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor_detail">Constr</a> | </li> +<li>Method</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.minecraftforge.fluids</div> +<h2 title="Class FluidEvent.FluidMotionEvent" class="title">Class FluidEvent.FluidMotionEvent</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li><a href="../../../cpw/mods/fml/common/eventhandler/Event.html" title="class in cpw.mods.fml.common.eventhandler">cpw.mods.fml.common.eventhandler.Event</a></li> +<li> +<ul class="inheritance"> +<li><a href="../../../net/minecraftforge/fluids/FluidEvent.html" title="class in net.minecraftforge.fluids">net.minecraftforge.fluids.FluidEvent</a></li> +<li> +<ul class="inheritance"> +<li>net.minecraftforge.fluids.FluidEvent.FluidMotionEvent</li> +</ul> +</li> +</ul> +</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>Enclosing class:</dt> +<dd><a href="../../../net/minecraftforge/fluids/FluidEvent.html" title="class in net.minecraftforge.fluids">FluidEvent</a></dd> +</dl> +<hr> +<br> +<pre>public static class <span class="strong">FluidEvent.FluidMotionEvent</span> +extends <a href="../../../net/minecraftforge/fluids/FluidEvent.html" title="class in net.minecraftforge.fluids">FluidEvent</a></pre> +<div class="block">Mods should fire this event when they move fluids around.</div> +</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> +<ul class="blockList"> +<li class="blockList"><a name="nested_classes_inherited_from_class_net.minecraftforge.fluids.FluidEvent"> +<!-- --> +</a> +<h3>Nested classes/interfaces inherited from class net.minecraftforge.fluids.<a href="../../../net/minecraftforge/fluids/FluidEvent.html" title="class in net.minecraftforge.fluids">FluidEvent</a></h3> +<code><a href="../../../net/minecraftforge/fluids/FluidEvent.FluidDrainingEvent.html" title="class in net.minecraftforge.fluids">FluidEvent.FluidDrainingEvent</a>, <a href="../../../net/minecraftforge/fluids/FluidEvent.FluidFillingEvent.html" title="class in net.minecraftforge.fluids">FluidEvent.FluidFillingEvent</a>, <a href="../../../net/minecraftforge/fluids/FluidEvent.FluidMotionEvent.html" title="class in net.minecraftforge.fluids">FluidEvent.FluidMotionEvent</a>, <a href="../../../net/minecraftforge/fluids/FluidEvent.FluidSpilledEvent.html" title="class in net.minecraftforge.fluids">FluidEvent.FluidSpilledEvent</a></code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="nested_classes_inherited_from_class_cpw.mods.fml.common.eventhandler.Event"> +<!-- --> +</a> +<h3>Nested classes/interfaces inherited from class cpw.mods.fml.common.eventhandler.<a href="../../../cpw/mods/fml/common/eventhandler/Event.html" title="class in cpw.mods.fml.common.eventhandler">Event</a></h3> +<code><a href="../../../cpw/mods/fml/common/eventhandler/Event.HasResult.html" title="annotation in cpw.mods.fml.common.eventhandler">Event.HasResult</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.Result.html" title="enum in cpw.mods.fml.common.eventhandler">Event.Result</a></code></li> +</ul> +</li> +</ul> +<!-- =========== FIELD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field_summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<ul class="blockList"> +<li class="blockList"><a name="fields_inherited_from_class_net.minecraftforge.fluids.FluidEvent"> +<!-- --> +</a> +<h3>Fields inherited from class net.minecraftforge.fluids.<a href="../../../net/minecraftforge/fluids/FluidEvent.html" title="class in net.minecraftforge.fluids">FluidEvent</a></h3> +<code><a href="../../../net/minecraftforge/fluids/FluidEvent.html#fluid">fluid</a>, <a href="../../../net/minecraftforge/fluids/FluidEvent.html#world">world</a>, <a href="../../../net/minecraftforge/fluids/FluidEvent.html#x">x</a>, <a href="../../../net/minecraftforge/fluids/FluidEvent.html#y">y</a>, <a href="../../../net/minecraftforge/fluids/FluidEvent.html#z">z</a></code></li> +</ul> +</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/minecraftforge/fluids/FluidEvent.FluidMotionEvent.html#FluidEvent.FluidMotionEvent(net.minecraftforge.fluids.FluidStack,%20net.minecraft.world.World,%20int,%20int,%20int)">FluidEvent.FluidMotionEvent</a></strong>(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> fluid, + <a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_net.minecraftforge.fluids.FluidEvent"> +<!-- --> +</a> +<h3>Methods inherited from class net.minecraftforge.fluids.<a href="../../../net/minecraftforge/fluids/FluidEvent.html" title="class in net.minecraftforge.fluids">FluidEvent</a></h3> +<code><a href="../../../net/minecraftforge/fluids/FluidEvent.html#fireEvent(net.minecraftforge.fluids.FluidEvent)">fireEvent</a></code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_cpw.mods.fml.common.eventhandler.Event"> +<!-- --> +</a> +<h3>Methods inherited from class cpw.mods.fml.common.eventhandler.<a href="../../../cpw/mods/fml/common/eventhandler/Event.html" title="class in cpw.mods.fml.common.eventhandler">Event</a></h3> +<code><a href="../../../cpw/mods/fml/common/eventhandler/Event.html#getListenerList()">getListenerList</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#getPhase()">getPhase</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#getResult()">getResult</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#hasResult()">hasResult</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#isCancelable()">isCancelable</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#isCanceled()">isCanceled</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#setCanceled(boolean)">setCanceled</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#setPhase(cpw.mods.fml.common.eventhandler.EventPriority)">setPhase</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#setResult(cpw.mods.fml.common.eventhandler.Event.Result)">setResult</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#setup()">setup</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>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"> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="FluidEvent.FluidMotionEvent(net.minecraftforge.fluids.FluidStack, net.minecraft.world.World, int, int, int)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>FluidEvent.FluidMotionEvent</h4> +<pre>public FluidEvent.FluidMotionEvent(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> fluid, + <a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</pre> +</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/minecraftforge/fluids/FluidEvent.FluidFillingEvent.html" title="class in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraftforge/fluids/FluidEvent.FluidSpilledEvent.html" title="class in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/FluidEvent.FluidMotionEvent.html" target="_top">Frames</a></li> +<li><a href="FluidEvent.FluidMotionEvent.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_classes_inherited_from_class_net.minecraftforge.fluids.FluidEvent">Nested</a> | </li> +<li><a href="#fields_inherited_from_class_net.minecraftforge.fluids.FluidEvent">Field</a> | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#methods_inherited_from_class_net.minecraftforge.fluids.FluidEvent">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor_detail">Constr</a> | </li> +<li>Method</li> +</ul> +</div> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/javadoc/net/minecraftforge/fluids/FluidEvent.FluidSpilledEvent.html b/javadoc/net/minecraftforge/fluids/FluidEvent.FluidSpilledEvent.html new file mode 100644 index 0000000..b3e6f83 --- /dev/null +++ b/javadoc/net/minecraftforge/fluids/FluidEvent.FluidSpilledEvent.html @@ -0,0 +1,301 @@ +<!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:17 EST 2015 --> +<title>FluidEvent.FluidSpilledEvent (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="FluidEvent.FluidSpilledEvent (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/minecraftforge/fluids/FluidEvent.FluidMotionEvent.html" title="class in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraftforge/fluids/FluidRegistry.html" title="class in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/FluidEvent.FluidSpilledEvent.html" target="_top">Frames</a></li> +<li><a href="FluidEvent.FluidSpilledEvent.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_classes_inherited_from_class_net.minecraftforge.fluids.FluidEvent">Nested</a> | </li> +<li><a href="#fields_inherited_from_class_net.minecraftforge.fluids.FluidEvent">Field</a> | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#methods_inherited_from_class_net.minecraftforge.fluids.FluidEvent">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor_detail">Constr</a> | </li> +<li>Method</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.minecraftforge.fluids</div> +<h2 title="Class FluidEvent.FluidSpilledEvent" class="title">Class FluidEvent.FluidSpilledEvent</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li><a href="../../../cpw/mods/fml/common/eventhandler/Event.html" title="class in cpw.mods.fml.common.eventhandler">cpw.mods.fml.common.eventhandler.Event</a></li> +<li> +<ul class="inheritance"> +<li><a href="../../../net/minecraftforge/fluids/FluidEvent.html" title="class in net.minecraftforge.fluids">net.minecraftforge.fluids.FluidEvent</a></li> +<li> +<ul class="inheritance"> +<li>net.minecraftforge.fluids.FluidEvent.FluidSpilledEvent</li> +</ul> +</li> +</ul> +</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>Enclosing class:</dt> +<dd><a href="../../../net/minecraftforge/fluids/FluidEvent.html" title="class in net.minecraftforge.fluids">FluidEvent</a></dd> +</dl> +<hr> +<br> +<pre>public static class <span class="strong">FluidEvent.FluidSpilledEvent</span> +extends <a href="../../../net/minecraftforge/fluids/FluidEvent.html" title="class in net.minecraftforge.fluids">FluidEvent</a></pre> +<div class="block">Mods should fire this event when a fluid "spills", for example, if a block containing fluid + is broken.</div> +</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> +<ul class="blockList"> +<li class="blockList"><a name="nested_classes_inherited_from_class_net.minecraftforge.fluids.FluidEvent"> +<!-- --> +</a> +<h3>Nested classes/interfaces inherited from class net.minecraftforge.fluids.<a href="../../../net/minecraftforge/fluids/FluidEvent.html" title="class in net.minecraftforge.fluids">FluidEvent</a></h3> +<code><a href="../../../net/minecraftforge/fluids/FluidEvent.FluidDrainingEvent.html" title="class in net.minecraftforge.fluids">FluidEvent.FluidDrainingEvent</a>, <a href="../../../net/minecraftforge/fluids/FluidEvent.FluidFillingEvent.html" title="class in net.minecraftforge.fluids">FluidEvent.FluidFillingEvent</a>, <a href="../../../net/minecraftforge/fluids/FluidEvent.FluidMotionEvent.html" title="class in net.minecraftforge.fluids">FluidEvent.FluidMotionEvent</a>, <a href="../../../net/minecraftforge/fluids/FluidEvent.FluidSpilledEvent.html" title="class in net.minecraftforge.fluids">FluidEvent.FluidSpilledEvent</a></code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="nested_classes_inherited_from_class_cpw.mods.fml.common.eventhandler.Event"> +<!-- --> +</a> +<h3>Nested classes/interfaces inherited from class cpw.mods.fml.common.eventhandler.<a href="../../../cpw/mods/fml/common/eventhandler/Event.html" title="class in cpw.mods.fml.common.eventhandler">Event</a></h3> +<code><a href="../../../cpw/mods/fml/common/eventhandler/Event.HasResult.html" title="annotation in cpw.mods.fml.common.eventhandler">Event.HasResult</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.Result.html" title="enum in cpw.mods.fml.common.eventhandler">Event.Result</a></code></li> +</ul> +</li> +</ul> +<!-- =========== FIELD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field_summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<ul class="blockList"> +<li class="blockList"><a name="fields_inherited_from_class_net.minecraftforge.fluids.FluidEvent"> +<!-- --> +</a> +<h3>Fields inherited from class net.minecraftforge.fluids.<a href="../../../net/minecraftforge/fluids/FluidEvent.html" title="class in net.minecraftforge.fluids">FluidEvent</a></h3> +<code><a href="../../../net/minecraftforge/fluids/FluidEvent.html#fluid">fluid</a>, <a href="../../../net/minecraftforge/fluids/FluidEvent.html#world">world</a>, <a href="../../../net/minecraftforge/fluids/FluidEvent.html#x">x</a>, <a href="../../../net/minecraftforge/fluids/FluidEvent.html#y">y</a>, <a href="../../../net/minecraftforge/fluids/FluidEvent.html#z">z</a></code></li> +</ul> +</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/minecraftforge/fluids/FluidEvent.FluidSpilledEvent.html#FluidEvent.FluidSpilledEvent(net.minecraftforge.fluids.FluidStack,%20net.minecraft.world.World,%20int,%20int,%20int)">FluidEvent.FluidSpilledEvent</a></strong>(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> fluid, + <a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_net.minecraftforge.fluids.FluidEvent"> +<!-- --> +</a> +<h3>Methods inherited from class net.minecraftforge.fluids.<a href="../../../net/minecraftforge/fluids/FluidEvent.html" title="class in net.minecraftforge.fluids">FluidEvent</a></h3> +<code><a href="../../../net/minecraftforge/fluids/FluidEvent.html#fireEvent(net.minecraftforge.fluids.FluidEvent)">fireEvent</a></code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_cpw.mods.fml.common.eventhandler.Event"> +<!-- --> +</a> +<h3>Methods inherited from class cpw.mods.fml.common.eventhandler.<a href="../../../cpw/mods/fml/common/eventhandler/Event.html" title="class in cpw.mods.fml.common.eventhandler">Event</a></h3> +<code><a href="../../../cpw/mods/fml/common/eventhandler/Event.html#getListenerList()">getListenerList</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#getPhase()">getPhase</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#getResult()">getResult</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#hasResult()">hasResult</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#isCancelable()">isCancelable</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#isCanceled()">isCanceled</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#setCanceled(boolean)">setCanceled</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#setPhase(cpw.mods.fml.common.eventhandler.EventPriority)">setPhase</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#setResult(cpw.mods.fml.common.eventhandler.Event.Result)">setResult</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#setup()">setup</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>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"> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="FluidEvent.FluidSpilledEvent(net.minecraftforge.fluids.FluidStack, net.minecraft.world.World, int, int, int)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>FluidEvent.FluidSpilledEvent</h4> +<pre>public FluidEvent.FluidSpilledEvent(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> fluid, + <a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</pre> +</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/minecraftforge/fluids/FluidEvent.FluidMotionEvent.html" title="class in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraftforge/fluids/FluidRegistry.html" title="class in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/FluidEvent.FluidSpilledEvent.html" target="_top">Frames</a></li> +<li><a href="FluidEvent.FluidSpilledEvent.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_classes_inherited_from_class_net.minecraftforge.fluids.FluidEvent">Nested</a> | </li> +<li><a href="#fields_inherited_from_class_net.minecraftforge.fluids.FluidEvent">Field</a> | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#methods_inherited_from_class_net.minecraftforge.fluids.FluidEvent">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor_detail">Constr</a> | </li> +<li>Method</li> +</ul> +</div> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/javadoc/net/minecraftforge/fluids/FluidEvent.html b/javadoc/net/minecraftforge/fluids/FluidEvent.html new file mode 100644 index 0000000..bf39397 --- /dev/null +++ b/javadoc/net/minecraftforge/fluids/FluidEvent.html @@ -0,0 +1,419 @@ +<!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:17 EST 2015 --> +<title>FluidEvent (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="FluidEvent (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/minecraftforge/fluids/FluidContainerRegistry.FluidContainerRegisterEvent.html" title="class in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraftforge/fluids/FluidEvent.FluidDrainingEvent.html" title="class in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/FluidEvent.html" target="_top">Frames</a></li> +<li><a href="FluidEvent.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.minecraftforge.fluids</div> +<h2 title="Class FluidEvent" class="title">Class FluidEvent</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li><a href="../../../cpw/mods/fml/common/eventhandler/Event.html" title="class in cpw.mods.fml.common.eventhandler">cpw.mods.fml.common.eventhandler.Event</a></li> +<li> +<ul class="inheritance"> +<li>net.minecraftforge.fluids.FluidEvent</li> +</ul> +</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>Direct Known Subclasses:</dt> +<dd><a href="../../../net/minecraftforge/fluids/FluidEvent.FluidDrainingEvent.html" title="class in net.minecraftforge.fluids">FluidEvent.FluidDrainingEvent</a>, <a href="../../../net/minecraftforge/fluids/FluidEvent.FluidFillingEvent.html" title="class in net.minecraftforge.fluids">FluidEvent.FluidFillingEvent</a>, <a href="../../../net/minecraftforge/fluids/FluidEvent.FluidMotionEvent.html" title="class in net.minecraftforge.fluids">FluidEvent.FluidMotionEvent</a>, <a href="../../../net/minecraftforge/fluids/FluidEvent.FluidSpilledEvent.html" title="class in net.minecraftforge.fluids">FluidEvent.FluidSpilledEvent</a></dd> +</dl> +<hr> +<br> +<pre>public class <span class="strong">FluidEvent</span> +extends <a href="../../../cpw/mods/fml/common/eventhandler/Event.html" title="class in cpw.mods.fml.common.eventhandler">Event</a></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/minecraftforge/fluids/FluidEvent.FluidDrainingEvent.html" title="class in net.minecraftforge.fluids">FluidEvent.FluidDrainingEvent</a></strong></code> +<div class="block">Mods should fire this event when a fluid is <a href="../../../net/minecraftforge/fluids/IFluidTank.html#drain(int,%20boolean)"><code>IFluidTank.drain(int, boolean)</code></a> from their + tank.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static class </code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidEvent.FluidFillingEvent.html" title="class in net.minecraftforge.fluids">FluidEvent.FluidFillingEvent</a></strong></code> +<div class="block">Mods should fire this event when a fluid is <a href="../../../net/minecraftforge/fluids/IFluidTank.html#fill(net.minecraftforge.fluids.FluidStack,%20boolean)"><code>IFluidTank.fill(FluidStack, boolean)</code></a> + their tank implementation.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static class </code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidEvent.FluidMotionEvent.html" title="class in net.minecraftforge.fluids">FluidEvent.FluidMotionEvent</a></strong></code> +<div class="block">Mods should fire this event when they move fluids around.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static class </code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidEvent.FluidSpilledEvent.html" title="class in net.minecraftforge.fluids">FluidEvent.FluidSpilledEvent</a></strong></code> +<div class="block">Mods should fire this event when a fluid "spills", for example, if a block containing fluid + is broken.</div> +</td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="nested_classes_inherited_from_class_cpw.mods.fml.common.eventhandler.Event"> +<!-- --> +</a> +<h3>Nested classes/interfaces inherited from class cpw.mods.fml.common.eventhandler.<a href="../../../cpw/mods/fml/common/eventhandler/Event.html" title="class in cpw.mods.fml.common.eventhandler">Event</a></h3> +<code><a href="../../../cpw/mods/fml/common/eventhandler/Event.HasResult.html" title="annotation in cpw.mods.fml.common.eventhandler">Event.HasResult</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.Result.html" title="enum in cpw.mods.fml.common.eventhandler">Event.Result</a></code></li> +</ul> +</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><a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidEvent.html#fluid">fluid</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidEvent.html#world">world</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidEvent.html#x">x</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidEvent.html#y">y</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidEvent.html#z">z</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/minecraftforge/fluids/FluidEvent.html#FluidEvent(net.minecraftforge.fluids.FluidStack,%20net.minecraft.world.World,%20int,%20int,%20int)">FluidEvent</a></strong>(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> fluid, + <a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</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>static void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidEvent.html#fireEvent(net.minecraftforge.fluids.FluidEvent)">fireEvent</a></strong>(<a href="../../../net/minecraftforge/fluids/FluidEvent.html" title="class in net.minecraftforge.fluids">FluidEvent</a> event)</code> +<div class="block">A handy shortcut for firing the various fluid events.</div> +</td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_cpw.mods.fml.common.eventhandler.Event"> +<!-- --> +</a> +<h3>Methods inherited from class cpw.mods.fml.common.eventhandler.<a href="../../../cpw/mods/fml/common/eventhandler/Event.html" title="class in cpw.mods.fml.common.eventhandler">Event</a></h3> +<code><a href="../../../cpw/mods/fml/common/eventhandler/Event.html#getListenerList()">getListenerList</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#getPhase()">getPhase</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#getResult()">getResult</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#hasResult()">hasResult</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#isCancelable()">isCancelable</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#isCanceled()">isCanceled</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#setCanceled(boolean)">setCanceled</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#setPhase(cpw.mods.fml.common.eventhandler.EventPriority)">setPhase</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#setResult(cpw.mods.fml.common.eventhandler.Event.Result)">setResult</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#setup()">setup</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>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="fluid"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>fluid</h4> +<pre>public final <a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> fluid</pre> +</li> +</ul> +<a name="x"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>x</h4> +<pre>public final int x</pre> +</li> +</ul> +<a name="y"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>y</h4> +<pre>public final int y</pre> +</li> +</ul> +<a name="z"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>z</h4> +<pre>public final int z</pre> +</li> +</ul> +<a name="world"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>world</h4> +<pre>public final <a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world</pre> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="FluidEvent(net.minecraftforge.fluids.FluidStack, net.minecraft.world.World, int, int, int)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>FluidEvent</h4> +<pre>public FluidEvent(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> fluid, + <a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="fireEvent(net.minecraftforge.fluids.FluidEvent)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>fireEvent</h4> +<pre>public static final void fireEvent(<a href="../../../net/minecraftforge/fluids/FluidEvent.html" title="class in net.minecraftforge.fluids">FluidEvent</a> event)</pre> +<div class="block">A handy shortcut for firing the various fluid events.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>event</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><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/minecraftforge/fluids/FluidContainerRegistry.FluidContainerRegisterEvent.html" title="class in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraftforge/fluids/FluidEvent.FluidDrainingEvent.html" title="class in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/FluidEvent.html" target="_top">Frames</a></li> +<li><a href="FluidEvent.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> diff --git a/javadoc/net/minecraftforge/fluids/FluidRegistry.FluidRegisterEvent.html b/javadoc/net/minecraftforge/fluids/FluidRegistry.FluidRegisterEvent.html new file mode 100644 index 0000000..d72b7bc --- /dev/null +++ b/javadoc/net/minecraftforge/fluids/FluidRegistry.FluidRegisterEvent.html @@ -0,0 +1,308 @@ +<!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:17 EST 2015 --> +<title>FluidRegistry.FluidRegisterEvent (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="FluidRegistry.FluidRegisterEvent (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/minecraftforge/fluids/FluidRegistry.html" title="class in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/FluidRegistry.FluidRegisterEvent.html" target="_top">Frames</a></li> +<li><a href="FluidRegistry.FluidRegisterEvent.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_classes_inherited_from_class_cpw.mods.fml.common.eventhandler.Event">Nested</a> | </li> +<li><a href="#field_summary">Field</a> | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#methods_inherited_from_class_cpw.mods.fml.common.eventhandler.Event">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>Method</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.minecraftforge.fluids</div> +<h2 title="Class FluidRegistry.FluidRegisterEvent" class="title">Class FluidRegistry.FluidRegisterEvent</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li><a href="../../../cpw/mods/fml/common/eventhandler/Event.html" title="class in cpw.mods.fml.common.eventhandler">cpw.mods.fml.common.eventhandler.Event</a></li> +<li> +<ul class="inheritance"> +<li>net.minecraftforge.fluids.FluidRegistry.FluidRegisterEvent</li> +</ul> +</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>Enclosing class:</dt> +<dd><a href="../../../net/minecraftforge/fluids/FluidRegistry.html" title="class in net.minecraftforge.fluids">FluidRegistry</a></dd> +</dl> +<hr> +<br> +<pre>public static class <span class="strong">FluidRegistry.FluidRegisterEvent</span> +extends <a href="../../../cpw/mods/fml/common/eventhandler/Event.html" title="class in cpw.mods.fml.common.eventhandler">Event</a></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> +<ul class="blockList"> +<li class="blockList"><a name="nested_classes_inherited_from_class_cpw.mods.fml.common.eventhandler.Event"> +<!-- --> +</a> +<h3>Nested classes/interfaces inherited from class cpw.mods.fml.common.eventhandler.<a href="../../../cpw/mods/fml/common/eventhandler/Event.html" title="class in cpw.mods.fml.common.eventhandler">Event</a></h3> +<code><a href="../../../cpw/mods/fml/common/eventhandler/Event.HasResult.html" title="annotation in cpw.mods.fml.common.eventhandler">Event.HasResult</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.Result.html" title="enum in cpw.mods.fml.common.eventhandler">Event.Result</a></code></li> +</ul> +</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>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidRegistry.FluidRegisterEvent.html#fluidID">fluidID</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>java.lang.String</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidRegistry.FluidRegisterEvent.html#fluidName">fluidName</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/minecraftforge/fluids/FluidRegistry.FluidRegisterEvent.html#FluidRegistry.FluidRegisterEvent(java.lang.String,%20int)">FluidRegistry.FluidRegisterEvent</a></strong>(java.lang.String fluidName, + int fluidID)</code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_cpw.mods.fml.common.eventhandler.Event"> +<!-- --> +</a> +<h3>Methods inherited from class cpw.mods.fml.common.eventhandler.<a href="../../../cpw/mods/fml/common/eventhandler/Event.html" title="class in cpw.mods.fml.common.eventhandler">Event</a></h3> +<code><a href="../../../cpw/mods/fml/common/eventhandler/Event.html#getListenerList()">getListenerList</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#getPhase()">getPhase</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#getResult()">getResult</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#hasResult()">hasResult</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#isCancelable()">isCancelable</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#isCanceled()">isCanceled</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#setCanceled(boolean)">setCanceled</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#setPhase(cpw.mods.fml.common.eventhandler.EventPriority)">setPhase</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#setResult(cpw.mods.fml.common.eventhandler.Event.Result)">setResult</a>, <a href="../../../cpw/mods/fml/common/eventhandler/Event.html#setup()">setup</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>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="fluidName"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>fluidName</h4> +<pre>public final java.lang.String fluidName</pre> +</li> +</ul> +<a name="fluidID"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>fluidID</h4> +<pre>public final int fluidID</pre> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="FluidRegistry.FluidRegisterEvent(java.lang.String, int)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>FluidRegistry.FluidRegisterEvent</h4> +<pre>public FluidRegistry.FluidRegisterEvent(java.lang.String fluidName, + int fluidID)</pre> +</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/minecraftforge/fluids/FluidRegistry.html" title="class in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/FluidRegistry.FluidRegisterEvent.html" target="_top">Frames</a></li> +<li><a href="FluidRegistry.FluidRegisterEvent.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_classes_inherited_from_class_cpw.mods.fml.common.eventhandler.Event">Nested</a> | </li> +<li><a href="#field_summary">Field</a> | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#methods_inherited_from_class_cpw.mods.fml.common.eventhandler.Event">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>Method</li> +</ul> +</div> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/javadoc/net/minecraftforge/fluids/FluidRegistry.html b/javadoc/net/minecraftforge/fluids/FluidRegistry.html new file mode 100644 index 0000000..ae3c6bf --- /dev/null +++ b/javadoc/net/minecraftforge/fluids/FluidRegistry.html @@ -0,0 +1,488 @@ +<!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:17 EST 2015 --> +<title>FluidRegistry (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="FluidRegistry (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/minecraftforge/fluids/FluidEvent.FluidSpilledEvent.html" title="class in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraftforge/fluids/FluidRegistry.FluidRegisterEvent.html" title="class in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/FluidRegistry.html" target="_top">Frames</a></li> +<li><a href="FluidRegistry.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>Constr | </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>Constr | </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.minecraftforge.fluids</div> +<h2 title="Class FluidRegistry" class="title">Class FluidRegistry</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>net.minecraftforge.fluids.FluidRegistry</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public abstract class <span class="strong">FluidRegistry</span> +extends java.lang.Object</pre> +<div class="block">Handles Fluid registrations. Fluids MUST be registered in order to function.</div> +</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/minecraftforge/fluids/FluidRegistry.FluidRegisterEvent.html" title="class in net.minecraftforge.fluids">FluidRegistry.FluidRegisterEvent</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>static <a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidRegistry.html#LAVA">LAVA</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidRegistry.html#renderIdFluid">renderIdFluid</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidRegistry.html#WATER">WATER</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>static <a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidRegistry.html#getFluid(int)">getFluid</a></strong>(int fluidID)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidRegistry.html#getFluid(java.lang.String)">getFluid</a></strong>(java.lang.String fluidName)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidRegistry.html#getFluidID(java.lang.String)">getFluidID</a></strong>(java.lang.String fluidName)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static java.lang.String</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidRegistry.html#getFluidName(net.minecraftforge.fluids.FluidStack)">getFluidName</a></strong>(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> stack)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static java.lang.String</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidRegistry.html#getFluidName(int)">getFluidName</a></strong>(int fluidID)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidRegistry.html#getFluidStack(java.lang.String,%20int)">getFluidStack</a></strong>(java.lang.String fluidName, + int amount)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidRegistry.html#getMaxID()">getMaxID</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static java.util.Map<java.lang.String,java.lang.Integer></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidRegistry.html#getRegisteredFluidIDs()">getRegisteredFluidIDs</a></strong>()</code> +<div class="block">Returns a read-only map containing Fluid Names and their associated IDs.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static java.util.Map<java.lang.String,<a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a>></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidRegistry.html#getRegisteredFluids()">getRegisteredFluids</a></strong>()</code> +<div class="block">Returns a read-only map containing Fluid Names and their associated Fluids.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidRegistry.html#initFluidIDs(com.google.common.collect.BiMap)">initFluidIDs</a></strong>(com.google.common.collect.BiMap<java.lang.String,java.lang.Integer> newfluidIDs)</code> +<div class="block">Called by Forge to prepare the ID map for server -> client sync.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidRegistry.html#isFluidRegistered(net.minecraftforge.fluids.Fluid)">isFluidRegistered</a></strong>(<a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> fluid)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidRegistry.html#isFluidRegistered(java.lang.String)">isFluidRegistered</a></strong>(java.lang.String fluidName)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidRegistry.html#lookupFluidForBlock(net.minecraft.block.Block)">lookupFluidForBlock</a></strong>(<a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> block)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidRegistry.html#registerFluid(net.minecraftforge.fluids.Fluid)">registerFluid</a></strong>(<a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> fluid)</code> +<div class="block">Register a new Fluid.</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="WATER"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>WATER</h4> +<pre>public static final <a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> WATER</pre> +</li> +</ul> +<a name="LAVA"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>LAVA</h4> +<pre>public static final <a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> LAVA</pre> +</li> +</ul> +<a name="renderIdFluid"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>renderIdFluid</h4> +<pre>public static int renderIdFluid</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="initFluidIDs(com.google.common.collect.BiMap)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>initFluidIDs</h4> +<pre>public static void initFluidIDs(com.google.common.collect.BiMap<java.lang.String,java.lang.Integer> newfluidIDs)</pre> +<div class="block">Called by Forge to prepare the ID map for server -> client sync. + Modders, DO NOT call this.</div> +</li> +</ul> +<a name="registerFluid(net.minecraftforge.fluids.Fluid)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>registerFluid</h4> +<pre>public static boolean registerFluid(<a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> fluid)</pre> +<div class="block">Register a new Fluid. If a fluid with the same name already exists, registration is denied.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>fluid</code> - The fluid to register.</dd> +<dt><span class="strong">Returns:</span></dt><dd>True if the fluid was successfully registered; false if there is a name clash.</dd></dl> +</li> +</ul> +<a name="isFluidRegistered(net.minecraftforge.fluids.Fluid)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isFluidRegistered</h4> +<pre>public static boolean isFluidRegistered(<a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> fluid)</pre> +</li> +</ul> +<a name="isFluidRegistered(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isFluidRegistered</h4> +<pre>public static boolean isFluidRegistered(java.lang.String fluidName)</pre> +</li> +</ul> +<a name="getFluid(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getFluid</h4> +<pre>public static <a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> getFluid(java.lang.String fluidName)</pre> +</li> +</ul> +<a name="getFluid(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getFluid</h4> +<pre>public static <a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> getFluid(int fluidID)</pre> +</li> +</ul> +<a name="getFluidName(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getFluidName</h4> +<pre>public static java.lang.String getFluidName(int fluidID)</pre> +</li> +</ul> +<a name="getFluidName(net.minecraftforge.fluids.FluidStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getFluidName</h4> +<pre>public static java.lang.String getFluidName(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> stack)</pre> +</li> +</ul> +<a name="getFluidID(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getFluidID</h4> +<pre>public static int getFluidID(java.lang.String fluidName)</pre> +</li> +</ul> +<a name="getFluidStack(java.lang.String, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getFluidStack</h4> +<pre>public static <a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> getFluidStack(java.lang.String fluidName, + int amount)</pre> +</li> +</ul> +<a name="getRegisteredFluids()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getRegisteredFluids</h4> +<pre>public static java.util.Map<java.lang.String,<a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a>> getRegisteredFluids()</pre> +<div class="block">Returns a read-only map containing Fluid Names and their associated Fluids.</div> +</li> +</ul> +<a name="getRegisteredFluidIDs()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getRegisteredFluidIDs</h4> +<pre>public static java.util.Map<java.lang.String,java.lang.Integer> getRegisteredFluidIDs()</pre> +<div class="block">Returns a read-only map containing Fluid Names and their associated IDs.</div> +</li> +</ul> +<a name="lookupFluidForBlock(net.minecraft.block.Block)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>lookupFluidForBlock</h4> +<pre>public static <a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> lookupFluidForBlock(<a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> block)</pre> +</li> +</ul> +<a name="getMaxID()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>getMaxID</h4> +<pre>public static int getMaxID()</pre> +</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/minecraftforge/fluids/FluidEvent.FluidSpilledEvent.html" title="class in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraftforge/fluids/FluidRegistry.FluidRegisterEvent.html" title="class in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/FluidRegistry.html" target="_top">Frames</a></li> +<li><a href="FluidRegistry.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>Constr | </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>Constr | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/javadoc/net/minecraftforge/fluids/FluidStack.html b/javadoc/net/minecraftforge/fluids/FluidStack.html new file mode 100644 index 0000000..ec97065 --- /dev/null +++ b/javadoc/net/minecraftforge/fluids/FluidStack.html @@ -0,0 +1,569 @@ +<!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:17 EST 2015 --> +<title>FluidStack (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="FluidStack (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/minecraftforge/fluids/FluidRegistry.FluidRegisterEvent.html" title="class in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraftforge/fluids/FluidTank.html" title="class in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/FluidStack.html" target="_top">Frames</a></li> +<li><a href="FluidStack.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.minecraftforge.fluids</div> +<h2 title="Class FluidStack" class="title">Class FluidStack</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>net.minecraftforge.fluids.FluidStack</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public class <span class="strong">FluidStack</span> +extends java.lang.Object</pre> +<div class="block">ItemStack substitute for Fluids. + + NOTE: Equality is based on the Fluid, not the amount. Use + <a href="../../../net/minecraftforge/fluids/FluidStack.html#isFluidStackIdentical(net.minecraftforge.fluids.FluidStack)"><code>isFluidStackIdentical(FluidStack)</code></a> to determine if FluidID, Amount and NBT Tag are all + equal.</div> +</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>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidStack.html#amount">amount</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidStack.html#fluidID">fluidID</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../net/minecraft/nbt/NBTTagCompound.html" title="class in net.minecraft.nbt">NBTTagCompound</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidStack.html#tag">tag</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/minecraftforge/fluids/FluidStack.html#FluidStack(net.minecraftforge.fluids.Fluid,%20int)">FluidStack</a></strong>(<a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> fluid, + int amount)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colOne"><code><strong><a href="../../../net/minecraftforge/fluids/FluidStack.html#FluidStack(net.minecraftforge.fluids.FluidStack,%20int)">FluidStack</a></strong>(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> stack, + int amount)</code> </td> +</tr> +<tr class="altColor"> +<td class="colOne"><code><strong><a href="../../../net/minecraftforge/fluids/FluidStack.html#FluidStack(int,%20int)">FluidStack</a></strong>(int fluidID, + int amount)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colOne"><code><strong><a href="../../../net/minecraftforge/fluids/FluidStack.html#FluidStack(int,%20int,%20net.minecraft.nbt.NBTTagCompound)">FluidStack</a></strong>(int fluidID, + int amount, + <a href="../../../net/minecraft/nbt/NBTTagCompound.html" title="class in net.minecraft.nbt">NBTTagCompound</a> nbt)</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>static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidStack.html#areFluidStackTagsEqual(net.minecraftforge.fluids.FluidStack,%20net.minecraftforge.fluids.FluidStack)">areFluidStackTagsEqual</a></strong>(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> stack1, + <a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> stack2)</code> +<div class="block">Determines if the NBT Tags are equal.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidStack.html#containsFluid(net.minecraftforge.fluids.FluidStack)">containsFluid</a></strong>(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> other)</code> +<div class="block">Determines if the Fluids are equal and this stack is larger.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidStack.html#copy()">copy</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidStack.html#equals(java.lang.Object)">equals</a></strong>(java.lang.Object o)</code> +<div class="block">Default equality comparison for a FluidStack.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidStack.html#getFluid()">getFluid</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>java.lang.String</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidStack.html#getLocalizedName()">getLocalizedName</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/minecraftforge/fluids/FluidStack.html#getUnlocalizedName()">getUnlocalizedName</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidStack.html#hashCode()">hashCode</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidStack.html#isFluidEqual(net.minecraftforge.fluids.FluidStack)">isFluidEqual</a></strong>(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> other)</code> +<div class="block">Determines if the FluidIDs and NBT Tags are equal.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidStack.html#isFluidEqual(net.minecraft.item.ItemStack)">isFluidEqual</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> other)</code> +<div class="block">Determines if the FluidIDs and NBT Tags are equal compared to a registered container + ItemStack.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidStack.html#isFluidStackIdentical(net.minecraftforge.fluids.FluidStack)">isFluidStackIdentical</a></strong>(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> other)</code> +<div class="block">Determines if the FluidIDs, Amounts, and NBT Tags are all equal.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidStack.html#loadFluidStackFromNBT(net.minecraft.nbt.NBTTagCompound)">loadFluidStackFromNBT</a></strong>(<a href="../../../net/minecraft/nbt/NBTTagCompound.html" title="class in net.minecraft.nbt">NBTTagCompound</a> nbt)</code> +<div class="block">This provides a safe method for retrieving a FluidStack - if the Fluid is invalid, the stack + will return as null.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../net/minecraft/nbt/NBTTagCompound.html" title="class in net.minecraft.nbt">NBTTagCompound</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidStack.html#writeToNBT(net.minecraft.nbt.NBTTagCompound)">writeToNBT</a></strong>(<a href="../../../net/minecraft/nbt/NBTTagCompound.html" title="class in net.minecraft.nbt">NBTTagCompound</a> nbt)</code> </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, finalize, getClass, 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="fluidID"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>fluidID</h4> +<pre>public int fluidID</pre> +</li> +</ul> +<a name="amount"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>amount</h4> +<pre>public int amount</pre> +</li> +</ul> +<a name="tag"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>tag</h4> +<pre>public <a href="../../../net/minecraft/nbt/NBTTagCompound.html" title="class in net.minecraft.nbt">NBTTagCompound</a> tag</pre> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="FluidStack(net.minecraftforge.fluids.Fluid, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>FluidStack</h4> +<pre>public FluidStack(<a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> fluid, + int amount)</pre> +</li> +</ul> +<a name="FluidStack(int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>FluidStack</h4> +<pre>public FluidStack(int fluidID, + int amount)</pre> +</li> +</ul> +<a name="FluidStack(int, int, net.minecraft.nbt.NBTTagCompound)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>FluidStack</h4> +<pre>public FluidStack(int fluidID, + int amount, + <a href="../../../net/minecraft/nbt/NBTTagCompound.html" title="class in net.minecraft.nbt">NBTTagCompound</a> nbt)</pre> +</li> +</ul> +<a name="FluidStack(net.minecraftforge.fluids.FluidStack, int)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>FluidStack</h4> +<pre>public FluidStack(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> stack, + int amount)</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="loadFluidStackFromNBT(net.minecraft.nbt.NBTTagCompound)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>loadFluidStackFromNBT</h4> +<pre>public static <a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> loadFluidStackFromNBT(<a href="../../../net/minecraft/nbt/NBTTagCompound.html" title="class in net.minecraft.nbt">NBTTagCompound</a> nbt)</pre> +<div class="block">This provides a safe method for retrieving a FluidStack - if the Fluid is invalid, the stack + will return as null.</div> +</li> +</ul> +<a name="writeToNBT(net.minecraft.nbt.NBTTagCompound)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>writeToNBT</h4> +<pre>public <a href="../../../net/minecraft/nbt/NBTTagCompound.html" title="class in net.minecraft.nbt">NBTTagCompound</a> writeToNBT(<a href="../../../net/minecraft/nbt/NBTTagCompound.html" title="class in net.minecraft.nbt">NBTTagCompound</a> nbt)</pre> +</li> +</ul> +<a name="getFluid()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getFluid</h4> +<pre>public final <a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> getFluid()</pre> +</li> +</ul> +<a name="getLocalizedName()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getLocalizedName</h4> +<pre>public java.lang.String getLocalizedName()</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="copy()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>copy</h4> +<pre>public <a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> copy()</pre> +<dl><dt><span class="strong">Returns:</span></dt><dd>A copy of this FluidStack</dd></dl> +</li> +</ul> +<a name="isFluidEqual(net.minecraftforge.fluids.FluidStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isFluidEqual</h4> +<pre>public boolean isFluidEqual(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> other)</pre> +<div class="block">Determines if the FluidIDs and NBT Tags are equal. This does not check amounts.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>other</code> - The FluidStack for comparison</dd> +<dt><span class="strong">Returns:</span></dt><dd>true if the Fluids (IDs and NBT Tags) are the same</dd></dl> +</li> +</ul> +<a name="areFluidStackTagsEqual(net.minecraftforge.fluids.FluidStack, net.minecraftforge.fluids.FluidStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>areFluidStackTagsEqual</h4> +<pre>public static boolean areFluidStackTagsEqual(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> stack1, + <a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> stack2)</pre> +<div class="block">Determines if the NBT Tags are equal. Useful if the FluidIDs are known to be equal.</div> +</li> +</ul> +<a name="containsFluid(net.minecraftforge.fluids.FluidStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>containsFluid</h4> +<pre>public boolean containsFluid(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> other)</pre> +<div class="block">Determines if the Fluids are equal and this stack is larger.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>other</code> - </dd> +<dt><span class="strong">Returns:</span></dt><dd>true if this FluidStack contains the other FluidStack (same fluid and >= amount)</dd></dl> +</li> +</ul> +<a name="isFluidStackIdentical(net.minecraftforge.fluids.FluidStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isFluidStackIdentical</h4> +<pre>public boolean isFluidStackIdentical(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> other)</pre> +<div class="block">Determines if the FluidIDs, Amounts, and NBT Tags are all equal.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>other</code> - - the FluidStack for comparison</dd> +<dt><span class="strong">Returns:</span></dt><dd>true if the two FluidStacks are exactly the same</dd></dl> +</li> +</ul> +<a name="isFluidEqual(net.minecraft.item.ItemStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isFluidEqual</h4> +<pre>public boolean isFluidEqual(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> other)</pre> +<div class="block">Determines if the FluidIDs and NBT Tags are equal compared to a registered container + ItemStack. This does not check amounts.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>other</code> - The ItemStack for comparison</dd> +<dt><span class="strong">Returns:</span></dt><dd>true if the Fluids (IDs and NBT Tags) are the same</dd></dl> +</li> +</ul> +<a name="hashCode()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>hashCode</h4> +<pre>public final int hashCode()</pre> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code>hashCode</code> in class <code>java.lang.Object</code></dd> +</dl> +</li> +</ul> +<a name="equals(java.lang.Object)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>equals</h4> +<pre>public final boolean equals(java.lang.Object o)</pre> +<div class="block">Default equality comparison for a FluidStack. Same functionality as isFluidEqual(). + + This is included for use in data structures.</div> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code>equals</code> in class <code>java.lang.Object</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><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/minecraftforge/fluids/FluidRegistry.FluidRegisterEvent.html" title="class in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraftforge/fluids/FluidTank.html" title="class in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/FluidStack.html" target="_top">Frames</a></li> +<li><a href="FluidStack.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> diff --git a/javadoc/net/minecraftforge/fluids/FluidTank.html b/javadoc/net/minecraftforge/fluids/FluidTank.html new file mode 100644 index 0000000..bd7c390 --- /dev/null +++ b/javadoc/net/minecraftforge/fluids/FluidTank.html @@ -0,0 +1,507 @@ +<!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:17 EST 2015 --> +<title>FluidTank (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="FluidTank (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/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraftforge/fluids/FluidTankInfo.html" title="class in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/FluidTank.html" target="_top">Frames</a></li> +<li><a href="FluidTank.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.minecraftforge.fluids</div> +<h2 title="Class FluidTank" class="title">Class FluidTank</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>net.minecraftforge.fluids.FluidTank</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Implemented Interfaces:</dt> +<dd><a href="../../../net/minecraftforge/fluids/IFluidTank.html" title="interface in net.minecraftforge.fluids">IFluidTank</a></dd> +</dl> +<hr> +<br> +<pre>public class <span class="strong">FluidTank</span> +extends java.lang.Object +implements <a href="../../../net/minecraftforge/fluids/IFluidTank.html" title="interface in net.minecraftforge.fluids">IFluidTank</a></pre> +<div class="block">Reference implementation of <a href="../../../net/minecraftforge/fluids/IFluidTank.html" title="interface in net.minecraftforge.fluids"><code>IFluidTank</code></a>. Use/extend this or implement your own.</div> +</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 int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidTank.html#capacity">capacity</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected <a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidTank.html#fluid">fluid</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected <a href="../../../net/minecraft/tileentity/TileEntity.html" title="class in net.minecraft.tileentity">TileEntity</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidTank.html#tile">tile</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/minecraftforge/fluids/FluidTank.html#FluidTank(net.minecraftforge.fluids.Fluid,%20int,%20int)">FluidTank</a></strong>(<a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> fluid, + int amount, + int capacity)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colOne"><code><strong><a href="../../../net/minecraftforge/fluids/FluidTank.html#FluidTank(net.minecraftforge.fluids.FluidStack,%20int)">FluidTank</a></strong>(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> stack, + int capacity)</code> </td> +</tr> +<tr class="altColor"> +<td class="colOne"><code><strong><a href="../../../net/minecraftforge/fluids/FluidTank.html#FluidTank(int)">FluidTank</a></strong>(int capacity)</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><a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidTank.html#drain(int,%20boolean)">drain</a></strong>(int maxDrain, + boolean doDrain)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidTank.html#fill(net.minecraftforge.fluids.FluidStack,%20boolean)">fill</a></strong>(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> resource, + boolean doFill)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidTank.html#getCapacity()">getCapacity</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidTank.html#getFluid()">getFluid</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidTank.html#getFluidAmount()">getFluidAmount</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/fluids/FluidTankInfo.html" title="class in net.minecraftforge.fluids">FluidTankInfo</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidTank.html#getInfo()">getInfo</a></strong>()</code> +<div class="block">Returns a wrapper object <a href="../../../net/minecraftforge/fluids/FluidTankInfo.html" title="class in net.minecraftforge.fluids"><code>FluidTankInfo</code></a> containing the capacity of the tank and the + FluidStack it holds.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/fluids/FluidTank.html" title="class in net.minecraftforge.fluids">FluidTank</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidTank.html#readFromNBT(net.minecraft.nbt.NBTTagCompound)">readFromNBT</a></strong>(<a href="../../../net/minecraft/nbt/NBTTagCompound.html" title="class in net.minecraft.nbt">NBTTagCompound</a> nbt)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidTank.html#setCapacity(int)">setCapacity</a></strong>(int capacity)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidTank.html#setFluid(net.minecraftforge.fluids.FluidStack)">setFluid</a></strong>(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> fluid)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraft/nbt/NBTTagCompound.html" title="class in net.minecraft.nbt">NBTTagCompound</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidTank.html#writeToNBT(net.minecraft.nbt.NBTTagCompound)">writeToNBT</a></strong>(<a href="../../../net/minecraft/nbt/NBTTagCompound.html" title="class in net.minecraft.nbt">NBTTagCompound</a> nbt)</code> </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="fluid"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>fluid</h4> +<pre>protected <a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> fluid</pre> +</li> +</ul> +<a name="capacity"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>capacity</h4> +<pre>protected int capacity</pre> +</li> +</ul> +<a name="tile"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>tile</h4> +<pre>protected <a href="../../../net/minecraft/tileentity/TileEntity.html" title="class in net.minecraft.tileentity">TileEntity</a> tile</pre> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="FluidTank(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>FluidTank</h4> +<pre>public FluidTank(int capacity)</pre> +</li> +</ul> +<a name="FluidTank(net.minecraftforge.fluids.FluidStack, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>FluidTank</h4> +<pre>public FluidTank(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> stack, + int capacity)</pre> +</li> +</ul> +<a name="FluidTank(net.minecraftforge.fluids.Fluid, int, int)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>FluidTank</h4> +<pre>public FluidTank(<a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> fluid, + int amount, + int capacity)</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="readFromNBT(net.minecraft.nbt.NBTTagCompound)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>readFromNBT</h4> +<pre>public <a href="../../../net/minecraftforge/fluids/FluidTank.html" title="class in net.minecraftforge.fluids">FluidTank</a> readFromNBT(<a href="../../../net/minecraft/nbt/NBTTagCompound.html" title="class in net.minecraft.nbt">NBTTagCompound</a> nbt)</pre> +</li> +</ul> +<a name="writeToNBT(net.minecraft.nbt.NBTTagCompound)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>writeToNBT</h4> +<pre>public <a href="../../../net/minecraft/nbt/NBTTagCompound.html" title="class in net.minecraft.nbt">NBTTagCompound</a> writeToNBT(<a href="../../../net/minecraft/nbt/NBTTagCompound.html" title="class in net.minecraft.nbt">NBTTagCompound</a> nbt)</pre> +</li> +</ul> +<a name="setFluid(net.minecraftforge.fluids.FluidStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setFluid</h4> +<pre>public void setFluid(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> fluid)</pre> +</li> +</ul> +<a name="setCapacity(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setCapacity</h4> +<pre>public void setCapacity(int capacity)</pre> +</li> +</ul> +<a name="getFluid()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getFluid</h4> +<pre>public <a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> getFluid()</pre> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../net/minecraftforge/fluids/IFluidTank.html#getFluid()">getFluid</a></code> in interface <code><a href="../../../net/minecraftforge/fluids/IFluidTank.html" title="interface in net.minecraftforge.fluids">IFluidTank</a></code></dd> +<dt><span class="strong">Returns:</span></dt><dd>FluidStack representing the fluid in the tank, null if the tank is empty.</dd></dl> +</li> +</ul> +<a name="getFluidAmount()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getFluidAmount</h4> +<pre>public int getFluidAmount()</pre> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../net/minecraftforge/fluids/IFluidTank.html#getFluidAmount()">getFluidAmount</a></code> in interface <code><a href="../../../net/minecraftforge/fluids/IFluidTank.html" title="interface in net.minecraftforge.fluids">IFluidTank</a></code></dd> +<dt><span class="strong">Returns:</span></dt><dd>Current amount of fluid in the tank.</dd></dl> +</li> +</ul> +<a name="getCapacity()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getCapacity</h4> +<pre>public int getCapacity()</pre> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../net/minecraftforge/fluids/IFluidTank.html#getCapacity()">getCapacity</a></code> in interface <code><a href="../../../net/minecraftforge/fluids/IFluidTank.html" title="interface in net.minecraftforge.fluids">IFluidTank</a></code></dd> +<dt><span class="strong">Returns:</span></dt><dd>Capacity of this fluid tank.</dd></dl> +</li> +</ul> +<a name="getInfo()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getInfo</h4> +<pre>public <a href="../../../net/minecraftforge/fluids/FluidTankInfo.html" title="class in net.minecraftforge.fluids">FluidTankInfo</a> getInfo()</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../net/minecraftforge/fluids/IFluidTank.html#getInfo()">IFluidTank</a></code></strong></div> +<div class="block">Returns a wrapper object <a href="../../../net/minecraftforge/fluids/FluidTankInfo.html" title="class in net.minecraftforge.fluids"><code>FluidTankInfo</code></a> containing the capacity of the tank and the + FluidStack it holds. + + Should prevent manipulation of the IFluidTank. See <a href="../../../net/minecraftforge/fluids/FluidTank.html" title="class in net.minecraftforge.fluids"><code>FluidTank</code></a>.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../net/minecraftforge/fluids/IFluidTank.html#getInfo()">getInfo</a></code> in interface <code><a href="../../../net/minecraftforge/fluids/IFluidTank.html" title="interface in net.minecraftforge.fluids">IFluidTank</a></code></dd> +<dt><span class="strong">Returns:</span></dt><dd>State information for the IFluidTank.</dd></dl> +</li> +</ul> +<a name="fill(net.minecraftforge.fluids.FluidStack, boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>fill</h4> +<pre>public int fill(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> resource, + boolean doFill)</pre> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../net/minecraftforge/fluids/IFluidTank.html#fill(net.minecraftforge.fluids.FluidStack,%20boolean)">fill</a></code> in interface <code><a href="../../../net/minecraftforge/fluids/IFluidTank.html" title="interface in net.minecraftforge.fluids">IFluidTank</a></code></dd> +<dt><span class="strong">Parameters:</span></dt><dd><code>resource</code> - FluidStack attempting to fill the tank.</dd><dd><code>doFill</code> - If false, the fill will only be simulated.</dd> +<dt><span class="strong">Returns:</span></dt><dd>Amount of fluid that was accepted by the tank.</dd></dl> +</li> +</ul> +<a name="drain(int, boolean)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>drain</h4> +<pre>public <a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> drain(int maxDrain, + boolean doDrain)</pre> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../net/minecraftforge/fluids/IFluidTank.html#drain(int,%20boolean)">drain</a></code> in interface <code><a href="../../../net/minecraftforge/fluids/IFluidTank.html" title="interface in net.minecraftforge.fluids">IFluidTank</a></code></dd> +<dt><span class="strong">Parameters:</span></dt><dd><code>maxDrain</code> - Maximum amount of fluid to be removed from the container.</dd> +<dt><span class="strong">Returns:</span></dt><dd>Amount of fluid that was removed from the tank.</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/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraftforge/fluids/FluidTankInfo.html" title="class in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/FluidTank.html" target="_top">Frames</a></li> +<li><a href="FluidTank.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> diff --git a/javadoc/net/minecraftforge/fluids/FluidTankInfo.html b/javadoc/net/minecraftforge/fluids/FluidTankInfo.html new file mode 100644 index 0000000..62788dd --- /dev/null +++ b/javadoc/net/minecraftforge/fluids/FluidTankInfo.html @@ -0,0 +1,290 @@ +<!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:17 EST 2015 --> +<title>FluidTankInfo (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="FluidTankInfo (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/minecraftforge/fluids/FluidTank.html" title="class in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraftforge/fluids/IFluidBlock.html" title="interface in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/FluidTankInfo.html" target="_top">Frames</a></li> +<li><a href="FluidTankInfo.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="#methods_inherited_from_class_java.lang.Object">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>Method</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.minecraftforge.fluids</div> +<h2 title="Class FluidTankInfo" class="title">Class FluidTankInfo</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>net.minecraftforge.fluids.FluidTankInfo</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public final class <span class="strong">FluidTankInfo</span> +extends java.lang.Object</pre> +<div class="block">Wrapper class used to encapsulate information about an IFluidTank.</div> +</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>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidTankInfo.html#capacity">capacity</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/FluidTankInfo.html#fluid">fluid</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/minecraftforge/fluids/FluidTankInfo.html#FluidTankInfo(net.minecraftforge.fluids.FluidStack,%20int)">FluidTankInfo</a></strong>(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> fluid, + int capacity)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colOne"><code><strong><a href="../../../net/minecraftforge/fluids/FluidTankInfo.html#FluidTankInfo(net.minecraftforge.fluids.IFluidTank)">FluidTankInfo</a></strong>(<a href="../../../net/minecraftforge/fluids/IFluidTank.html" title="interface in net.minecraftforge.fluids">IFluidTank</a> tank)</code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<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="fluid"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>fluid</h4> +<pre>public final <a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> fluid</pre> +</li> +</ul> +<a name="capacity"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>capacity</h4> +<pre>public final int capacity</pre> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="FluidTankInfo(net.minecraftforge.fluids.FluidStack, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>FluidTankInfo</h4> +<pre>public FluidTankInfo(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> fluid, + int capacity)</pre> +</li> +</ul> +<a name="FluidTankInfo(net.minecraftforge.fluids.IFluidTank)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>FluidTankInfo</h4> +<pre>public FluidTankInfo(<a href="../../../net/minecraftforge/fluids/IFluidTank.html" title="interface in net.minecraftforge.fluids">IFluidTank</a> tank)</pre> +</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/minecraftforge/fluids/FluidTank.html" title="class in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraftforge/fluids/IFluidBlock.html" title="interface in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/FluidTankInfo.html" target="_top">Frames</a></li> +<li><a href="FluidTankInfo.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="#methods_inherited_from_class_java.lang.Object">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>Method</li> +</ul> +</div> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/javadoc/net/minecraftforge/fluids/IFluidBlock.html b/javadoc/net/minecraftforge/fluids/IFluidBlock.html new file mode 100644 index 0000000..6d3ebea --- /dev/null +++ b/javadoc/net/minecraftforge/fluids/IFluidBlock.html @@ -0,0 +1,294 @@ +<!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:17 EST 2015 --> +<title>IFluidBlock (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="IFluidBlock (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/minecraftforge/fluids/FluidTankInfo.html" title="class in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraftforge/fluids/IFluidContainerItem.html" title="interface in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/IFluidBlock.html" target="_top">Frames</a></li> +<li><a href="IFluidBlock.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>Field | </li> +<li>Constr | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </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.minecraftforge.fluids</div> +<h2 title="Interface IFluidBlock" class="title">Interface IFluidBlock</h2> +</div> +<div class="contentContainer"> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Known Implementing Classes:</dt> +<dd><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html" title="class in net.minecraftforge.fluids">BlockFluidBase</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidClassic.html" title="class in net.minecraftforge.fluids">BlockFluidClassic</a>, <a href="../../../net/minecraftforge/fluids/BlockFluidFinite.html" title="class in net.minecraftforge.fluids">BlockFluidFinite</a></dd> +</dl> +<hr> +<br> +<pre>public interface <span class="strong">IFluidBlock</span></pre> +<div class="block">Implement this interface on Block classes which represent world-placeable Fluids. + + NOTE: Using/extending the reference implementations <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html" title="class in net.minecraftforge.fluids"><code>BlockFluidBase</code></a> is encouraged.</div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========== 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/minecraftforge/fluids/IFluidBlock.html#canDrain(net.minecraft.world.World,%20int,%20int,%20int)">canDrain</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</code> +<div class="block">Check to see if a block can be drained.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/IFluidBlock.html#drain(net.minecraft.world.World,%20int,%20int,%20int,%20boolean)">drain</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z, + boolean doDrain)</code> +<div class="block">Attempt to drain the block.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>float</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/IFluidBlock.html#getFilledPercentage(net.minecraft.world.World,%20int,%20int,%20int)">getFilledPercentage</a></strong>(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</code> +<div class="block">Returns the amount of a single block is filled.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/IFluidBlock.html#getFluid()">getFluid</a></strong>()</code> +<div class="block">Returns the Fluid associated with this Block.</div> +</td> +</tr> +</table> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="getFluid()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getFluid</h4> +<pre><a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> getFluid()</pre> +<div class="block">Returns the Fluid associated with this Block.</div> +</li> +</ul> +<a name="drain(net.minecraft.world.World, int, int, int, boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>drain</h4> +<pre><a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> drain(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z, + boolean doDrain)</pre> +<div class="block">Attempt to drain the block. This method should be called by devices such as pumps. + + NOTE: The block is intended to handle its own state changes.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>doDrain</code> - If false, the drain will only be simulated.</dd> +<dt><span class="strong">Returns:</span></dt><dd></dd></dl> +</li> +</ul> +<a name="canDrain(net.minecraft.world.World, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>canDrain</h4> +<pre>boolean canDrain(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</pre> +<div class="block">Check to see if a block can be drained. This method should be called by devices such as + pumps.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>doDrain</code> - If false, the drain will only be simulated.</dd> +<dt><span class="strong">Returns:</span></dt><dd></dd></dl> +</li> +</ul> +<a name="getFilledPercentage(net.minecraft.world.World, int, int, int)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>getFilledPercentage</h4> +<pre>float getFilledPercentage(<a href="../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + int x, + int y, + int z)</pre> +<div class="block">Returns the amount of a single block is filled. Value between 0 and 1. + 1 meaning the entire 1x1x1 cube is full, 0 meaning completely empty. + + If the return value is negative. It will be treated as filling the block + from the top down instead of bottom up.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd></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/minecraftforge/fluids/FluidTankInfo.html" title="class in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraftforge/fluids/IFluidContainerItem.html" title="interface in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/IFluidBlock.html" target="_top">Frames</a></li> +<li><a href="IFluidBlock.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>Field | </li> +<li>Constr | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/javadoc/net/minecraftforge/fluids/IFluidContainerItem.html b/javadoc/net/minecraftforge/fluids/IFluidContainerItem.html new file mode 100644 index 0000000..247bdc1 --- /dev/null +++ b/javadoc/net/minecraftforge/fluids/IFluidContainerItem.html @@ -0,0 +1,271 @@ +<!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:17 EST 2015 --> +<title>IFluidContainerItem (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="IFluidContainerItem (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/minecraftforge/fluids/IFluidBlock.html" title="interface in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraftforge/fluids/IFluidHandler.html" title="interface in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/IFluidContainerItem.html" target="_top">Frames</a></li> +<li><a href="IFluidContainerItem.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>Field | </li> +<li>Constr | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </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.minecraftforge.fluids</div> +<h2 title="Interface IFluidContainerItem" class="title">Interface IFluidContainerItem</h2> +</div> +<div class="contentContainer"> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Known Implementing Classes:</dt> +<dd><a href="../../../net/minecraftforge/fluids/ItemFluidContainer.html" title="class in net.minecraftforge.fluids">ItemFluidContainer</a></dd> +</dl> +<hr> +<br> +<pre>public interface <span class="strong">IFluidContainerItem</span></pre> +<div class="block">Implement this interface on Item classes that support external manipulation of their internal + fluid storage. + + A reference implementation is provided <a href="../../../net/minecraftforge/fluids/ItemFluidContainer.html" title="class in net.minecraftforge.fluids"><code>ItemFluidContainer</code></a>. + + NOTE: Use of NBT data on the containing ItemStack is encouraged.</div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========== 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><a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/IFluidContainerItem.html#drain(net.minecraft.item.ItemStack,%20int,%20boolean)">drain</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> container, + int maxDrain, + boolean doDrain)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/IFluidContainerItem.html#fill(net.minecraft.item.ItemStack,%20net.minecraftforge.fluids.FluidStack,%20boolean)">fill</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> container, + <a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> resource, + boolean doFill)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/IFluidContainerItem.html#getCapacity(net.minecraft.item.ItemStack)">getCapacity</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> container)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/IFluidContainerItem.html#getFluid(net.minecraft.item.ItemStack)">getFluid</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> container)</code> </td> +</tr> +</table> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="getFluid(net.minecraft.item.ItemStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getFluid</h4> +<pre><a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> getFluid(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> container)</pre> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>container</code> - ItemStack which is the fluid container.</dd> +<dt><span class="strong">Returns:</span></dt><dd>FluidStack representing the fluid in the container, null if the container is empty.</dd></dl> +</li> +</ul> +<a name="getCapacity(net.minecraft.item.ItemStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getCapacity</h4> +<pre>int getCapacity(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> container)</pre> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>container</code> - ItemStack which is the fluid container.</dd> +<dt><span class="strong">Returns:</span></dt><dd>Capacity of this fluid container.</dd></dl> +</li> +</ul> +<a name="fill(net.minecraft.item.ItemStack, net.minecraftforge.fluids.FluidStack, boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>fill</h4> +<pre>int fill(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> container, + <a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> resource, + boolean doFill)</pre> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>container</code> - ItemStack which is the fluid container.</dd><dd><code>resource</code> - FluidStack attempting to fill the container.</dd><dd><code>doFill</code> - If false, the fill will only be simulated.</dd> +<dt><span class="strong">Returns:</span></dt><dd>Amount of fluid that was (or would have been, if simulated) filled into the + container.</dd></dl> +</li> +</ul> +<a name="drain(net.minecraft.item.ItemStack, int, boolean)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>drain</h4> +<pre><a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> drain(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> container, + int maxDrain, + boolean doDrain)</pre> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>container</code> - ItemStack which is the fluid container.</dd><dd><code>maxDrain</code> - Maximum amount of fluid to be removed from the container.</dd><dd><code>doFill</code> - If false, the drain will only be simulated.</dd> +<dt><span class="strong">Returns:</span></dt><dd>Amount of fluid that was (or would have been, if simulated) drained from the + container.</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/minecraftforge/fluids/IFluidBlock.html" title="interface in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraftforge/fluids/IFluidHandler.html" title="interface in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/IFluidContainerItem.html" target="_top">Frames</a></li> +<li><a href="IFluidContainerItem.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>Field | </li> +<li>Constr | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/javadoc/net/minecraftforge/fluids/IFluidHandler.html b/javadoc/net/minecraftforge/fluids/IFluidHandler.html new file mode 100644 index 0000000..a3ee123 --- /dev/null +++ b/javadoc/net/minecraftforge/fluids/IFluidHandler.html @@ -0,0 +1,328 @@ +<!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:17 EST 2015 --> +<title>IFluidHandler (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="IFluidHandler (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/minecraftforge/fluids/IFluidContainerItem.html" title="interface in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraftforge/fluids/IFluidTank.html" title="interface in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/IFluidHandler.html" target="_top">Frames</a></li> +<li><a href="IFluidHandler.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>Field | </li> +<li>Constr | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </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.minecraftforge.fluids</div> +<h2 title="Interface IFluidHandler" class="title">Interface IFluidHandler</h2> +</div> +<div class="contentContainer"> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Known Implementing Classes:</dt> +<dd><a href="../../../net/minecraftforge/fluids/TileFluidHandler.html" title="class in net.minecraftforge.fluids">TileFluidHandler</a></dd> +</dl> +<hr> +<br> +<pre>public interface <span class="strong">IFluidHandler</span></pre> +<div class="block">Implement this interface on TileEntities which should handle fluids, generally storing them in + one or more internal <a href="../../../net/minecraftforge/fluids/IFluidTank.html" title="interface in net.minecraftforge.fluids"><code>IFluidTank</code></a> objects. + + A reference implementation is provided <a href="../../../net/minecraftforge/fluids/TileFluidHandler.html" title="class in net.minecraftforge.fluids"><code>TileFluidHandler</code></a>.</div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========== 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/minecraftforge/fluids/IFluidHandler.html#canDrain(net.minecraftforge.common.util.ForgeDirection,%20net.minecraftforge.fluids.Fluid)">canDrain</a></strong>(<a href="../../../net/minecraftforge/common/util/ForgeDirection.html" title="enum in net.minecraftforge.common.util">ForgeDirection</a> from, + <a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> fluid)</code> +<div class="block">Returns true if the given fluid can be extracted from the given direction.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/IFluidHandler.html#canFill(net.minecraftforge.common.util.ForgeDirection,%20net.minecraftforge.fluids.Fluid)">canFill</a></strong>(<a href="../../../net/minecraftforge/common/util/ForgeDirection.html" title="enum in net.minecraftforge.common.util">ForgeDirection</a> from, + <a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> fluid)</code> +<div class="block">Returns true if the given fluid can be inserted into the given direction.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/IFluidHandler.html#drain(net.minecraftforge.common.util.ForgeDirection,%20net.minecraftforge.fluids.FluidStack,%20boolean)">drain</a></strong>(<a href="../../../net/minecraftforge/common/util/ForgeDirection.html" title="enum in net.minecraftforge.common.util">ForgeDirection</a> from, + <a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> resource, + boolean doDrain)</code> +<div class="block">Drains fluid out of internal tanks, distribution is left entirely to the IFluidHandler.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/IFluidHandler.html#drain(net.minecraftforge.common.util.ForgeDirection,%20int,%20boolean)">drain</a></strong>(<a href="../../../net/minecraftforge/common/util/ForgeDirection.html" title="enum in net.minecraftforge.common.util">ForgeDirection</a> from, + int maxDrain, + boolean doDrain)</code> +<div class="block">Drains fluid out of internal tanks, distribution is left entirely to the IFluidHandler.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/IFluidHandler.html#fill(net.minecraftforge.common.util.ForgeDirection,%20net.minecraftforge.fluids.FluidStack,%20boolean)">fill</a></strong>(<a href="../../../net/minecraftforge/common/util/ForgeDirection.html" title="enum in net.minecraftforge.common.util">ForgeDirection</a> from, + <a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> resource, + boolean doFill)</code> +<div class="block">Fills fluid into internal tanks, distribution is left entirely to the IFluidHandler.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/fluids/FluidTankInfo.html" title="class in net.minecraftforge.fluids">FluidTankInfo</a>[]</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/IFluidHandler.html#getTankInfo(net.minecraftforge.common.util.ForgeDirection)">getTankInfo</a></strong>(<a href="../../../net/minecraftforge/common/util/ForgeDirection.html" title="enum in net.minecraftforge.common.util">ForgeDirection</a> from)</code> +<div class="block">Returns an array of objects which represent the internal tanks.</div> +</td> +</tr> +</table> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="fill(net.minecraftforge.common.util.ForgeDirection, net.minecraftforge.fluids.FluidStack, boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>fill</h4> +<pre>int fill(<a href="../../../net/minecraftforge/common/util/ForgeDirection.html" title="enum in net.minecraftforge.common.util">ForgeDirection</a> from, + <a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> resource, + boolean doFill)</pre> +<div class="block">Fills fluid into internal tanks, distribution is left entirely to the IFluidHandler.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>from</code> - Orientation the Fluid is pumped in from.</dd><dd><code>resource</code> - FluidStack representing the Fluid and maximum amount of fluid to be filled.</dd><dd><code>doFill</code> - If false, fill will only be simulated.</dd> +<dt><span class="strong">Returns:</span></dt><dd>Amount of resource that was (or would have been, if simulated) filled.</dd></dl> +</li> +</ul> +<a name="drain(net.minecraftforge.common.util.ForgeDirection, net.minecraftforge.fluids.FluidStack, boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>drain</h4> +<pre><a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> drain(<a href="../../../net/minecraftforge/common/util/ForgeDirection.html" title="enum in net.minecraftforge.common.util">ForgeDirection</a> from, + <a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> resource, + boolean doDrain)</pre> +<div class="block">Drains fluid out of internal tanks, distribution is left entirely to the IFluidHandler.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>from</code> - Orientation the Fluid is drained to.</dd><dd><code>resource</code> - FluidStack representing the Fluid and maximum amount of fluid to be drained.</dd><dd><code>doDrain</code> - If false, drain will only be simulated.</dd> +<dt><span class="strong">Returns:</span></dt><dd>FluidStack representing the Fluid and amount that was (or would have been, if + simulated) drained.</dd></dl> +</li> +</ul> +<a name="drain(net.minecraftforge.common.util.ForgeDirection, int, boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>drain</h4> +<pre><a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> drain(<a href="../../../net/minecraftforge/common/util/ForgeDirection.html" title="enum in net.minecraftforge.common.util">ForgeDirection</a> from, + int maxDrain, + boolean doDrain)</pre> +<div class="block">Drains fluid out of internal tanks, distribution is left entirely to the IFluidHandler. + + This method is not Fluid-sensitive.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>from</code> - Orientation the fluid is drained to.</dd><dd><code>maxDrain</code> - Maximum amount of fluid to drain.</dd><dd><code>doDrain</code> - If false, drain will only be simulated.</dd> +<dt><span class="strong">Returns:</span></dt><dd>FluidStack representing the Fluid and amount that was (or would have been, if + simulated) drained.</dd></dl> +</li> +</ul> +<a name="canFill(net.minecraftforge.common.util.ForgeDirection, net.minecraftforge.fluids.Fluid)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>canFill</h4> +<pre>boolean canFill(<a href="../../../net/minecraftforge/common/util/ForgeDirection.html" title="enum in net.minecraftforge.common.util">ForgeDirection</a> from, + <a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> fluid)</pre> +<div class="block">Returns true if the given fluid can be inserted into the given direction. + + More formally, this should return true if fluid is able to enter from the given direction.</div> +</li> +</ul> +<a name="canDrain(net.minecraftforge.common.util.ForgeDirection, net.minecraftforge.fluids.Fluid)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>canDrain</h4> +<pre>boolean canDrain(<a href="../../../net/minecraftforge/common/util/ForgeDirection.html" title="enum in net.minecraftforge.common.util">ForgeDirection</a> from, + <a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> fluid)</pre> +<div class="block">Returns true if the given fluid can be extracted from the given direction. + + More formally, this should return true if fluid is able to leave from the given direction.</div> +</li> +</ul> +<a name="getTankInfo(net.minecraftforge.common.util.ForgeDirection)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>getTankInfo</h4> +<pre><a href="../../../net/minecraftforge/fluids/FluidTankInfo.html" title="class in net.minecraftforge.fluids">FluidTankInfo</a>[] getTankInfo(<a href="../../../net/minecraftforge/common/util/ForgeDirection.html" title="enum in net.minecraftforge.common.util">ForgeDirection</a> from)</pre> +<div class="block">Returns an array of objects which represent the internal tanks. These objects cannot be used + to manipulate the internal tanks. See <a href="../../../net/minecraftforge/fluids/FluidTankInfo.html" title="class in net.minecraftforge.fluids"><code>FluidTankInfo</code></a>.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>from</code> - Orientation determining which tanks should be queried.</dd> +<dt><span class="strong">Returns:</span></dt><dd>Info for the relevant internal tanks.</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/minecraftforge/fluids/IFluidContainerItem.html" title="interface in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraftforge/fluids/IFluidTank.html" title="interface in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/IFluidHandler.html" target="_top">Frames</a></li> +<li><a href="IFluidHandler.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>Field | </li> +<li>Constr | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/javadoc/net/minecraftforge/fluids/IFluidTank.html b/javadoc/net/minecraftforge/fluids/IFluidTank.html new file mode 100644 index 0000000..9e87672 --- /dev/null +++ b/javadoc/net/minecraftforge/fluids/IFluidTank.html @@ -0,0 +1,295 @@ +<!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:17 EST 2015 --> +<title>IFluidTank (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="IFluidTank (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/minecraftforge/fluids/IFluidHandler.html" title="interface in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraftforge/fluids/ItemFluidContainer.html" title="class in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/IFluidTank.html" target="_top">Frames</a></li> +<li><a href="IFluidTank.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>Field | </li> +<li>Constr | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </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.minecraftforge.fluids</div> +<h2 title="Interface IFluidTank" class="title">Interface IFluidTank</h2> +</div> +<div class="contentContainer"> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Known Implementing Classes:</dt> +<dd><a href="../../../net/minecraftforge/fluids/FluidTank.html" title="class in net.minecraftforge.fluids">FluidTank</a></dd> +</dl> +<hr> +<br> +<pre>public interface <span class="strong">IFluidTank</span></pre> +<div class="block">A tank is the unit of interaction with Fluid inventories. + + A reference implementation can be found at <a href="../../../net/minecraftforge/fluids/FluidTank.html" title="class in net.minecraftforge.fluids"><code>FluidTank</code></a>.</div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========== 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><a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/IFluidTank.html#drain(int,%20boolean)">drain</a></strong>(int maxDrain, + boolean doDrain)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/IFluidTank.html#fill(net.minecraftforge.fluids.FluidStack,%20boolean)">fill</a></strong>(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> resource, + boolean doFill)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/IFluidTank.html#getCapacity()">getCapacity</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/IFluidTank.html#getFluid()">getFluid</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/IFluidTank.html#getFluidAmount()">getFluidAmount</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/fluids/FluidTankInfo.html" title="class in net.minecraftforge.fluids">FluidTankInfo</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/IFluidTank.html#getInfo()">getInfo</a></strong>()</code> +<div class="block">Returns a wrapper object <a href="../../../net/minecraftforge/fluids/FluidTankInfo.html" title="class in net.minecraftforge.fluids"><code>FluidTankInfo</code></a> containing the capacity of the tank and the + FluidStack it holds.</div> +</td> +</tr> +</table> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="getFluid()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getFluid</h4> +<pre><a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> getFluid()</pre> +<dl><dt><span class="strong">Returns:</span></dt><dd>FluidStack representing the fluid in the tank, null if the tank is empty.</dd></dl> +</li> +</ul> +<a name="getFluidAmount()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getFluidAmount</h4> +<pre>int getFluidAmount()</pre> +<dl><dt><span class="strong">Returns:</span></dt><dd>Current amount of fluid in the tank.</dd></dl> +</li> +</ul> +<a name="getCapacity()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getCapacity</h4> +<pre>int getCapacity()</pre> +<dl><dt><span class="strong">Returns:</span></dt><dd>Capacity of this fluid tank.</dd></dl> +</li> +</ul> +<a name="getInfo()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getInfo</h4> +<pre><a href="../../../net/minecraftforge/fluids/FluidTankInfo.html" title="class in net.minecraftforge.fluids">FluidTankInfo</a> getInfo()</pre> +<div class="block">Returns a wrapper object <a href="../../../net/minecraftforge/fluids/FluidTankInfo.html" title="class in net.minecraftforge.fluids"><code>FluidTankInfo</code></a> containing the capacity of the tank and the + FluidStack it holds. + + Should prevent manipulation of the IFluidTank. See <a href="../../../net/minecraftforge/fluids/FluidTank.html" title="class in net.minecraftforge.fluids"><code>FluidTank</code></a>.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd>State information for the IFluidTank.</dd></dl> +</li> +</ul> +<a name="fill(net.minecraftforge.fluids.FluidStack, boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>fill</h4> +<pre>int fill(<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> resource, + boolean doFill)</pre> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>resource</code> - FluidStack attempting to fill the tank.</dd><dd><code>doFill</code> - If false, the fill will only be simulated.</dd> +<dt><span class="strong">Returns:</span></dt><dd>Amount of fluid that was accepted by the tank.</dd></dl> +</li> +</ul> +<a name="drain(int, boolean)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>drain</h4> +<pre><a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> drain(int maxDrain, + boolean doDrain)</pre> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>maxDrain</code> - Maximum amount of fluid to be removed from the container.</dd><dd><code>doFill</code> - If false, the fill will only be simulated.</dd> +<dt><span class="strong">Returns:</span></dt><dd>Amount of fluid that was removed from the tank.</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/minecraftforge/fluids/IFluidHandler.html" title="interface in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraftforge/fluids/ItemFluidContainer.html" title="class in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/IFluidTank.html" target="_top">Frames</a></li> +<li><a href="IFluidTank.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>Field | </li> +<li>Constr | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/javadoc/net/minecraftforge/fluids/ItemFluidContainer.html b/javadoc/net/minecraftforge/fluids/ItemFluidContainer.html new file mode 100644 index 0000000..f9e01a3 --- /dev/null +++ b/javadoc/net/minecraftforge/fluids/ItemFluidContainer.html @@ -0,0 +1,426 @@ +<!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:17 EST 2015 --> +<title>ItemFluidContainer (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="ItemFluidContainer (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/minecraftforge/fluids/IFluidTank.html" title="interface in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraftforge/fluids/RenderBlockFluid.html" title="class in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/ItemFluidContainer.html" target="_top">Frames</a></li> +<li><a href="ItemFluidContainer.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_classes_inherited_from_class_net.minecraft.item.Item">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.minecraftforge.fluids</div> +<h2 title="Class ItemFluidContainer" class="title">Class ItemFluidContainer</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li><a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">net.minecraft.item.Item</a></li> +<li> +<ul class="inheritance"> +<li>net.minecraftforge.fluids.ItemFluidContainer</li> +</ul> +</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Implemented Interfaces:</dt> +<dd><a href="../../../net/minecraftforge/fluids/IFluidContainerItem.html" title="interface in net.minecraftforge.fluids">IFluidContainerItem</a></dd> +</dl> +<hr> +<br> +<pre>public class <span class="strong">ItemFluidContainer</span> +extends <a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a> +implements <a href="../../../net/minecraftforge/fluids/IFluidContainerItem.html" title="interface in net.minecraftforge.fluids">IFluidContainerItem</a></pre> +<div class="block">Reference implementation of <a href="../../../net/minecraftforge/fluids/IFluidContainerItem.html" title="interface in net.minecraftforge.fluids"><code>IFluidContainerItem</code></a>. Use/extend this or implement your own.</div> +</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> +<ul class="blockList"> +<li class="blockList"><a name="nested_classes_inherited_from_class_net.minecraft.item.Item"> +<!-- --> +</a> +<h3>Nested classes/interfaces inherited from class net.minecraft.item.<a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a></h3> +<code><a href="../../../net/minecraft/item/Item.ToolMaterial.html" title="enum in net.minecraft.item">Item.ToolMaterial</a></code></li> +</ul> +</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 int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/ItemFluidContainer.html#capacity">capacity</a></strong></code> </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="fields_inherited_from_class_net.minecraft.item.Item"> +<!-- --> +</a> +<h3>Fields inherited from class net.minecraft.item.<a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a></h3> +<code><a href="../../../net/minecraft/item/Item.html#bFull3D">bFull3D</a>, <a href="../../../net/minecraft/item/Item.html#canRepair">canRepair</a>, <a href="../../../net/minecraft/item/Item.html#delegate">delegate</a>, <a href="../../../net/minecraft/item/Item.html#field_111210_e">field_111210_e</a>, <a href="../../../net/minecraft/item/Item.html#hasSubtypes">hasSubtypes</a>, <a href="../../../net/minecraft/item/Item.html#iconString">iconString</a>, <a href="../../../net/minecraft/item/Item.html#itemIcon">itemIcon</a>, <a href="../../../net/minecraft/item/Item.html#itemRand">itemRand</a>, <a href="../../../net/minecraft/item/Item.html#itemRegistry">itemRegistry</a>, <a href="../../../net/minecraft/item/Item.html#maxStackSize">maxStackSize</a></code></li> +</ul> +</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/minecraftforge/fluids/ItemFluidContainer.html#ItemFluidContainer(int)">ItemFluidContainer</a></strong>(int itemID)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colOne"><code><strong><a href="../../../net/minecraftforge/fluids/ItemFluidContainer.html#ItemFluidContainer(int,%20int)">ItemFluidContainer</a></strong>(int itemID, + int capacity)</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><a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/ItemFluidContainer.html#drain(net.minecraft.item.ItemStack,%20int,%20boolean)">drain</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> container, + int maxDrain, + boolean doDrain)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/ItemFluidContainer.html#fill(net.minecraft.item.ItemStack,%20net.minecraftforge.fluids.FluidStack,%20boolean)">fill</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> container, + <a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> resource, + boolean doFill)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/ItemFluidContainer.html#getCapacity(net.minecraft.item.ItemStack)">getCapacity</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> container)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/ItemFluidContainer.html#getFluid(net.minecraft.item.ItemStack)">getFluid</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> container)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/fluids/ItemFluidContainer.html" title="class in net.minecraftforge.fluids">ItemFluidContainer</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/ItemFluidContainer.html#setCapacity(int)">setCapacity</a></strong>(int capacity)</code> </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_net.minecraft.item.Item"> +<!-- --> +</a> +<h3>Methods inherited from class net.minecraft.item.<a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a></h3> +<code><a href="../../../net/minecraft/item/Item.html#addInformation(net.minecraft.item.ItemStack,%20net.minecraft.entity.player.EntityPlayer,%20java.util.List,%20boolean)">addInformation</a>, <a href="../../../net/minecraft/item/Item.html#canHarvestBlock(net.minecraft.block.Block,%20net.minecraft.item.ItemStack)">canHarvestBlock</a>, <a href="../../../net/minecraft/item/Item.html#canItemEditBlocks()">canItemEditBlocks</a>, <a href="../../../net/minecraft/item/Item.html#createEntity(net.minecraft.world.World,%20net.minecraft.entity.Entity,%20net.minecraft.item.ItemStack)">createEntity</a>, <a href="../../../net/minecraft/item/Item.html#doesContainerItemLeaveCraftingGrid(net.minecraft.item.ItemStack)">doesContainerItemLeaveCraftingGrid</a>, <a href="../../../net/minecraft/item/Item.html#doesSneakBypassUse(net.minecraft.world.World,%20int,%20int,%20int,%20net.minecraft.entity.player.EntityPlayer)">doesSneakBypassUse</a>, <a href="../../../net/minecraft/item/Item.html#func_150893_a(net.minecraft.item.ItemStack,%20net.minecraft.block.Block)">func_150893_a</a>, <a href="../../../net/minecraft/item/Item.html#func_150897_b(net.minecraft.block.Block)">func_150897_b</a>, <a href="../../../net/minecraft/item/Item.html#getArmorModel(net.minecraft.entity.EntityLivingBase,%20net.minecraft.item.ItemStack,%20int)">getArmorModel</a>, <a href="../../../net/minecraft/item/Item.html#getArmorTexture(net.minecraft.item.ItemStack,%20net.minecraft.entity.Entity,%20int,%20java.lang.String)">getArmorTexture</a>, <a href="../../../net/minecraft/item/Item.html#getAttributeModifiers(net.minecraft.item.ItemStack)">getAttributeModifiers</a>, <a href="../../../net/minecraft/item/Item.html#getChestGenBase(net.minecraftforge.common.ChestGenHooks,%20java.util.Random,%20net.minecraft.util.WeightedRandomChestContent)">getChestGenBase</a>, <a href="../../../net/minecraft/item/Item.html#getColorFromItemStack(net.minecraft.item.ItemStack,%20int)">getColorFromItemStack</a>, <a href="../../../net/minecraft/item/Item.html#getContainerItem()">getContainerItem</a>, <a href="../../../net/minecraft/item/Item.html#getContainerItem(net.minecraft.item.ItemStack)">getContainerItem</a>, <a href="../../../net/minecraft/item/Item.html#getCreativeTab()">getCreativeTab</a>, <a href="../../../net/minecraft/item/Item.html#getCreativeTabs()">getCreativeTabs</a>, <a href="../../../net/minecraft/item/Item.html#getDamage(net.minecraft.item.ItemStack)">getDamage</a>, <a href="../../../net/minecraft/item/Item.html#getDigSpeed(net.minecraft.item.ItemStack,%20net.minecraft.block.Block,%20int)">getDigSpeed</a>, <a href="../../../net/minecraft/item/Item.html#getDisplayDamage(net.minecraft.item.ItemStack)">getDisplayDamage</a>, <a href="../../../net/minecraft/item/Item.html#getDurabilityForDisplay(net.minecraft.item.ItemStack)">getDurabilityForDisplay</a>, <a href="../../../net/minecraft/item/Item.html#getEntityLifespan(net.minecraft.item.ItemStack,%20net.minecraft.world.World)">getEntityLifespan</a>, <a href="../../../net/minecraft/item/Item.html#getFontRenderer(net.minecraft.item.ItemStack)">getFontRenderer</a>, <a href="../../../net/minecraft/item/Item.html#getHarvestLevel(net.minecraft.item.ItemStack,%20java.lang.String)">getHarvestLevel</a>, <a href="../../../net/minecraft/item/Item.html#getHasSubtypes()">getHasSubtypes</a>, <a href="../../../net/minecraft/item/Item.html#getIcon(net.minecraft.item.ItemStack,%20int)">getIcon</a>, <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>, <a href="../../../net/minecraft/item/Item.html#getIconFromDamage(int)">getIconFromDamage</a>, <a href="../../../net/minecraft/item/Item.html#getIconFromDamageForRenderPass(int,%20int)">getIconFromDamageForRenderPass</a>, <a href="../../../net/minecraft/item/Item.html#getIconIndex(net.minecraft.item.ItemStack)">getIconIndex</a>, <a href="../../../net/minecraft/item/Item.html#getIconString()">getIconString</a>, <a href="../../../net/minecraft/item/Item.html#getIdFromItem(net.minecraft.item.Item)">getIdFromItem</a>, <a href="../../../net/minecraft/item/Item.html#getIsRepairable(net.minecraft.item.ItemStack,%20net.minecraft.item.ItemStack)">getIsRepairable</a>, <a href="../../../net/minecraft/item/Item.html#getItemAttributeModifiers()">getItemAttributeModifiers</a>, <a href="../../../net/minecraft/item/Item.html#getItemById(int)">getItemById</a>, <a href="../../../net/minecraft/item/Item.html#getItemEnchantability()">getItemEnchantability</a>, <a href="../../../net/minecraft/item/Item.html#getItemEnchantability(net.minecraft.item.ItemStack)">getItemEnchantability</a>, <a href="../../../net/minecraft/item/Item.html#getItemFromBlock(net.minecraft.block.Block)">getItemFromBlock</a>, <a href="../../../net/minecraft/item/Item.html#getItemStackDisplayName(net.minecraft.item.ItemStack)">getItemStackDisplayName</a>, <a href="../../../net/minecraft/item/Item.html#getItemStackLimit()">getItemStackLimit</a>, <a href="../../../net/minecraft/item/Item.html#getItemStackLimit(net.minecraft.item.ItemStack)">getItemStackLimit</a>, <a href="../../../net/minecraft/item/Item.html#getItemUseAction(net.minecraft.item.ItemStack)">getItemUseAction</a>, <a href="../../../net/minecraft/item/Item.html#getMaxDamage()">getMaxDamage</a>, <a href="../../../net/minecraft/item/Item.html#getMaxDamage(net.minecraft.item.ItemStack)">getMaxDamage</a>, <a href="../../../net/minecraft/item/Item.html#getMaxItemUseDuration(net.minecraft.item.ItemStack)">getMaxItemUseDuration</a>, <a href="../../../net/minecraft/item/Item.html#getMetadata(int)">getMetadata</a>, <a href="../../../net/minecraft/item/Item.html#getMovingObjectPositionFromPlayer(net.minecraft.world.World,%20net.minecraft.entity.player.EntityPlayer,%20boolean)">getMovingObjectPositionFromPlayer</a>, <a href="../../../net/minecraft/item/Item.html#getPotionEffect(net.minecraft.item.ItemStack)">getPotionEffect</a>, <a href="../../../net/minecraft/item/Item.html#getRarity(net.minecraft.item.ItemStack)">getRarity</a>, <a href="../../../net/minecraft/item/Item.html#getRenderPasses(int)">getRenderPasses</a>, <a href="../../../net/minecraft/item/Item.html#getShareTag()">getShareTag</a>, <a href="../../../net/minecraft/item/Item.html#getSmeltingExperience(net.minecraft.item.ItemStack)">getSmeltingExperience</a>, <a href="../../../net/minecraft/item/Item.html#getSpriteNumber()">getSpriteNumber</a>, <a href="../../../net/minecraft/item/Item.html#getSubItems(net.minecraft.item.Item,%20net.minecraft.creativetab.CreativeTabs,%20java.util.List)">getSubItems</a>, <a href="../../../net/minecraft/item/Item.html#getToolClasses(net.minecraft.item.ItemStack)">getToolClasses</a>, <a href="../../../net/minecraft/item/Item.html#getUnlocalizedName()">getUnlocalizedName</a>, <a href="../../../net/minecraft/item/Item.html#getUnlocalizedName(net.minecraft.item.ItemStack)">getUnlocalizedName</a>, <a href="../../../net/minecraft/item/Item.html#getUnlocalizedNameInefficiently(net.minecraft.item.ItemStack)">getUnlocalizedNameInefficiently</a>, <a href="../../../net/minecraft/item/Item.html#hasContainerItem()">hasContainerItem</a>, <a href="../../../net/minecraft/item/Item.html#hasContainerItem(net.minecraft.item.ItemStack)">hasContainerItem</a>, <a href="../../../net/minecraft/item/Item.html#hasCustomEntity(net.minecraft.item.ItemStack)">hasCustomEntity</a>, <a href="../../../net/minecraft/item/Item.html#hasEffect(net.minecraft.item.ItemStack)">hasEffect</a>, <a href="../../../net/minecraft/item/Item.html#hasEffect(net.minecraft.item.ItemStack,%20int)">hasEffect</a>, <a href="../../../net/minecraft/item/Item.html#hitEntity(net.minecraft.item.ItemStack,%20net.minecraft.entity.EntityLivingBase,%20net.minecraft.entity.EntityLivingBase)">hitEntity</a>, <a href="../../../net/minecraft/item/Item.html#isBeaconPayment(net.minecraft.item.ItemStack)">isBeaconPayment</a>, <a href="../../../net/minecraft/item/Item.html#isBookEnchantable(net.minecraft.item.ItemStack,%20net.minecraft.item.ItemStack)">isBookEnchantable</a>, <a href="../../../net/minecraft/item/Item.html#isDamageable()">isDamageable</a>, <a href="../../../net/minecraft/item/Item.html#isDamaged(net.minecraft.item.ItemStack)">isDamaged</a>, <a href="../../../net/minecraft/item/Item.html#isFull3D()">isFull3D</a>, <a href="../../../net/minecraft/item/Item.html#isItemTool(net.minecraft.item.ItemStack)">isItemTool</a>, <a href="../../../net/minecraft/item/Item.html#isMap()">isMap</a>, <a href="../../../net/minecraft/item/Item.html#isPotionIngredient(net.minecraft.item.ItemStack)">isPotionIngredient</a>, <a href="../../../net/minecraft/item/Item.html#isRepairable()">isRepairable</a>, <a href="../../../net/minecraft/item/Item.html#isValidArmor(net.minecraft.item.ItemStack,%20int,%20net.minecraft.entity.Entity)">isValidArmor</a>, <a href="../../../net/minecraft/item/Item.html#itemInteractionForEntity(net.minecraft.item.ItemStack,%20net.minecraft.entity.player.EntityPlayer,%20net.minecraft.entity.EntityLivingBase)">itemInteractionForEntity</a>, <a href="../../../net/minecraft/item/Item.html#onArmorTick(net.minecraft.world.World,%20net.minecraft.entity.player.EntityPlayer,%20net.minecraft.item.ItemStack)">onArmorTick</a>, <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>, <a href="../../../net/minecraft/item/Item.html#onBlockStartBreak(net.minecraft.item.ItemStack,%20int,%20int,%20int,%20net.minecraft.entity.player.EntityPlayer)">onBlockStartBreak</a>, <a href="../../../net/minecraft/item/Item.html#onCreated(net.minecraft.item.ItemStack,%20net.minecraft.world.World,%20net.minecraft.entity.player.EntityPlayer)">onCreated</a>, <a href="../../../net/minecraft/item/Item.html#onDroppedByPlayer(net.minecraft.item.ItemStack,%20net.minecraft.entity.player.EntityPlayer)">onDroppedByPlayer</a>, <a href="../../../net/minecraft/item/Item.html#onEaten(net.minecraft.item.ItemStack,%20net.minecraft.world.World,%20net.minecraft.entity.player.EntityPlayer)">onEaten</a>, <a href="../../../net/minecraft/item/Item.html#onEntityItemUpdate(net.minecraft.entity.item.EntityItem)">onEntityItemUpdate</a>, <a href="../../../net/minecraft/item/Item.html#onEntitySwing(net.minecraft.entity.EntityLivingBase,%20net.minecraft.item.ItemStack)">onEntitySwing</a>, <a href="../../../net/minecraft/item/Item.html#onItemRightClick(net.minecraft.item.ItemStack,%20net.minecraft.world.World,%20net.minecraft.entity.player.EntityPlayer)">onItemRightClick</a>, <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>, <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>, <a href="../../../net/minecraft/item/Item.html#onLeftClickEntity(net.minecraft.item.ItemStack,%20net.minecraft.entity.player.EntityPlayer,%20net.minecraft.entity.Entity)">onLeftClickEntity</a>, <a href="../../../net/minecraft/item/Item.html#onPlayerStoppedUsing(net.minecraft.item.ItemStack,%20net.minecraft.world.World,%20net.minecraft.entity.player.EntityPlayer,%20int)">onPlayerStoppedUsing</a>, <a href="../../../net/minecraft/item/Item.html#onUpdate(net.minecraft.item.ItemStack,%20net.minecraft.world.World,%20net.minecraft.entity.Entity,%20int,%20boolean)">onUpdate</a>, <a href="../../../net/minecraft/item/Item.html#onUsingTick(net.minecraft.item.ItemStack,%20net.minecraft.entity.player.EntityPlayer,%20int)">onUsingTick</a>, <a href="../../../net/minecraft/item/Item.html#registerIcons(net.minecraft.client.renderer.texture.IIconRegister)">registerIcons</a>, <a href="../../../net/minecraft/item/Item.html#registerItems()">registerItems</a>, <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>, <a href="../../../net/minecraft/item/Item.html#requiresMultipleRenderPasses()">requiresMultipleRenderPasses</a>, <a href="../../../net/minecraft/item/Item.html#setContainerItem(net.minecraft.item.Item)">setContainerItem</a>, <a href="../../../net/minecraft/item/Item.html#setCreativeTab(net.minecraft.creativetab.CreativeTabs)">setCreativeTab</a>, <a href="../../../net/minecraft/item/Item.html#setDamage(net.minecraft.item.ItemStack,%20int)">setDamage</a>, <a href="../../../net/minecraft/item/Item.html#setFull3D()">setFull3D</a>, <a href="../../../net/minecraft/item/Item.html#setHarvestLevel(java.lang.String,%20int)">setHarvestLevel</a>, <a href="../../../net/minecraft/item/Item.html#setHasSubtypes(boolean)">setHasSubtypes</a>, <a href="../../../net/minecraft/item/Item.html#setMaxDamage(int)">setMaxDamage</a>, <a href="../../../net/minecraft/item/Item.html#setMaxStackSize(int)">setMaxStackSize</a>, <a href="../../../net/minecraft/item/Item.html#setNoRepair()">setNoRepair</a>, <a href="../../../net/minecraft/item/Item.html#setPotionEffect(java.lang.String)">setPotionEffect</a>, <a href="../../../net/minecraft/item/Item.html#setTextureName(java.lang.String)">setTextureName</a>, <a href="../../../net/minecraft/item/Item.html#setUnlocalizedName(java.lang.String)">setUnlocalizedName</a>, <a href="../../../net/minecraft/item/Item.html#shouldRotateAroundWhenRendering()">shouldRotateAroundWhenRendering</a>, <a href="../../../net/minecraft/item/Item.html#showDurabilityBar(net.minecraft.item.ItemStack)">showDurabilityBar</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>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="capacity"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>capacity</h4> +<pre>protected int capacity</pre> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="ItemFluidContainer(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>ItemFluidContainer</h4> +<pre>public ItemFluidContainer(int itemID)</pre> +</li> +</ul> +<a name="ItemFluidContainer(int, int)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>ItemFluidContainer</h4> +<pre>public ItemFluidContainer(int itemID, + int capacity)</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="setCapacity(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setCapacity</h4> +<pre>public <a href="../../../net/minecraftforge/fluids/ItemFluidContainer.html" title="class in net.minecraftforge.fluids">ItemFluidContainer</a> setCapacity(int capacity)</pre> +</li> +</ul> +<a name="getFluid(net.minecraft.item.ItemStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getFluid</h4> +<pre>public <a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> getFluid(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> container)</pre> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../net/minecraftforge/fluids/IFluidContainerItem.html#getFluid(net.minecraft.item.ItemStack)">getFluid</a></code> in interface <code><a href="../../../net/minecraftforge/fluids/IFluidContainerItem.html" title="interface in net.minecraftforge.fluids">IFluidContainerItem</a></code></dd> +<dt><span class="strong">Parameters:</span></dt><dd><code>container</code> - ItemStack which is the fluid container.</dd> +<dt><span class="strong">Returns:</span></dt><dd>FluidStack representing the fluid in the container, null if the container is empty.</dd></dl> +</li> +</ul> +<a name="getCapacity(net.minecraft.item.ItemStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getCapacity</h4> +<pre>public int getCapacity(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> container)</pre> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../net/minecraftforge/fluids/IFluidContainerItem.html#getCapacity(net.minecraft.item.ItemStack)">getCapacity</a></code> in interface <code><a href="../../../net/minecraftforge/fluids/IFluidContainerItem.html" title="interface in net.minecraftforge.fluids">IFluidContainerItem</a></code></dd> +<dt><span class="strong">Parameters:</span></dt><dd><code>container</code> - ItemStack which is the fluid container.</dd> +<dt><span class="strong">Returns:</span></dt><dd>Capacity of this fluid container.</dd></dl> +</li> +</ul> +<a name="fill(net.minecraft.item.ItemStack, net.minecraftforge.fluids.FluidStack, boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>fill</h4> +<pre>public int fill(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> container, + <a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> resource, + boolean doFill)</pre> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../net/minecraftforge/fluids/IFluidContainerItem.html#fill(net.minecraft.item.ItemStack,%20net.minecraftforge.fluids.FluidStack,%20boolean)">fill</a></code> in interface <code><a href="../../../net/minecraftforge/fluids/IFluidContainerItem.html" title="interface in net.minecraftforge.fluids">IFluidContainerItem</a></code></dd> +<dt><span class="strong">Parameters:</span></dt><dd><code>container</code> - ItemStack which is the fluid container.</dd><dd><code>resource</code> - FluidStack attempting to fill the container.</dd><dd><code>doFill</code> - If false, the fill will only be simulated.</dd> +<dt><span class="strong">Returns:</span></dt><dd>Amount of fluid that was (or would have been, if simulated) filled into the + container.</dd></dl> +</li> +</ul> +<a name="drain(net.minecraft.item.ItemStack, int, boolean)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>drain</h4> +<pre>public <a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> drain(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> container, + int maxDrain, + boolean doDrain)</pre> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../net/minecraftforge/fluids/IFluidContainerItem.html#drain(net.minecraft.item.ItemStack,%20int,%20boolean)">drain</a></code> in interface <code><a href="../../../net/minecraftforge/fluids/IFluidContainerItem.html" title="interface in net.minecraftforge.fluids">IFluidContainerItem</a></code></dd> +<dt><span class="strong">Parameters:</span></dt><dd><code>container</code> - ItemStack which is the fluid container.</dd><dd><code>maxDrain</code> - Maximum amount of fluid to be removed from the container.</dd> +<dt><span class="strong">Returns:</span></dt><dd>Amount of fluid that was (or would have been, if simulated) drained from the + container.</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/minecraftforge/fluids/IFluidTank.html" title="interface in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraftforge/fluids/RenderBlockFluid.html" title="class in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/ItemFluidContainer.html" target="_top">Frames</a></li> +<li><a href="ItemFluidContainer.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_classes_inherited_from_class_net.minecraft.item.Item">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> diff --git a/javadoc/net/minecraftforge/fluids/RenderBlockFluid.html b/javadoc/net/minecraftforge/fluids/RenderBlockFluid.html new file mode 100644 index 0000000..e4dae0f --- /dev/null +++ b/javadoc/net/minecraftforge/fluids/RenderBlockFluid.html @@ -0,0 +1,403 @@ +<!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:17 EST 2015 --> +<title>RenderBlockFluid (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="RenderBlockFluid (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/minecraftforge/fluids/ItemFluidContainer.html" title="class in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraftforge/fluids/TileFluidHandler.html" title="class in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/RenderBlockFluid.html" target="_top">Frames</a></li> +<li><a href="RenderBlockFluid.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.minecraftforge.fluids</div> +<h2 title="Class RenderBlockFluid" class="title">Class RenderBlockFluid</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>net.minecraftforge.fluids.RenderBlockFluid</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Implemented Interfaces:</dt> +<dd><a href="../../../cpw/mods/fml/client/registry/ISimpleBlockRenderingHandler.html" title="interface in cpw.mods.fml.client.registry">ISimpleBlockRenderingHandler</a></dd> +</dl> +<hr> +<br> +<pre>public class <span class="strong">RenderBlockFluid</span> +extends java.lang.Object +implements <a href="../../../cpw/mods/fml/client/registry/ISimpleBlockRenderingHandler.html" title="interface in cpw.mods.fml.client.registry">ISimpleBlockRenderingHandler</a></pre> +<div class="block">Default renderer for Forge fluid blocks.</div> +</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>static <a href="../../../net/minecraftforge/fluids/RenderBlockFluid.html" title="class in net.minecraftforge.fluids">RenderBlockFluid</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/RenderBlockFluid.html#instance">instance</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/minecraftforge/fluids/RenderBlockFluid.html#RenderBlockFluid()">RenderBlockFluid</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>float</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/RenderBlockFluid.html#getFluidHeightAverage(float[])">getFluidHeightAverage</a></strong>(float[] flow)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>float</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/RenderBlockFluid.html#getFluidHeightForRender(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20net.minecraftforge.fluids.BlockFluidBase)">getFluidHeightForRender</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z, + <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html" title="class in net.minecraftforge.fluids">BlockFluidBase</a> block)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/RenderBlockFluid.html#getRenderId()">getRenderId</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/RenderBlockFluid.html#renderInventoryBlock(net.minecraft.block.Block,%20int,%20int,%20net.minecraft.client.renderer.RenderBlocks)">renderInventoryBlock</a></strong>(<a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> block, + int metadata, + int modelID, + <a href="../../../net/minecraft/client/renderer/RenderBlocks.html" title="class in net.minecraft.client.renderer">RenderBlocks</a> renderer)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/RenderBlockFluid.html#renderWorldBlock(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20net.minecraft.block.Block,%20int,%20net.minecraft.client.renderer.RenderBlocks)">renderWorldBlock</a></strong>(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z, + <a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> block, + int modelId, + <a href="../../../net/minecraft/client/renderer/RenderBlocks.html" title="class in net.minecraft.client.renderer">RenderBlocks</a> renderer)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/RenderBlockFluid.html#shouldRender3DInInventory(int)">shouldRender3DInInventory</a></strong>(int modelId)</code> </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="instance"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>instance</h4> +<pre>public static <a href="../../../net/minecraftforge/fluids/RenderBlockFluid.html" title="class in net.minecraftforge.fluids">RenderBlockFluid</a> instance</pre> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="RenderBlockFluid()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>RenderBlockFluid</h4> +<pre>public RenderBlockFluid()</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="getFluidHeightAverage(float[])"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getFluidHeightAverage</h4> +<pre>public float getFluidHeightAverage(float[] flow)</pre> +</li> +</ul> +<a name="getFluidHeightForRender(net.minecraft.world.IBlockAccess, int, int, int, net.minecraftforge.fluids.BlockFluidBase)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getFluidHeightForRender</h4> +<pre>public float getFluidHeightForRender(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z, + <a href="../../../net/minecraftforge/fluids/BlockFluidBase.html" title="class in net.minecraftforge.fluids">BlockFluidBase</a> block)</pre> +</li> +</ul> +<a name="renderInventoryBlock(net.minecraft.block.Block, int, int, net.minecraft.client.renderer.RenderBlocks)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>renderInventoryBlock</h4> +<pre>public void renderInventoryBlock(<a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> block, + int metadata, + int modelID, + <a href="../../../net/minecraft/client/renderer/RenderBlocks.html" title="class in net.minecraft.client.renderer">RenderBlocks</a> renderer)</pre> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../cpw/mods/fml/client/registry/ISimpleBlockRenderingHandler.html#renderInventoryBlock(net.minecraft.block.Block,%20int,%20int,%20net.minecraft.client.renderer.RenderBlocks)">renderInventoryBlock</a></code> in interface <code><a href="../../../cpw/mods/fml/client/registry/ISimpleBlockRenderingHandler.html" title="interface in cpw.mods.fml.client.registry">ISimpleBlockRenderingHandler</a></code></dd> +</dl> +</li> +</ul> +<a name="renderWorldBlock(net.minecraft.world.IBlockAccess, int, int, int, net.minecraft.block.Block, int, net.minecraft.client.renderer.RenderBlocks)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>renderWorldBlock</h4> +<pre>public boolean renderWorldBlock(<a href="../../../net/minecraft/world/IBlockAccess.html" title="interface in net.minecraft.world">IBlockAccess</a> world, + int x, + int y, + int z, + <a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> block, + int modelId, + <a href="../../../net/minecraft/client/renderer/RenderBlocks.html" title="class in net.minecraft.client.renderer">RenderBlocks</a> renderer)</pre> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../cpw/mods/fml/client/registry/ISimpleBlockRenderingHandler.html#renderWorldBlock(net.minecraft.world.IBlockAccess,%20int,%20int,%20int,%20net.minecraft.block.Block,%20int,%20net.minecraft.client.renderer.RenderBlocks)">renderWorldBlock</a></code> in interface <code><a href="../../../cpw/mods/fml/client/registry/ISimpleBlockRenderingHandler.html" title="interface in cpw.mods.fml.client.registry">ISimpleBlockRenderingHandler</a></code></dd> +</dl> +</li> +</ul> +<a name="shouldRender3DInInventory(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>shouldRender3DInInventory</h4> +<pre>public boolean shouldRender3DInInventory(int modelId)</pre> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../cpw/mods/fml/client/registry/ISimpleBlockRenderingHandler.html#shouldRender3DInInventory(int)">shouldRender3DInInventory</a></code> in interface <code><a href="../../../cpw/mods/fml/client/registry/ISimpleBlockRenderingHandler.html" title="interface in cpw.mods.fml.client.registry">ISimpleBlockRenderingHandler</a></code></dd> +</dl> +</li> +</ul> +<a name="getRenderId()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>getRenderId</h4> +<pre>public int getRenderId()</pre> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../cpw/mods/fml/client/registry/ISimpleBlockRenderingHandler.html#getRenderId()">getRenderId</a></code> in interface <code><a href="../../../cpw/mods/fml/client/registry/ISimpleBlockRenderingHandler.html" title="interface in cpw.mods.fml.client.registry">ISimpleBlockRenderingHandler</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><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/minecraftforge/fluids/ItemFluidContainer.html" title="class in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../net/minecraftforge/fluids/TileFluidHandler.html" title="class in net.minecraftforge.fluids"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/RenderBlockFluid.html" target="_top">Frames</a></li> +<li><a href="RenderBlockFluid.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> diff --git a/javadoc/net/minecraftforge/fluids/TileFluidHandler.html b/javadoc/net/minecraftforge/fluids/TileFluidHandler.html new file mode 100644 index 0000000..50a53aa --- /dev/null +++ b/javadoc/net/minecraftforge/fluids/TileFluidHandler.html @@ -0,0 +1,491 @@ +<!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:17 EST 2015 --> +<title>TileFluidHandler (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="TileFluidHandler (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/minecraftforge/fluids/RenderBlockFluid.html" title="class in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li>Next Class</li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/TileFluidHandler.html" target="_top">Frames</a></li> +<li><a href="TileFluidHandler.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.minecraftforge.fluids</div> +<h2 title="Class TileFluidHandler" class="title">Class TileFluidHandler</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li><a href="../../../net/minecraft/tileentity/TileEntity.html" title="class in net.minecraft.tileentity">net.minecraft.tileentity.TileEntity</a></li> +<li> +<ul class="inheritance"> +<li>net.minecraftforge.fluids.TileFluidHandler</li> +</ul> +</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Implemented Interfaces:</dt> +<dd><a href="../../../net/minecraftforge/fluids/IFluidHandler.html" title="interface in net.minecraftforge.fluids">IFluidHandler</a></dd> +</dl> +<hr> +<br> +<pre>public class <span class="strong">TileFluidHandler</span> +extends <a href="../../../net/minecraft/tileentity/TileEntity.html" title="class in net.minecraft.tileentity">TileEntity</a> +implements <a href="../../../net/minecraftforge/fluids/IFluidHandler.html" title="interface in net.minecraftforge.fluids">IFluidHandler</a></pre> +<div class="block">Reference Tile Entity implementation of <a href="../../../net/minecraftforge/fluids/IFluidHandler.html" title="interface in net.minecraftforge.fluids"><code>IFluidHandler</code></a>. Use/extend this or write your own.</div> +</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/minecraftforge/fluids/FluidTank.html" title="class in net.minecraftforge.fluids">FluidTank</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/TileFluidHandler.html#tank">tank</a></strong></code> </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="fields_inherited_from_class_net.minecraft.tileentity.TileEntity"> +<!-- --> +</a> +<h3>Fields inherited from class net.minecraft.tileentity.<a href="../../../net/minecraft/tileentity/TileEntity.html" title="class in net.minecraft.tileentity">TileEntity</a></h3> +<code><a href="../../../net/minecraft/tileentity/TileEntity.html#blockMetadata">blockMetadata</a>, <a href="../../../net/minecraft/tileentity/TileEntity.html#blockType">blockType</a>, <a href="../../../net/minecraft/tileentity/TileEntity.html#INFINITE_EXTENT_AABB">INFINITE_EXTENT_AABB</a>, <a href="../../../net/minecraft/tileentity/TileEntity.html#tileEntityInvalid">tileEntityInvalid</a>, <a href="../../../net/minecraft/tileentity/TileEntity.html#worldObj">worldObj</a>, <a href="../../../net/minecraft/tileentity/TileEntity.html#xCoord">xCoord</a>, <a href="../../../net/minecraft/tileentity/TileEntity.html#yCoord">yCoord</a>, <a href="../../../net/minecraft/tileentity/TileEntity.html#zCoord">zCoord</a></code></li> +</ul> +</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/minecraftforge/fluids/TileFluidHandler.html#TileFluidHandler()">TileFluidHandler</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>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/TileFluidHandler.html#canDrain(net.minecraftforge.common.util.ForgeDirection,%20net.minecraftforge.fluids.Fluid)">canDrain</a></strong>(<a href="../../../net/minecraftforge/common/util/ForgeDirection.html" title="enum in net.minecraftforge.common.util">ForgeDirection</a> from, + <a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> fluid)</code> +<div class="block">Returns true if the given fluid can be extracted from the given direction.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/TileFluidHandler.html#canFill(net.minecraftforge.common.util.ForgeDirection,%20net.minecraftforge.fluids.Fluid)">canFill</a></strong>(<a href="../../../net/minecraftforge/common/util/ForgeDirection.html" title="enum in net.minecraftforge.common.util">ForgeDirection</a> from, + <a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> fluid)</code> +<div class="block">Returns true if the given fluid can be inserted into the given direction.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/TileFluidHandler.html#drain(net.minecraftforge.common.util.ForgeDirection,%20net.minecraftforge.fluids.FluidStack,%20boolean)">drain</a></strong>(<a href="../../../net/minecraftforge/common/util/ForgeDirection.html" title="enum in net.minecraftforge.common.util">ForgeDirection</a> from, + <a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> resource, + boolean doDrain)</code> +<div class="block">Drains fluid out of internal tanks, distribution is left entirely to the IFluidHandler.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/TileFluidHandler.html#drain(net.minecraftforge.common.util.ForgeDirection,%20int,%20boolean)">drain</a></strong>(<a href="../../../net/minecraftforge/common/util/ForgeDirection.html" title="enum in net.minecraftforge.common.util">ForgeDirection</a> from, + int maxDrain, + boolean doDrain)</code> +<div class="block">Drains fluid out of internal tanks, distribution is left entirely to the IFluidHandler.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/TileFluidHandler.html#fill(net.minecraftforge.common.util.ForgeDirection,%20net.minecraftforge.fluids.FluidStack,%20boolean)">fill</a></strong>(<a href="../../../net/minecraftforge/common/util/ForgeDirection.html" title="enum in net.minecraftforge.common.util">ForgeDirection</a> from, + <a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> resource, + boolean doFill)</code> +<div class="block">Fills fluid into internal tanks, distribution is left entirely to the IFluidHandler.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraftforge/fluids/FluidTankInfo.html" title="class in net.minecraftforge.fluids">FluidTankInfo</a>[]</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/TileFluidHandler.html#getTankInfo(net.minecraftforge.common.util.ForgeDirection)">getTankInfo</a></strong>(<a href="../../../net/minecraftforge/common/util/ForgeDirection.html" title="enum in net.minecraftforge.common.util">ForgeDirection</a> from)</code> +<div class="block">Returns an array of objects which represent the internal tanks.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/TileFluidHandler.html#readFromNBT(net.minecraft.nbt.NBTTagCompound)">readFromNBT</a></strong>(<a href="../../../net/minecraft/nbt/NBTTagCompound.html" title="class in net.minecraft.nbt">NBTTagCompound</a> tag)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraftforge/fluids/TileFluidHandler.html#writeToNBT(net.minecraft.nbt.NBTTagCompound)">writeToNBT</a></strong>(<a href="../../../net/minecraft/nbt/NBTTagCompound.html" title="class in net.minecraft.nbt">NBTTagCompound</a> tag)</code> </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_net.minecraft.tileentity.TileEntity"> +<!-- --> +</a> +<h3>Methods inherited from class net.minecraft.tileentity.<a href="../../../net/minecraft/tileentity/TileEntity.html" title="class in net.minecraft.tileentity">TileEntity</a></h3> +<code><a href="../../../net/minecraft/tileentity/TileEntity.html#addMapping(java.lang.Class,%20java.lang.String)">addMapping</a>, <a href="../../../net/minecraft/tileentity/TileEntity.html#canUpdate()">canUpdate</a>, <a href="../../../net/minecraft/tileentity/TileEntity.html#createAndLoadEntity(net.minecraft.nbt.NBTTagCompound)">createAndLoadEntity</a>, <a href="../../../net/minecraft/tileentity/TileEntity.html#func_145828_a(net.minecraft.crash.CrashReportCategory)">func_145828_a</a>, <a href="../../../net/minecraft/tileentity/TileEntity.html#getBlockMetadata()">getBlockMetadata</a>, <a href="../../../net/minecraft/tileentity/TileEntity.html#getBlockType()">getBlockType</a>, <a href="../../../net/minecraft/tileentity/TileEntity.html#getDescriptionPacket()">getDescriptionPacket</a>, <a href="../../../net/minecraft/tileentity/TileEntity.html#getDistanceFrom(double,%20double,%20double)">getDistanceFrom</a>, <a href="../../../net/minecraft/tileentity/TileEntity.html#getMaxRenderDistanceSquared()">getMaxRenderDistanceSquared</a>, <a href="../../../net/minecraft/tileentity/TileEntity.html#getRenderBoundingBox()">getRenderBoundingBox</a>, <a href="../../../net/minecraft/tileentity/TileEntity.html#getWorldObj()">getWorldObj</a>, <a href="../../../net/minecraft/tileentity/TileEntity.html#hasWorldObj()">hasWorldObj</a>, <a href="../../../net/minecraft/tileentity/TileEntity.html#invalidate()">invalidate</a>, <a href="../../../net/minecraft/tileentity/TileEntity.html#isInvalid()">isInvalid</a>, <a href="../../../net/minecraft/tileentity/TileEntity.html#markDirty()">markDirty</a>, <a href="../../../net/minecraft/tileentity/TileEntity.html#onChunkUnload()">onChunkUnload</a>, <a href="../../../net/minecraft/tileentity/TileEntity.html#onDataPacket(net.minecraft.network.NetworkManager,%20net.minecraft.network.play.server.S35PacketUpdateTileEntity)">onDataPacket</a>, <a href="../../../net/minecraft/tileentity/TileEntity.html#receiveClientEvent(int,%20int)">receiveClientEvent</a>, <a href="../../../net/minecraft/tileentity/TileEntity.html#setWorldObj(net.minecraft.world.World)">setWorldObj</a>, <a href="../../../net/minecraft/tileentity/TileEntity.html#shouldRefresh(net.minecraft.block.Block,%20net.minecraft.block.Block,%20int,%20int,%20net.minecraft.world.World,%20int,%20int,%20int)">shouldRefresh</a>, <a href="../../../net/minecraft/tileentity/TileEntity.html#shouldRenderInPass(int)">shouldRenderInPass</a>, <a href="../../../net/minecraft/tileentity/TileEntity.html#updateContainingBlockInfo()">updateContainingBlockInfo</a>, <a href="../../../net/minecraft/tileentity/TileEntity.html#updateEntity()">updateEntity</a>, <a href="../../../net/minecraft/tileentity/TileEntity.html#validate()">validate</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>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="tank"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>tank</h4> +<pre>protected <a href="../../../net/minecraftforge/fluids/FluidTank.html" title="class in net.minecraftforge.fluids">FluidTank</a> tank</pre> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="TileFluidHandler()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>TileFluidHandler</h4> +<pre>public TileFluidHandler()</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="readFromNBT(net.minecraft.nbt.NBTTagCompound)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>readFromNBT</h4> +<pre>public void readFromNBT(<a href="../../../net/minecraft/nbt/NBTTagCompound.html" title="class in net.minecraft.nbt">NBTTagCompound</a> tag)</pre> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code><a href="../../../net/minecraft/tileentity/TileEntity.html#readFromNBT(net.minecraft.nbt.NBTTagCompound)">readFromNBT</a></code> in class <code><a href="../../../net/minecraft/tileentity/TileEntity.html" title="class in net.minecraft.tileentity">TileEntity</a></code></dd> +</dl> +</li> +</ul> +<a name="writeToNBT(net.minecraft.nbt.NBTTagCompound)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>writeToNBT</h4> +<pre>public void writeToNBT(<a href="../../../net/minecraft/nbt/NBTTagCompound.html" title="class in net.minecraft.nbt">NBTTagCompound</a> tag)</pre> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code><a href="../../../net/minecraft/tileentity/TileEntity.html#writeToNBT(net.minecraft.nbt.NBTTagCompound)">writeToNBT</a></code> in class <code><a href="../../../net/minecraft/tileentity/TileEntity.html" title="class in net.minecraft.tileentity">TileEntity</a></code></dd> +</dl> +</li> +</ul> +<a name="fill(net.minecraftforge.common.util.ForgeDirection, net.minecraftforge.fluids.FluidStack, boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>fill</h4> +<pre>public int fill(<a href="../../../net/minecraftforge/common/util/ForgeDirection.html" title="enum in net.minecraftforge.common.util">ForgeDirection</a> from, + <a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> resource, + boolean doFill)</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../net/minecraftforge/fluids/IFluidHandler.html#fill(net.minecraftforge.common.util.ForgeDirection,%20net.minecraftforge.fluids.FluidStack,%20boolean)">IFluidHandler</a></code></strong></div> +<div class="block">Fills fluid into internal tanks, distribution is left entirely to the IFluidHandler.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../net/minecraftforge/fluids/IFluidHandler.html#fill(net.minecraftforge.common.util.ForgeDirection,%20net.minecraftforge.fluids.FluidStack,%20boolean)">fill</a></code> in interface <code><a href="../../../net/minecraftforge/fluids/IFluidHandler.html" title="interface in net.minecraftforge.fluids">IFluidHandler</a></code></dd> +<dt><span class="strong">Parameters:</span></dt><dd><code>from</code> - Orientation the Fluid is pumped in from.</dd><dd><code>resource</code> - FluidStack representing the Fluid and maximum amount of fluid to be filled.</dd><dd><code>doFill</code> - If false, fill will only be simulated.</dd> +<dt><span class="strong">Returns:</span></dt><dd>Amount of resource that was (or would have been, if simulated) filled.</dd></dl> +</li> +</ul> +<a name="drain(net.minecraftforge.common.util.ForgeDirection, net.minecraftforge.fluids.FluidStack, boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>drain</h4> +<pre>public <a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> drain(<a href="../../../net/minecraftforge/common/util/ForgeDirection.html" title="enum in net.minecraftforge.common.util">ForgeDirection</a> from, + <a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> resource, + boolean doDrain)</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../net/minecraftforge/fluids/IFluidHandler.html#drain(net.minecraftforge.common.util.ForgeDirection,%20net.minecraftforge.fluids.FluidStack,%20boolean)">IFluidHandler</a></code></strong></div> +<div class="block">Drains fluid out of internal tanks, distribution is left entirely to the IFluidHandler.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../net/minecraftforge/fluids/IFluidHandler.html#drain(net.minecraftforge.common.util.ForgeDirection,%20net.minecraftforge.fluids.FluidStack,%20boolean)">drain</a></code> in interface <code><a href="../../../net/minecraftforge/fluids/IFluidHandler.html" title="interface in net.minecraftforge.fluids">IFluidHandler</a></code></dd> +<dt><span class="strong">Parameters:</span></dt><dd><code>from</code> - Orientation the Fluid is drained to.</dd><dd><code>resource</code> - FluidStack representing the Fluid and maximum amount of fluid to be drained.</dd><dd><code>doDrain</code> - If false, drain will only be simulated.</dd> +<dt><span class="strong">Returns:</span></dt><dd>FluidStack representing the Fluid and amount that was (or would have been, if + simulated) drained.</dd></dl> +</li> +</ul> +<a name="drain(net.minecraftforge.common.util.ForgeDirection, int, boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>drain</h4> +<pre>public <a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a> drain(<a href="../../../net/minecraftforge/common/util/ForgeDirection.html" title="enum in net.minecraftforge.common.util">ForgeDirection</a> from, + int maxDrain, + boolean doDrain)</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../net/minecraftforge/fluids/IFluidHandler.html#drain(net.minecraftforge.common.util.ForgeDirection,%20int,%20boolean)">IFluidHandler</a></code></strong></div> +<div class="block">Drains fluid out of internal tanks, distribution is left entirely to the IFluidHandler. + + This method is not Fluid-sensitive.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../net/minecraftforge/fluids/IFluidHandler.html#drain(net.minecraftforge.common.util.ForgeDirection,%20int,%20boolean)">drain</a></code> in interface <code><a href="../../../net/minecraftforge/fluids/IFluidHandler.html" title="interface in net.minecraftforge.fluids">IFluidHandler</a></code></dd> +<dt><span class="strong">Parameters:</span></dt><dd><code>from</code> - Orientation the fluid is drained to.</dd><dd><code>maxDrain</code> - Maximum amount of fluid to drain.</dd><dd><code>doDrain</code> - If false, drain will only be simulated.</dd> +<dt><span class="strong">Returns:</span></dt><dd>FluidStack representing the Fluid and amount that was (or would have been, if + simulated) drained.</dd></dl> +</li> +</ul> +<a name="canFill(net.minecraftforge.common.util.ForgeDirection, net.minecraftforge.fluids.Fluid)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>canFill</h4> +<pre>public boolean canFill(<a href="../../../net/minecraftforge/common/util/ForgeDirection.html" title="enum in net.minecraftforge.common.util">ForgeDirection</a> from, + <a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> fluid)</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../net/minecraftforge/fluids/IFluidHandler.html#canFill(net.minecraftforge.common.util.ForgeDirection,%20net.minecraftforge.fluids.Fluid)">IFluidHandler</a></code></strong></div> +<div class="block">Returns true if the given fluid can be inserted into the given direction. + + More formally, this should return true if fluid is able to enter from the given direction.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../net/minecraftforge/fluids/IFluidHandler.html#canFill(net.minecraftforge.common.util.ForgeDirection,%20net.minecraftforge.fluids.Fluid)">canFill</a></code> in interface <code><a href="../../../net/minecraftforge/fluids/IFluidHandler.html" title="interface in net.minecraftforge.fluids">IFluidHandler</a></code></dd> +</dl> +</li> +</ul> +<a name="canDrain(net.minecraftforge.common.util.ForgeDirection, net.minecraftforge.fluids.Fluid)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>canDrain</h4> +<pre>public boolean canDrain(<a href="../../../net/minecraftforge/common/util/ForgeDirection.html" title="enum in net.minecraftforge.common.util">ForgeDirection</a> from, + <a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a> fluid)</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../net/minecraftforge/fluids/IFluidHandler.html#canDrain(net.minecraftforge.common.util.ForgeDirection,%20net.minecraftforge.fluids.Fluid)">IFluidHandler</a></code></strong></div> +<div class="block">Returns true if the given fluid can be extracted from the given direction. + + More formally, this should return true if fluid is able to leave from the given direction.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../net/minecraftforge/fluids/IFluidHandler.html#canDrain(net.minecraftforge.common.util.ForgeDirection,%20net.minecraftforge.fluids.Fluid)">canDrain</a></code> in interface <code><a href="../../../net/minecraftforge/fluids/IFluidHandler.html" title="interface in net.minecraftforge.fluids">IFluidHandler</a></code></dd> +</dl> +</li> +</ul> +<a name="getTankInfo(net.minecraftforge.common.util.ForgeDirection)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>getTankInfo</h4> +<pre>public <a href="../../../net/minecraftforge/fluids/FluidTankInfo.html" title="class in net.minecraftforge.fluids">FluidTankInfo</a>[] getTankInfo(<a href="../../../net/minecraftforge/common/util/ForgeDirection.html" title="enum in net.minecraftforge.common.util">ForgeDirection</a> from)</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../net/minecraftforge/fluids/IFluidHandler.html#getTankInfo(net.minecraftforge.common.util.ForgeDirection)">IFluidHandler</a></code></strong></div> +<div class="block">Returns an array of objects which represent the internal tanks. These objects cannot be used + to manipulate the internal tanks. See <a href="../../../net/minecraftforge/fluids/FluidTankInfo.html" title="class in net.minecraftforge.fluids"><code>FluidTankInfo</code></a>.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../net/minecraftforge/fluids/IFluidHandler.html#getTankInfo(net.minecraftforge.common.util.ForgeDirection)">getTankInfo</a></code> in interface <code><a href="../../../net/minecraftforge/fluids/IFluidHandler.html" title="interface in net.minecraftforge.fluids">IFluidHandler</a></code></dd> +<dt><span class="strong">Parameters:</span></dt><dd><code>from</code> - Orientation determining which tanks should be queried.</dd> +<dt><span class="strong">Returns:</span></dt><dd>Info for the relevant internal tanks.</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/minecraftforge/fluids/RenderBlockFluid.html" title="class in net.minecraftforge.fluids"><span class="strong">Prev Class</span></a></li> +<li>Next Class</li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/TileFluidHandler.html" target="_top">Frames</a></li> +<li><a href="TileFluidHandler.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> diff --git a/javadoc/net/minecraftforge/fluids/package-frame.html b/javadoc/net/minecraftforge/fluids/package-frame.html new file mode 100644 index 0000000..a060527 --- /dev/null +++ b/javadoc/net/minecraftforge/fluids/package-frame.html @@ -0,0 +1,45 @@ +<!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:25 EST 2015 --> +<title>net.minecraftforge.fluids (Forge API)</title> +<meta name="date" content="2015-02-05"> +<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> +</head> +<body> +<h1 class="bar"><a href="../../../net/minecraftforge/fluids/package-summary.html" target="classFrame">net.minecraftforge.fluids</a></h1> +<div class="indexContainer"> +<h2 title="Interfaces">Interfaces</h2> +<ul title="Interfaces"> +<li><a href="IFluidBlock.html" title="interface in net.minecraftforge.fluids" target="classFrame"><i>IFluidBlock</i></a></li> +<li><a href="IFluidContainerItem.html" title="interface in net.minecraftforge.fluids" target="classFrame"><i>IFluidContainerItem</i></a></li> +<li><a href="IFluidHandler.html" title="interface in net.minecraftforge.fluids" target="classFrame"><i>IFluidHandler</i></a></li> +<li><a href="IFluidTank.html" title="interface in net.minecraftforge.fluids" target="classFrame"><i>IFluidTank</i></a></li> +</ul> +<h2 title="Classes">Classes</h2> +<ul title="Classes"> +<li><a href="BlockFluidBase.html" title="class in net.minecraftforge.fluids" target="classFrame">BlockFluidBase</a></li> +<li><a href="BlockFluidClassic.html" title="class in net.minecraftforge.fluids" target="classFrame">BlockFluidClassic</a></li> +<li><a href="BlockFluidFinite.html" title="class in net.minecraftforge.fluids" target="classFrame">BlockFluidFinite</a></li> +<li><a href="Fluid.html" title="class in net.minecraftforge.fluids" target="classFrame">Fluid</a></li> +<li><a href="FluidContainerRegistry.html" title="class in net.minecraftforge.fluids" target="classFrame">FluidContainerRegistry</a></li> +<li><a href="FluidContainerRegistry.FluidContainerData.html" title="class in net.minecraftforge.fluids" target="classFrame">FluidContainerRegistry.FluidContainerData</a></li> +<li><a href="FluidContainerRegistry.FluidContainerRegisterEvent.html" title="class in net.minecraftforge.fluids" target="classFrame">FluidContainerRegistry.FluidContainerRegisterEvent</a></li> +<li><a href="FluidEvent.html" title="class in net.minecraftforge.fluids" target="classFrame">FluidEvent</a></li> +<li><a href="FluidEvent.FluidDrainingEvent.html" title="class in net.minecraftforge.fluids" target="classFrame">FluidEvent.FluidDrainingEvent</a></li> +<li><a href="FluidEvent.FluidFillingEvent.html" title="class in net.minecraftforge.fluids" target="classFrame">FluidEvent.FluidFillingEvent</a></li> +<li><a href="FluidEvent.FluidMotionEvent.html" title="class in net.minecraftforge.fluids" target="classFrame">FluidEvent.FluidMotionEvent</a></li> +<li><a href="FluidEvent.FluidSpilledEvent.html" title="class in net.minecraftforge.fluids" target="classFrame">FluidEvent.FluidSpilledEvent</a></li> +<li><a href="FluidRegistry.html" title="class in net.minecraftforge.fluids" target="classFrame">FluidRegistry</a></li> +<li><a href="FluidRegistry.FluidRegisterEvent.html" title="class in net.minecraftforge.fluids" target="classFrame">FluidRegistry.FluidRegisterEvent</a></li> +<li><a href="FluidStack.html" title="class in net.minecraftforge.fluids" target="classFrame">FluidStack</a></li> +<li><a href="FluidTank.html" title="class in net.minecraftforge.fluids" target="classFrame">FluidTank</a></li> +<li><a href="FluidTankInfo.html" title="class in net.minecraftforge.fluids" target="classFrame">FluidTankInfo</a></li> +<li><a href="ItemFluidContainer.html" title="class in net.minecraftforge.fluids" target="classFrame">ItemFluidContainer</a></li> +<li><a href="RenderBlockFluid.html" title="class in net.minecraftforge.fluids" target="classFrame">RenderBlockFluid</a></li> +<li><a href="TileFluidHandler.html" title="class in net.minecraftforge.fluids" target="classFrame">TileFluidHandler</a></li> +</ul> +</div> +</body> +</html> diff --git a/javadoc/net/minecraftforge/fluids/package-summary.html b/javadoc/net/minecraftforge/fluids/package-summary.html new file mode 100644 index 0000000..cbefdef --- /dev/null +++ b/javadoc/net/minecraftforge/fluids/package-summary.html @@ -0,0 +1,284 @@ +<!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:25 EST 2015 --> +<title>net.minecraftforge.fluids (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="net.minecraftforge.fluids (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 class="navBarCell1Rev">Package</li> +<li>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/minecraftforge/event/world/package-summary.html">Prev Package</a></li> +<li><a href="../../../net/minecraftforge/oredict/package-summary.html">Next Package</a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/package-summary.html" target="_top">Frames</a></li> +<li><a href="package-summary.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> +<a name="skip-navbar_top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<div class="header"> +<h1 title="Package" class="title">Package net.minecraftforge.fluids</h1> +</div> +<div class="contentContainer"> +<ul class="blockList"> +<li class="blockList"> +<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Interface Summary table, listing interfaces, and an explanation"> +<caption><span>Interface Summary</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Interface</th> +<th class="colLast" scope="col">Description</th> +</tr> +<tbody> +<tr class="altColor"> +<td class="colFirst"><a href="../../../net/minecraftforge/fluids/IFluidBlock.html" title="interface in net.minecraftforge.fluids">IFluidBlock</a></td> +<td class="colLast"> +<div class="block">Implement this interface on Block classes which represent world-placeable Fluids.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><a href="../../../net/minecraftforge/fluids/IFluidContainerItem.html" title="interface in net.minecraftforge.fluids">IFluidContainerItem</a></td> +<td class="colLast"> +<div class="block">Implement this interface on Item classes that support external manipulation of their internal + fluid storage.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><a href="../../../net/minecraftforge/fluids/IFluidHandler.html" title="interface in net.minecraftforge.fluids">IFluidHandler</a></td> +<td class="colLast"> +<div class="block">Implement this interface on TileEntities which should handle fluids, generally storing them in + one or more internal <a href="../../../net/minecraftforge/fluids/IFluidTank.html" title="interface in net.minecraftforge.fluids"><code>IFluidTank</code></a> objects.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><a href="../../../net/minecraftforge/fluids/IFluidTank.html" title="interface in net.minecraftforge.fluids">IFluidTank</a></td> +<td class="colLast"> +<div class="block">A tank is the unit of interaction with Fluid inventories.</div> +</td> +</tr> +</tbody> +</table> +</li> +<li class="blockList"> +<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation"> +<caption><span>Class Summary</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Class</th> +<th class="colLast" scope="col">Description</th> +</tr> +<tbody> +<tr class="altColor"> +<td class="colFirst"><a href="../../../net/minecraftforge/fluids/BlockFluidBase.html" title="class in net.minecraftforge.fluids">BlockFluidBase</a></td> +<td class="colLast"> +<div class="block">This is a base implementation for Fluid blocks.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><a href="../../../net/minecraftforge/fluids/BlockFluidClassic.html" title="class in net.minecraftforge.fluids">BlockFluidClassic</a></td> +<td class="colLast"> +<div class="block">This is a fluid block implementation which emulates vanilla Minecraft fluid behavior.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><a href="../../../net/minecraftforge/fluids/BlockFluidFinite.html" title="class in net.minecraftforge.fluids">BlockFluidFinite</a></td> +<td class="colLast"> +<div class="block">This is a cellular-automata based finite fluid block implementation.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids">Fluid</a></td> +<td class="colLast"> +<div class="block">Minecraft Forge Fluid Implementation + + This class is a fluid (liquid or gas) equivalent to "Item." It describes the nature of a fluid + and contains its general properties.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><a href="../../../net/minecraftforge/fluids/FluidContainerRegistry.html" title="class in net.minecraftforge.fluids">FluidContainerRegistry</a></td> +<td class="colLast"> +<div class="block">Register simple items that contain fluids here.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><a href="../../../net/minecraftforge/fluids/FluidContainerRegistry.FluidContainerData.html" title="class in net.minecraftforge.fluids">FluidContainerRegistry.FluidContainerData</a></td> +<td class="colLast"> +<div class="block">Wrapper class for the registry entries.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><a href="../../../net/minecraftforge/fluids/FluidContainerRegistry.FluidContainerRegisterEvent.html" title="class in net.minecraftforge.fluids">FluidContainerRegistry.FluidContainerRegisterEvent</a></td> +<td class="colLast"> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><a href="../../../net/minecraftforge/fluids/FluidEvent.html" title="class in net.minecraftforge.fluids">FluidEvent</a></td> +<td class="colLast"> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><a href="../../../net/minecraftforge/fluids/FluidEvent.FluidDrainingEvent.html" title="class in net.minecraftforge.fluids">FluidEvent.FluidDrainingEvent</a></td> +<td class="colLast"> +<div class="block">Mods should fire this event when a fluid is <a href="../../../net/minecraftforge/fluids/IFluidTank.html#drain(int,%20boolean)"><code>IFluidTank.drain(int, boolean)</code></a> from their + tank.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><a href="../../../net/minecraftforge/fluids/FluidEvent.FluidFillingEvent.html" title="class in net.minecraftforge.fluids">FluidEvent.FluidFillingEvent</a></td> +<td class="colLast"> +<div class="block">Mods should fire this event when a fluid is <a href="../../../net/minecraftforge/fluids/IFluidTank.html#fill(net.minecraftforge.fluids.FluidStack,%20boolean)"><code>IFluidTank.fill(FluidStack, boolean)</code></a> + their tank implementation.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><a href="../../../net/minecraftforge/fluids/FluidEvent.FluidMotionEvent.html" title="class in net.minecraftforge.fluids">FluidEvent.FluidMotionEvent</a></td> +<td class="colLast"> +<div class="block">Mods should fire this event when they move fluids around.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><a href="../../../net/minecraftforge/fluids/FluidEvent.FluidSpilledEvent.html" title="class in net.minecraftforge.fluids">FluidEvent.FluidSpilledEvent</a></td> +<td class="colLast"> +<div class="block">Mods should fire this event when a fluid "spills", for example, if a block containing fluid + is broken.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><a href="../../../net/minecraftforge/fluids/FluidRegistry.html" title="class in net.minecraftforge.fluids">FluidRegistry</a></td> +<td class="colLast"> +<div class="block">Handles Fluid registrations.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><a href="../../../net/minecraftforge/fluids/FluidRegistry.FluidRegisterEvent.html" title="class in net.minecraftforge.fluids">FluidRegistry.FluidRegisterEvent</a></td> +<td class="colLast"> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids">FluidStack</a></td> +<td class="colLast"> +<div class="block">ItemStack substitute for Fluids.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><a href="../../../net/minecraftforge/fluids/FluidTank.html" title="class in net.minecraftforge.fluids">FluidTank</a></td> +<td class="colLast"> +<div class="block">Reference implementation of <a href="../../../net/minecraftforge/fluids/IFluidTank.html" title="interface in net.minecraftforge.fluids"><code>IFluidTank</code></a>.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><a href="../../../net/minecraftforge/fluids/FluidTankInfo.html" title="class in net.minecraftforge.fluids">FluidTankInfo</a></td> +<td class="colLast"> +<div class="block">Wrapper class used to encapsulate information about an IFluidTank.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><a href="../../../net/minecraftforge/fluids/ItemFluidContainer.html" title="class in net.minecraftforge.fluids">ItemFluidContainer</a></td> +<td class="colLast"> +<div class="block">Reference implementation of <a href="../../../net/minecraftforge/fluids/IFluidContainerItem.html" title="interface in net.minecraftforge.fluids"><code>IFluidContainerItem</code></a>.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><a href="../../../net/minecraftforge/fluids/RenderBlockFluid.html" title="class in net.minecraftforge.fluids">RenderBlockFluid</a></td> +<td class="colLast"> +<div class="block">Default renderer for Forge fluid blocks.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><a href="../../../net/minecraftforge/fluids/TileFluidHandler.html" title="class in net.minecraftforge.fluids">TileFluidHandler</a></td> +<td class="colLast"> +<div class="block">Reference Tile Entity implementation of <a href="../../../net/minecraftforge/fluids/IFluidHandler.html" title="interface in net.minecraftforge.fluids"><code>IFluidHandler</code></a>.</div> +</td> +</tr> +</tbody> +</table> +</li> +</ul> +</div> +<!-- ======= 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 class="navBarCell1Rev">Package</li> +<li>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/minecraftforge/event/world/package-summary.html">Prev Package</a></li> +<li><a href="../../../net/minecraftforge/oredict/package-summary.html">Next Package</a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/package-summary.html" target="_top">Frames</a></li> +<li><a href="package-summary.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> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/javadoc/net/minecraftforge/fluids/package-tree.html b/javadoc/net/minecraftforge/fluids/package-tree.html new file mode 100644 index 0000000..0313551 --- /dev/null +++ b/javadoc/net/minecraftforge/fluids/package-tree.html @@ -0,0 +1,174 @@ +<!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:25 EST 2015 --> +<title>net.minecraftforge.fluids Class Hierarchy (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="net.minecraftforge.fluids Class Hierarchy (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</li> +<li class="navBarCell1Rev">Tree</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/minecraftforge/event/world/package-tree.html">Prev</a></li> +<li><a href="../../../net/minecraftforge/oredict/package-tree.html">Next</a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/package-tree.html" target="_top">Frames</a></li> +<li><a href="package-tree.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> +<a name="skip-navbar_top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<div class="header"> +<h1 class="title">Hierarchy For Package net.minecraftforge.fluids</h1> +<span class="strong">Package Hierarchies:</span> +<ul class="horizontal"> +<li><a href="../../../overview-tree.html">All Packages</a></li> +</ul> +</div> +<div class="contentContainer"> +<h2 title="Class Hierarchy">Class Hierarchy</h2> +<ul> +<li type="circle">java.lang.Object +<ul> +<li type="circle">net.minecraft.block.<a href="../../../net/minecraft/block/Block.html" title="class in net.minecraft.block"><span class="strong">Block</span></a> +<ul> +<li type="circle">net.minecraftforge.fluids.<a href="../../../net/minecraftforge/fluids/BlockFluidBase.html" title="class in net.minecraftforge.fluids"><span class="strong">BlockFluidBase</span></a> (implements net.minecraftforge.fluids.<a href="../../../net/minecraftforge/fluids/IFluidBlock.html" title="interface in net.minecraftforge.fluids">IFluidBlock</a>) +<ul> +<li type="circle">net.minecraftforge.fluids.<a href="../../../net/minecraftforge/fluids/BlockFluidClassic.html" title="class in net.minecraftforge.fluids"><span class="strong">BlockFluidClassic</span></a></li> +<li type="circle">net.minecraftforge.fluids.<a href="../../../net/minecraftforge/fluids/BlockFluidFinite.html" title="class in net.minecraftforge.fluids"><span class="strong">BlockFluidFinite</span></a></li> +</ul> +</li> +</ul> +</li> +<li type="circle">cpw.mods.fml.common.eventhandler.<a href="../../../cpw/mods/fml/common/eventhandler/Event.html" title="class in cpw.mods.fml.common.eventhandler"><span class="strong">Event</span></a> +<ul> +<li type="circle">net.minecraftforge.fluids.<a href="../../../net/minecraftforge/fluids/FluidContainerRegistry.FluidContainerRegisterEvent.html" title="class in net.minecraftforge.fluids"><span class="strong">FluidContainerRegistry.FluidContainerRegisterEvent</span></a></li> +<li type="circle">net.minecraftforge.fluids.<a href="../../../net/minecraftforge/fluids/FluidEvent.html" title="class in net.minecraftforge.fluids"><span class="strong">FluidEvent</span></a> +<ul> +<li type="circle">net.minecraftforge.fluids.<a href="../../../net/minecraftforge/fluids/FluidEvent.FluidDrainingEvent.html" title="class in net.minecraftforge.fluids"><span class="strong">FluidEvent.FluidDrainingEvent</span></a></li> +<li type="circle">net.minecraftforge.fluids.<a href="../../../net/minecraftforge/fluids/FluidEvent.FluidFillingEvent.html" title="class in net.minecraftforge.fluids"><span class="strong">FluidEvent.FluidFillingEvent</span></a></li> +<li type="circle">net.minecraftforge.fluids.<a href="../../../net/minecraftforge/fluids/FluidEvent.FluidMotionEvent.html" title="class in net.minecraftforge.fluids"><span class="strong">FluidEvent.FluidMotionEvent</span></a></li> +<li type="circle">net.minecraftforge.fluids.<a href="../../../net/minecraftforge/fluids/FluidEvent.FluidSpilledEvent.html" title="class in net.minecraftforge.fluids"><span class="strong">FluidEvent.FluidSpilledEvent</span></a></li> +</ul> +</li> +<li type="circle">net.minecraftforge.fluids.<a href="../../../net/minecraftforge/fluids/FluidRegistry.FluidRegisterEvent.html" title="class in net.minecraftforge.fluids"><span class="strong">FluidRegistry.FluidRegisterEvent</span></a></li> +</ul> +</li> +<li type="circle">net.minecraftforge.fluids.<a href="../../../net/minecraftforge/fluids/Fluid.html" title="class in net.minecraftforge.fluids"><span class="strong">Fluid</span></a></li> +<li type="circle">net.minecraftforge.fluids.<a href="../../../net/minecraftforge/fluids/FluidContainerRegistry.html" title="class in net.minecraftforge.fluids"><span class="strong">FluidContainerRegistry</span></a></li> +<li type="circle">net.minecraftforge.fluids.<a href="../../../net/minecraftforge/fluids/FluidContainerRegistry.FluidContainerData.html" title="class in net.minecraftforge.fluids"><span class="strong">FluidContainerRegistry.FluidContainerData</span></a></li> +<li type="circle">net.minecraftforge.fluids.<a href="../../../net/minecraftforge/fluids/FluidRegistry.html" title="class in net.minecraftforge.fluids"><span class="strong">FluidRegistry</span></a></li> +<li type="circle">net.minecraftforge.fluids.<a href="../../../net/minecraftforge/fluids/FluidStack.html" title="class in net.minecraftforge.fluids"><span class="strong">FluidStack</span></a></li> +<li type="circle">net.minecraftforge.fluids.<a href="../../../net/minecraftforge/fluids/FluidTank.html" title="class in net.minecraftforge.fluids"><span class="strong">FluidTank</span></a> (implements net.minecraftforge.fluids.<a href="../../../net/minecraftforge/fluids/IFluidTank.html" title="interface in net.minecraftforge.fluids">IFluidTank</a>)</li> +<li type="circle">net.minecraftforge.fluids.<a href="../../../net/minecraftforge/fluids/FluidTankInfo.html" title="class in net.minecraftforge.fluids"><span class="strong">FluidTankInfo</span></a></li> +<li type="circle">net.minecraft.item.<a href="../../../net/minecraft/item/Item.html" title="class in net.minecraft.item"><span class="strong">Item</span></a> +<ul> +<li type="circle">net.minecraftforge.fluids.<a href="../../../net/minecraftforge/fluids/ItemFluidContainer.html" title="class in net.minecraftforge.fluids"><span class="strong">ItemFluidContainer</span></a> (implements net.minecraftforge.fluids.<a href="../../../net/minecraftforge/fluids/IFluidContainerItem.html" title="interface in net.minecraftforge.fluids">IFluidContainerItem</a>)</li> +</ul> +</li> +<li type="circle">net.minecraftforge.fluids.<a href="../../../net/minecraftforge/fluids/RenderBlockFluid.html" title="class in net.minecraftforge.fluids"><span class="strong">RenderBlockFluid</span></a> (implements cpw.mods.fml.client.registry.<a href="../../../cpw/mods/fml/client/registry/ISimpleBlockRenderingHandler.html" title="interface in cpw.mods.fml.client.registry">ISimpleBlockRenderingHandler</a>)</li> +<li type="circle">net.minecraft.tileentity.<a href="../../../net/minecraft/tileentity/TileEntity.html" title="class in net.minecraft.tileentity"><span class="strong">TileEntity</span></a> +<ul> +<li type="circle">net.minecraftforge.fluids.<a href="../../../net/minecraftforge/fluids/TileFluidHandler.html" title="class in net.minecraftforge.fluids"><span class="strong">TileFluidHandler</span></a> (implements net.minecraftforge.fluids.<a href="../../../net/minecraftforge/fluids/IFluidHandler.html" title="interface in net.minecraftforge.fluids">IFluidHandler</a>)</li> +</ul> +</li> +</ul> +</li> +</ul> +<h2 title="Interface Hierarchy">Interface Hierarchy</h2> +<ul> +<li type="circle">net.minecraftforge.fluids.<a href="../../../net/minecraftforge/fluids/IFluidBlock.html" title="interface in net.minecraftforge.fluids"><span class="strong">IFluidBlock</span></a></li> +<li type="circle">net.minecraftforge.fluids.<a href="../../../net/minecraftforge/fluids/IFluidContainerItem.html" title="interface in net.minecraftforge.fluids"><span class="strong">IFluidContainerItem</span></a></li> +<li type="circle">net.minecraftforge.fluids.<a href="../../../net/minecraftforge/fluids/IFluidHandler.html" title="interface in net.minecraftforge.fluids"><span class="strong">IFluidHandler</span></a></li> +<li type="circle">net.minecraftforge.fluids.<a href="../../../net/minecraftforge/fluids/IFluidTank.html" title="interface in net.minecraftforge.fluids"><span class="strong">IFluidTank</span></a></li> +</ul> +</div> +<!-- ======= 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</li> +<li class="navBarCell1Rev">Tree</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/minecraftforge/event/world/package-tree.html">Prev</a></li> +<li><a href="../../../net/minecraftforge/oredict/package-tree.html">Next</a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraftforge/fluids/package-tree.html" target="_top">Frames</a></li> +<li><a href="package-tree.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> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> |
