mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 22:34:21 +00:00
Fix some JavaDoc warnings
This commit is contained in:
1 parent
babbe59cab
commit
9fc52c6016
24 files changed
+50
-69
No files matched your search
@@ -299,10 +299,9 @@ public class Coord4D
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether or not the defined side of this Coord4D is visible.
|
||||
* @param side - side to check
|
||||
* @param world - world this Coord4D is in
|
||||
* @return
|
||||
* @return Whether or not the defined side of this Coord4D is visible.
|
||||
*/
|
||||
public boolean sideVisible(EnumFacing side, IBlockAccess world)
|
||||
{
|
||||
|
||||
@@ -102,7 +102,7 @@ public class Pos3D extends Vec3d
|
||||
|
||||
/**
|
||||
* Creates a new Pos3D from the motion of an entity.
|
||||
* @param entity
|
||||
* @param entity Entitiy to get the motion from
|
||||
* @return Pos3D representing the motion of the given entity
|
||||
*/
|
||||
public static Pos3D fromMotion(Entity entity)
|
||||
|
||||
@@ -142,7 +142,7 @@ public class Gas
|
||||
|
||||
/**
|
||||
* Sets this gas's icon.
|
||||
* @param i - IIcon to associate with this Gas
|
||||
* @param map - IIcon to associate with this Gas
|
||||
* @return this Gas object
|
||||
*/
|
||||
public Gas registerIcon(TextureMap map)
|
||||
|
||||
@@ -147,7 +147,7 @@ public class GasTank
|
||||
|
||||
/**
|
||||
* Gets the amount of gas needed by this GasTank.
|
||||
* @return
|
||||
* @return Amount of gas needed
|
||||
*/
|
||||
public int getNeeded()
|
||||
{
|
||||
|
||||
@@ -11,15 +11,14 @@ public interface IGasItem
|
||||
{
|
||||
/**
|
||||
* Gets the rate of transfer this item can handle.
|
||||
* @return
|
||||
* @return The transfer rate of what the item can handle.
|
||||
*/
|
||||
int getRate(ItemStack itemstack);
|
||||
|
||||
/**
|
||||
* Adds a defined amount of a certain gas to an item.
|
||||
* @param itemstack - the itemstack to add gas to
|
||||
* @param type - the type of gas to add
|
||||
* @param amount - the amount of gas to add
|
||||
* @param stack - the type and amount of gas to add
|
||||
* @return the gas that was accepted by the item
|
||||
*/
|
||||
int addGas(ItemStack itemstack, GasStack stack);
|
||||
@@ -27,7 +26,6 @@ public interface IGasItem
|
||||
/**
|
||||
* Removes the defined amount of a certain gas from the item.
|
||||
* @param itemstack - the itemstack to remove gas from
|
||||
* @param type - the type of gas to remove
|
||||
* @param amount - the amount of gas to remove
|
||||
* @return the gas that was removed by the item
|
||||
*/
|
||||
@@ -51,24 +49,21 @@ public interface IGasItem
|
||||
|
||||
/**
|
||||
* Get the gas of a declared type.
|
||||
* @param type - type of gas
|
||||
* @param data - ItemStack parameter if necessary
|
||||
* @param itemstack - ItemStack parameter
|
||||
* @return gas stored
|
||||
*/
|
||||
GasStack getGas(ItemStack itemstack);
|
||||
|
||||
/**
|
||||
* Set the gas of a declared type to a new amount;
|
||||
* @param type - type of gas
|
||||
* @param data - ItemStack parameter if necessary
|
||||
* @param amount - amount to store
|
||||
* @param itemstack - ItemStack parameter
|
||||
* @param stack - the type and amount of gas to add
|
||||
*/
|
||||
void setGas(ItemStack itemstack, GasStack stack);
|
||||
|
||||
/**
|
||||
* Gets the maximum amount of gas this tile entity can store.
|
||||
* @param type - type of gas
|
||||
* @param data - ItemStack parameter if necessary
|
||||
* @param itemstack - ItemStack parameter
|
||||
* @return maximum gas
|
||||
*/
|
||||
int getMaxGas(ItemStack itemstack);
|
||||
|
||||
@@ -20,7 +20,7 @@ public class InfuseRegistry
|
||||
|
||||
/**
|
||||
* Registers an InfuseType into the registry. Call this in PreInit!
|
||||
* @param infuse
|
||||
* @param infuse InfuseType to register
|
||||
*/
|
||||
public static void registerInfuseType(InfuseType infuse)
|
||||
{
|
||||
|
||||
@@ -307,7 +307,7 @@ public abstract class DynamicNetwork<A, N extends DynamicNetwork<A, N>> implemen
|
||||
|
||||
/**
|
||||
* Override this if things can have variable capacity along the network.
|
||||
* @return An 'average' value of capacity. Calculate it how you will.
|
||||
* An 'average' value of capacity. Calculate it how you will.
|
||||
*/
|
||||
protected synchronized void updateMeanCapacity()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user