Mekanism-tilera-Edition/common/buildcraft/api/filler/IFillerPattern.java

30 lines
863 B
Java
Raw Normal View History

2013-04-13 16:35:13 +02:00
package buildcraft.api.filler;
import buildcraft.api.core.IBox;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
2013-08-08 19:10:11 +02:00
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.Icon;
2013-12-26 21:00:08 +01:00
import net.minecraftforge.common.ForgeDirection;
2013-04-13 16:35:13 +02:00
public interface IFillerPattern {
2013-12-26 21:00:08 +01:00
public String getUniqueTag();
2013-04-13 16:35:13 +02:00
2013-12-26 21:00:08 +01:00
/**
* Creates the object that does the pattern iteration. This object may be
* state-full and will be used until the pattern is done or changes.
*
* @param tile the Filler
* @param box the area to fill
* @param orientation not currently used, but may be in the future (the filler needs some orientation code)
* @return
*/
public IPatternIterator createPatternIterator(TileEntity tile, IBox box, ForgeDirection orientation);
2013-04-13 16:35:13 +02:00
@SideOnly(Side.CLIENT)
2013-12-26 21:00:08 +01:00
public Icon getIcon();
2013-04-13 16:35:13 +02:00
2013-12-26 21:00:08 +01:00
public String getDisplayName();
2013-04-13 16:35:13 +02:00
}