package cofh.api.tileentity;
import java.util.List;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.util.IChatComponent;
import net.minecraftforge.common.util.ForgeDirection;
/**
* Implement this interface on Tile Entities which can provide information about themselves.
*
* @author King Lemming
*
*/
public interface ITileInfo {
/**
* This function appends information to a list provided to it.
*
* @param info
* The list that the information should be appended to.
* @param side
* The side of the block that is being queried.
* @param player
* Player doing the querying - this can be NULL.
* @param debug
* If true, the tile should return "debug" information.
*/
void getTileInfo(List<IChatComponent> info, ForgeDirection side, EntityPlayer player, boolean debug);
}