Fix formatting

This commit is contained in:
cpw committed 2015-04-05 22:30:39 -04:00
1 parent 7506a5b7ad
commit defaddecec
5 files changed
+55 -55

No files matched your search

@@ -20,16 +20,16 @@ import net.minecraftforge.common.MinecraftForge;
/**
* Register simple items that contain fluids here. Useful for buckets, bottles, and things that have
* ID/metadata mappings.
*
*
* For more complex items, use {@link IFluidContainerItem} instead.
*
*
* @author King Lemming
*
*
*/
public abstract class FluidContainerRegistry
{
// Holder object that implements HashCode for an ItemStack,
// the local maps are not guaranteed to have the same internal generic structure,
// Holder object that implements HashCode for an ItemStack,
// the local maps are not guaranteed to have the same internal generic structure,
// but the external interface for checking ItemStacks will still exist.
private static class ContainerKey
{
@@ -89,7 +89,7 @@ public abstract class FluidContainerRegistry
/**
* Register a new fluid containing item.
*
*
* @param stack
* FluidStack containing the type and amount of the fluid stored in the item.
* @param filledContainer
@@ -106,7 +106,7 @@ public abstract class FluidContainerRegistry
/**
* Register a new fluid containing item. The item is assumed to hold 1000 mB of fluid. Also
* registers the Fluid if possible.
*
*
* @param fluid
* Fluid type that is stored in the item.
* @param filledContainer
@@ -126,7 +126,7 @@ public abstract class FluidContainerRegistry
/**
* Register a new fluid containing item that does not have an empty container.
*
*
* @param stack
* FluidStack containing the type and amount of the fluid stored in the item.
* @param filledContainer
@@ -141,7 +141,7 @@ public abstract class FluidContainerRegistry
/**
* 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.
*
*
* @param fluid
* Fluid type that is stored in the item.
* @param filledContainer
@@ -159,7 +159,7 @@ public abstract class FluidContainerRegistry
/**
* Register a new fluid containing item.
*
*
* @param data
* See {@link FluidContainerData}.
* @return True if container was successfully registered; false if it already is.
@@ -184,7 +184,7 @@ public abstract class FluidContainerRegistry
/**
* Determines the fluid type and amount inside a container.
*
*
* @param container
* The fluid container.
* @return FluidStack representing stored fluid.
@@ -202,9 +202,9 @@ public abstract class FluidContainerRegistry
/**
* Attempts to fill an empty container with a fluid.
*
*
* NOTE: Returns null on fail, NOT the empty container.
*
*
* @param fluid
* FluidStack containing the type and amount of fluid to fill.
* @param container
@@ -228,7 +228,7 @@ public abstract class FluidContainerRegistry
/**
* Attempts to empty a full container.
*
*
* @param container
* ItemStack representing the full container.
* @return Empty container if successful, otherwise null.
@@ -251,7 +251,7 @@ public abstract class FluidContainerRegistry
/**
* Determines the capacity of a full container.
*
*
* @param container
* The full container.
* @return The containers capacity, or 0 if the ItemStack does not represent
@@ -264,7 +264,7 @@ public abstract class FluidContainerRegistry
/**
* Determines the capacity of a container.
*
*
* @param fluid
* FluidStack containing the type of fluid the capacity should be
* determined for (ignored for full containers).