mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 06:42:56 +00:00
Move the directory structure around to a more conventional one and start out on the 1.7 update.
3797 errors. We have a long way to go.
This commit is contained in:
1 parent
3a0de87a09
commit
ab47724473
1245 files changed
+1764
-5953
No files matched your search
@@ -0,0 +1,32 @@
|
||||
package mekanism.common;
|
||||
|
||||
import net.minecraftforge.fluids.FluidStack;
|
||||
|
||||
/**
|
||||
* Internal interface used in blocks and items that are capable of storing sustained tanks.
|
||||
* @author AidanBrady
|
||||
*
|
||||
*/
|
||||
public interface ISustainedTank
|
||||
{
|
||||
/**
|
||||
* Sets the tank tag list to a new value.
|
||||
* @param nbtTags - NBTTagList value to set
|
||||
* @param data - ItemStack parameter if using on item
|
||||
*/
|
||||
public void setFluidStack(FluidStack fluidStack, Object... data);
|
||||
|
||||
/**
|
||||
* Gets the tank tag list from an item or block.
|
||||
* @param data - ItemStack parameter if using on item
|
||||
* @return inventory tag list
|
||||
*/
|
||||
public FluidStack getFluidStack(Object... data);
|
||||
|
||||
/**
|
||||
* Whether or not this block or item has an internal tank.
|
||||
* @param data - ItemStack parameter if using on item
|
||||
* @return if the block or item has an internal tank
|
||||
*/
|
||||
public boolean hasTank(Object... data);
|
||||
}
|
||||
Reference in new issue
Block a user